java.lang.Object
io.qt.QtObject
io.qt.gui.QKeyCombination
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Stores a combination of a key with optional modifiers
Java wrapper for Qt class QKeyCombination
This class was introduced in Qt 6.0.
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQKeyCombination(io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
.QKeyCombination
(Qt.Key key) QKeyCombination
(Qt.KeyboardModifiers modifiers) Overloaded constructor forQKeyCombination(io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
.QKeyCombination
(Qt.KeyboardModifiers modifiers, Qt.Key key) QKeyCombination
(QKeyCombination other) SeeQKeyCombination::
QKeyCombination(QKeyCombination) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
Overloaded function forequals(io.qt.gui.QKeyCombination)
.final boolean
equals
(QKeyCombination rhs) boolean
static QKeyCombination
fromCombined
(int combined) int
hashCode()
Returns the objects's hash code computed byqHash(QKeyCombination)
.final Qt.Key
key()
final Qt.KeyboardModifiers
void
Seeoperator>>(QDataStream&,
QKeyCombination&) final int
toString()
Seeoperator<<(QDebug,
QKeyCombination) void
Seeoperator<<(QDataStream&,
QKeyCombination) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QKeyCombination
See
QKeyCombination::
QKeyCombination(QKeyCombination) -
QKeyCombination
-
QKeyCombination
-
QKeyCombination
public QKeyCombination()Overloaded constructor for
QKeyCombination(io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
. -
QKeyCombination
Overloaded constructor for
QKeyCombination(io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
.
-
-
Method Details
-
key
-
keyboardModifiers
-
writeTo
See
operator<<(QDataStream&,
QKeyCombination) -
equals
-
readFrom
See
operator>>(QDataStream&,
QKeyCombination&) -
toCombined
-
fromCombined
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QKeyCombination)
. -
toString
See
operator<<(QDebug,
QKeyCombination) -
clone
Creates and returns a copy of this object.
See
QKeyCombination::
QKeyCombination(QKeyCombination) -
equals
Overloaded function for
equals(io.qt.gui.QKeyCombination)
.
-