java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QKeyCombination
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QKeyCombination extends QtObject implements Cloneable
Stores a combination of a key with optional modifiers
Java wrapper for Qt class QKeyCombination
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QKeyCombination()
Overloaded 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
QKeyCombination(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QKeyCombination
clone()
boolean
equals(Object other)
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()
Qt.Key
key()
Qt.KeyboardModifiers
keyboardModifiers()
void
readFrom(QDataStream s)
int
toCombined()
String
toString()
void
writeTo(QDataStream s)
-
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
-