- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QKeySequence>
Encapsulates a key sequence as used by shortcuts
Java wrapper for Qt class QKeySequence
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQKeySequence::SequenceFormat
static enum
Java wrapper for Qt enumQKeySequence::SequenceMatch
static enum
Java wrapper for Qt enumQKeySequence::StandardKey
Nested 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
ConstructorDescriptionQKeySequence
(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
(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) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QKeySequence other) final int
at
(int i) clone()
Creates and returns a copy of this object.int
compareTo
(QKeySequence other) final int
count()
boolean
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 int
get
(int i) int
hashCode()
Returns the objects's hash code computed byqHash(QKeySequence)
.final boolean
SeeQKeySequence::
isDetached()const 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) Seeoperator>>(QDataStream&,
QKeySequence&) 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) Seeoperator<<(QDataStream&,
QKeySequence) 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
-
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)
-
-
Method Details
-
count
-
isDetached
See
QKeySequence::
isDetached()const -
isEmpty
-
matches
-
writeTo
See
operator<<(QDataStream&,
QKeySequence) -
assign
-
readFrom
See
operator>>(QDataStream&,
QKeySequence&) -
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
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QKeySequence>
-
hashCode
Returns the objects's hash code computed byqHash(QKeySequence)
. -
at
-
clone
Creates and returns a copy of this object.
-