- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QKeySequence>
Encapsulates a key sequence as used by shortcuts
Java wrapper for Qt's class QKeySequence
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QKeySequence::SequenceFormatstatic enum
Java wrapper for Qt enum QKeySequence::SequenceMatchstatic enum
Java wrapper for Qt enum QKeySequence::StandardKeyNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQKeySequence
(int k1) Overloaded constructor forQKeySequence(int, int, int, int)
QKeySequence
(int k1, int k2) Overloaded constructor forQKeySequence(int, int, int, int)
QKeySequence
(int k1, int k2, int k3) Overloaded constructor forQKeySequence(int, int, int, int)
withk4 = 0
.QKeySequence
(int k1, int k2, int k3, int k4) QKeySequence
(QKeyCombination k1, QKeyCombination k2, QKeyCombination k3) Overloaded constructor forQKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(QKeyCombination k1, QKeyCombination k2, QKeyCombination k3, QKeyCombination k4) QKeySequence
(String key) Overloaded constructor forQKeySequence(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.NativeText
.QKeySequence
(String key, QKeySequence.SequenceFormat format) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QKeySequence other) final QKeyCombination
at
(int i) clone()
int
compareTo
(QKeySequence other) final int
count()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QKeySequence
fromString
(String str) Overloaded function forfromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.static QKeySequence
fromString
(String str, QKeySequence.SequenceFormat format) final QKeyCombination
get
(int i) int
hashCode()
final boolean
final boolean
isEmpty()
static QList<QKeySequence>
static QList<QKeySequence>
listFromString
(String str) Overloaded function forlistFromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.static QList<QKeySequence>
listFromString
(String str, QKeySequence.SequenceFormat format) static String
listToString
(Collection<? extends QKeySequence> list) Overloaded function forlistToString(java.util.Collection, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.static String
listToString
(Collection<? extends QKeySequence> list, QKeySequence.SequenceFormat format) matches
(QKeySequence seq) static QKeySequence
void
readFrom
(QDataStream out) final void
swap
(QKeySequence other) final String
toString()
Overloaded function fortoString(io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.final String
toString
(QKeySequence.SequenceFormat format) void
writeTo
(QDataStream in) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QKeySequence
public QKeySequence() -
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
. -
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
with:
k3 = io.qt.gui.QKeyCombination.fromCombined(0)
k4 = io.qt.gui.QKeyCombination.fromCombined(0)
-
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
with:
k2 = io.qt.gui.QKeyCombination.fromCombined(0)
k3 = io.qt.gui.QKeyCombination.fromCombined(0)
k4 = io.qt.gui.QKeyCombination.fromCombined(0)
-
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
Overloaded constructor for
QKeySequence(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.NativeText
. -
QKeySequence
-
QKeySequence
public QKeySequence(int k1, int k2, int k3) Overloaded constructor for
QKeySequence(int, int, int, int)
withk4 = 0
. -
QKeySequence
public QKeySequence(int k1, int k2) -
QKeySequence
public QKeySequence(int k1) -
QKeySequence
public QKeySequence(int k1, int k2, int k3, int k4) -
QKeySequence
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
count
-
isDetached
-
isEmpty
-
matches
-
writeTo
-
assign
-
readFrom
-
get
-
swap
-
toString
Overloaded function for
toString(io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
. -
toString
-
fromString
Overloaded function for
fromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
. -
fromString
-
keyBindings
-
listFromString
Overloaded function for
listFromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
. -
listFromString
-
listToString
Overloaded function for
listToString(java.util.Collection, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
. -
listToString
public static String listToString(Collection<? extends QKeySequence> list, QKeySequence.SequenceFormat format) -
mnemonic
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QKeySequence>
-
hashCode
-
at
-
clone
-