Класс QKeyEvent
(Qt3DInput::QKeyEvent)| Заголовок: | #include <QKeyEvent> |
| qmake: | QT += 3dinput |
| С тех пор: | Qt 5.5 |
| Инициализируется: | KeyEvent |
| Наследует: | QObject |
Свойства
|
|
- 1 свойство унаследовано от QObject
Открытые функции
| QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text = QString(), bool autorep = false, ushort count = 1) | |
| QKeyEvent(const QKeyEvent &ke) | |
| int | count() const |
| bool | isAccepted() const |
| bool | isAutoRepeat() const |
| int | key() const |
| bool | matches(QKeySequence::StandardKey key_) const |
| int | modifiers() const |
| quint32 | nativeScanCode() const |
| void | setAccepted(bool accepted) |
| QString | text() const |
| QEvent::Type | type() const |
- 31 открытая функция унаследована от QObject
Дополнительные унаследованные члены
- 1 открытый слот унаследован от QObject
- 2 сигнала унаследованы от QObject
- 11 статические открытые члены унаследованы от QObject
- 9 защищенные функции унаследованы от QObject
Подробное описание
Документация по свойству
accepted : bool
Функции доступа:
| bool | isAccepted() const |
| void | setAccepted(bool accepted) |
count : const int
Функции доступа:
| int | count() const |
isAutoRepeat : const bool
Функции доступа:
| bool | isAutoRepeat() const |
key : const int
Функции доступа:
| int | key() const |
modifiers : const int
Функции доступа:
| int | modifiers() const |
nativeScanCode : const quint32
Функции доступа:
| quint32 | nativeScanCode() const |
text : const QString
Функции доступа:
| QString | text() const |
Документация по функции члена
QKeyEvent::QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text = QString(), bool autorep = false, ushort count = 1)
Создает экземпляр QKeyEvent по умолчанию.
QKeyEvent::QKeyEvent(const QKeyEvent &ke)
Конструктор копирования.
bool QKeyEvent::matches(QKeySequence::StandardKey key_) const
QEvent::Type QKeyEvent::type() const
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.6/qt3dinput-qkeyevent.html