java.lang.Object
io.qt.internal.QtJambiObject
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's class QKeyCombination
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded 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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static QKeyCombination
fromCombined
(int combined) int
hashCode()
final Qt.Key
key()
final Qt.KeyboardModifiers
void
final int
toString()
void
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QKeyCombination
Overloaded constructor for
QKeyCombination(io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
. -
QKeyCombination
-
QKeyCombination
public QKeyCombination()Overloaded constructor for
QKeyCombination(io.qt.core.Qt.Key)
withkey = io.qt.core.Qt.Key.Key_unknown
. -
QKeyCombination
-
QKeyCombination
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
key
-
keyboardModifiers
-
writeTo
-
readFrom
-
toCombined
-
fromCombined
-
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. -
hashCode
-
toString
-
clone
-