|
Krita Source Code Documentation
|
An editor widget for mouse wheel input with modifiers. More...
#include <kis_wheel_input_editor.h>
Inheritance diagram for KisWheelInputEditor:Classes | |
| class | Private |
Public Member Functions | |
| QList< Qt::Key > | keys () const |
| KisWheelInputEditor (QWidget *parent=nullptr) | |
| void | setKeys (const QList< Qt::Key > &newKeys) |
| void | setWheel (KisShortcutConfiguration::MouseWheelMovement newWheel) |
| KisShortcutConfiguration::MouseWheelMovement | wheel () const |
| ~KisWheelInputEditor () override | |
Private Slots | |
| void | updateLabel () |
Private Attributes | |
| Private *const | d {nullptr} |
An editor widget for mouse wheel input with modifiers.
Definition at line 23 of file kis_wheel_input_editor.h.
| KisWheelInputEditor::KisWheelInputEditor | ( | QWidget * | parent = nullptr | ) |
Definition at line 25 of file kis_wheel_input_editor.cpp.
References connect(), d, KisIconUtils::loadIcon(), KisWheelInputEditor::Private::ui, updateLabel(), and KisInputButton::WheelType.
|
override |
Definition at line 52 of file kis_wheel_input_editor.cpp.
References d, and KisWheelInputEditor::Private::ui.
| QList< Qt::Key > KisWheelInputEditor::keys | ( | ) | const |
Definition at line 58 of file kis_wheel_input_editor.cpp.
References d, and KisWheelInputEditor::Private::ui.
Definition at line 63 of file kis_wheel_input_editor.cpp.
References d, KisWheelInputEditor::Private::ui, and updateLabel().
| void KisWheelInputEditor::setWheel | ( | KisShortcutConfiguration::MouseWheelMovement | newWheel | ) |
Definition at line 74 of file kis_wheel_input_editor.cpp.
References d, KisWheelInputEditor::Private::ui, and updateLabel().
|
privateslot |
Definition at line 80 of file kis_wheel_input_editor.cpp.
References d, KisWheelInputEditor::Private::ui, and KisShortcutConfiguration::wheelInputToText().
| KisShortcutConfiguration::MouseWheelMovement KisWheelInputEditor::wheel | ( | ) | const |
Definition at line 69 of file kis_wheel_input_editor.cpp.
References d, and KisWheelInputEditor::Private::ui.
|
private |
Definition at line 41 of file kis_wheel_input_editor.h.