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'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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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
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
-
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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-