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
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.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
final int
toString()
Seeoperator<<(QDebug,
QKeyCombination) void
Seeoperator<<(QDataStream&,
QKeyCombination) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QKeyCombination
public QKeyCombination()Overloaded constructor for
QKeyCombination(io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
. -
QKeyCombination
-
QKeyCombination
Overloaded constructor for
QKeyCombination(io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
. -
QKeyCombination
-
-
Method Details
-
key
-
keyboardModifiers
-
writeTo
See
operator<<(QDataStream&,
QKeyCombination) -
readFrom
-
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.
-