- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QKeySequence>
public class QKeySequence extends QtObject implements Comparable<QKeySequence>, Cloneable
Encapsulates a key sequence as used by shortcuts
Java wrapper for Qt class QKeySequence
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QKeySequence.SequenceFormat
Java wrapper for Qt enum QKeySequence::SequenceFormatstatic class
QKeySequence.SequenceMatch
Java wrapper for Qt enum QKeySequence::SequenceMatchstatic class
QKeySequence.StandardKey
Java wrapper for Qt enum QKeySequence::StandardKey -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
-
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
public QKeySequence(QKeyCombination k1, QKeyCombination k2, QKeyCombination k3, QKeyCombination k4) -
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
-
readFrom
-
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<QKeySequence> list, QKeySequence.SequenceFormat format) -
mnemonic
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QKeySequence>
-
hashCode
-
at
-
clone
-