- 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
-
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
(Qt.Key k1) QKeySequence
(Qt.Key k1, Qt.Key k2) Overloaded constructor forQKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
QKeySequence
(Qt.Key k1, Qt.Key k2, Qt.Key k3) Overloaded constructor forQKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(Qt.Key k1, Qt.Key k2, Qt.Key k3, Qt.Key k4) QKeySequence
(Qt.Key k1, Qt.Key k2, Qt.Key k3, QKeyCombination k4) QKeySequence
(Qt.Key k1, Qt.Key k2, QKeyCombination k3) Overloaded constructor forQKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(Qt.Key k1, Qt.Key k2, QKeyCombination k3, Qt.Key k4) QKeySequence
(Qt.Key k1, Qt.Key k2, QKeyCombination k3, QKeyCombination k4) QKeySequence
(Qt.Key k1, QKeyCombination k2) QKeySequence
(Qt.Key k1, QKeyCombination k2, Qt.Key k3) Overloaded constructor forQKeySequence(io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(Qt.Key k1, QKeyCombination k2, Qt.Key k3, Qt.Key k4) QKeySequence
(Qt.Key k1, QKeyCombination k2, Qt.Key k3, QKeyCombination k4) QKeySequence
(Qt.Key k1, QKeyCombination k2, QKeyCombination k3) Overloaded constructor forQKeySequence(io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(Qt.Key k1, QKeyCombination k2, QKeyCombination k3, Qt.Key k4) QKeySequence
(Qt.Key k1, QKeyCombination k2, QKeyCombination k3, QKeyCombination k4) QKeySequence
(QKeyCombination k1, Qt.Key k2) QKeySequence
(QKeyCombination k1, Qt.Key k2, Qt.Key k3) Overloaded constructor forQKeySequence(io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(QKeyCombination k1, Qt.Key k2, Qt.Key k3, Qt.Key k4) QKeySequence
(QKeyCombination k1, Qt.Key k2, Qt.Key k3, QKeyCombination k4) QKeySequence
(QKeyCombination k1, Qt.Key k2, QKeyCombination k3) Overloaded constructor forQKeySequence(io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(QKeyCombination k1, Qt.Key k2, QKeyCombination k3, Qt.Key k4) QKeySequence
(QKeyCombination k1, Qt.Key k2, QKeyCombination k3, QKeyCombination k4) QKeySequence
(QKeyCombination k1, QKeyCombination k2, Qt.Key k3) Overloaded constructor forQKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
.QKeySequence
(QKeyCombination k1, QKeyCombination k2, Qt.Key k3, Qt.Key k4) QKeySequence
(QKeyCombination k1, QKeyCombination k2, Qt.Key k3, QKeyCombination 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, Qt.Key k4) 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) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(int other) Overloaded function forassign(io.qt.gui.QKeySequence)
.final void
assign
(QKeyCombination other) Overloaded function forassign(io.qt.gui.QKeySequence)
.final void
assign
(QKeySequence other) final void
assign
(QKeySequence.StandardKey other) Overloaded function forassign(io.qt.gui.QKeySequence)
.final void
Overloaded function forassign(io.qt.gui.QKeySequence)
.final QKeyCombination
at
(int i) clone()
Creates and returns a copy of this object.int
compareTo
(QKeySequence other) final int
count()
final boolean
equals
(int other) Overloaded function forequals(io.qt.gui.QKeySequence)
.final boolean
equals
(QKeyCombination other) Overloaded function forequals(io.qt.gui.QKeySequence)
.final boolean
equals
(QKeySequence other) final boolean
equals
(QKeySequence.StandardKey other) Overloaded function forequals(io.qt.gui.QKeySequence)
.final boolean
Overloaded function forequals(io.qt.gui.QKeySequence)
.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 QKeyCombination
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
(int seq) Overloaded function formatches(io.qt.gui.QKeySequence)
.matches
(QKeyCombination seq) Overloaded function formatches(io.qt.gui.QKeySequence)
.matches
(QKeySequence seq) Overloaded function formatches(io.qt.gui.QKeySequence)
.Overloaded function formatches(io.qt.gui.QKeySequence)
.static QKeySequence
void
readFrom
(QDataStream in) 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
- Parameters:
k1
-k2
-k3
-k4
-
-
QKeySequence
- Parameters:
ks
-
-
QKeySequence
- Parameters:
key
-
-
QKeySequence
- Parameters:
key
-format
-
-
QKeySequence
public QKeySequence(int k1, int k2, int k3, int k4) - Parameters:
k1
-k2
-k3
-k4
-
-
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
Overloaded constructor for
QKeySequence(io.qt.core.Qt.Key, 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.core.Qt.Key, 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.core.Qt.Key, 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
Overloaded constructor for
QKeySequence(io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, 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.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
with:
k3 = io.qt.gui.QKeyCombination.fromCombined(0)
k4 = io.qt.gui.QKeyCombination.fromCombined(0)
-
QKeySequence
-
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
. -
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)
with:
k3 = io.qt.gui.QKeyCombination.fromCombined(0)
k4 = io.qt.gui.QKeyCombination.fromCombined(0)
-
QKeySequence
-
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
. -
QKeySequence
-
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
. -
QKeySequence
-
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
. -
QKeySequence
-
QKeySequence
Overloaded constructor for
QKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)
withk4 = io.qt.gui.QKeyCombination.fromCombined(0)
. -
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
-
QKeySequence
Overloaded constructor for
QKeySequence(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.NativeText
. -
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)
-
-
Method Details
-
count
- Returns:
-
isDetached
See
QKeySequence::
isDetached()const - Returns:
-
isEmpty
- Returns:
-
matches
- Parameters:
seq
-- Returns:
-
writeTo
See
operator<<(QDataStream&,
QKeySequence) - Parameters:
in
-
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QKeySequence&) - Parameters:
in
-
-
get
- Parameters:
i
-- Returns:
-
swap
- Parameters:
other
-
-
toString
- Parameters:
format
-- Returns:
-
fromString
- Parameters:
str
-format
-- Returns:
-
keyBindings
- Parameters:
key
-- Returns:
-
listFromString
- Parameters:
str
-format
-- Returns:
-
listToString
public static String listToString(Collection<? extends QKeySequence> list, QKeySequence.SequenceFormat format) - Parameters:
list
-format
-- Returns:
-
mnemonic
- Parameters:
text
-- Returns:
-
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.
-
matches
Overloaded function for
matches(io.qt.gui.QKeySequence)
. -
matches
Overloaded function for
matches(io.qt.gui.QKeySequence)
. -
matches
Overloaded function for
matches(io.qt.gui.QKeySequence)
. -
matches
Overloaded function for
matches(io.qt.gui.QKeySequence)
. -
assign
Overloaded function for
assign(io.qt.gui.QKeySequence)
. -
assign
Overloaded function for
assign(io.qt.gui.QKeySequence)
. -
assign
Overloaded function for
assign(io.qt.gui.QKeySequence)
. -
assign
Overloaded function for
assign(io.qt.gui.QKeySequence)
. -
equals
Overloaded function for
equals(io.qt.gui.QKeySequence)
. -
equals
Overloaded function for
equals(io.qt.gui.QKeySequence)
. -
equals
Overloaded function for
equals(io.qt.gui.QKeySequence)
. -
equals
Overloaded function for
equals(io.qt.gui.QKeySequence)
. -
toString
Overloaded function for
toString(io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
. -
fromString
Overloaded function for
fromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
. -
listFromString
Overloaded function for
listFromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
. -
listToString
Overloaded function for
listToString(java.util.Collection, io.qt.gui.QKeySequence.SequenceFormat)
withformat = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.
-