|
Krita Source Code Documentation
|
An editor widget for a list of keys. More...
#include <kis_key_input_editor.h>
Inheritance diagram for KisKeyInputEditor:Classes | |
| class | Private |
Public Member Functions | |
| Qt::MouseButtons | buttons () const |
| QList< Qt::Key > | keys () const |
| KisKeyInputEditor (QWidget *parent=nullptr) | |
| void | setButtons (Qt::MouseButtons newButtons) |
| void | setKeys (const QList< Qt::Key > &newKeys) |
| ~KisKeyInputEditor () override | |
Private Slots | |
| void | updateLabel () |
Private Attributes | |
| Private *const | d {nullptr} |
An editor widget for a list of keys.
Definition at line 21 of file kis_key_input_editor.h.
| KisKeyInputEditor::KisKeyInputEditor | ( | QWidget * | parent = nullptr | ) |
Definition at line 26 of file kis_key_input_editor.cpp.
References connect(), d, KisIconUtils::loadIcon(), KisKeyInputEditor::Private::ui, and updateLabel().
|
override |
Definition at line 49 of file kis_key_input_editor.cpp.
References d, and KisKeyInputEditor::Private::ui.
| Qt::MouseButtons KisKeyInputEditor::buttons | ( | ) | const |
| QList< Qt::Key > KisKeyInputEditor::keys | ( | ) | const |
Definition at line 55 of file kis_key_input_editor.cpp.
References d, and KisKeyInputEditor::Private::ui.
| void KisKeyInputEditor::setButtons | ( | Qt::MouseButtons | newButtons | ) |
Definition at line 60 of file kis_key_input_editor.cpp.
References d, KisKeyInputEditor::Private::ui, and updateLabel().
|
privateslot |
Definition at line 66 of file kis_key_input_editor.cpp.
References d, KisShortcutConfiguration::keysToText(), and KisKeyInputEditor::Private::ui.
|
private |
Definition at line 39 of file kis_key_input_editor.h.