Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_wheel_input_editor.h
Go to the documentation of this file.
1
/*
2
* This file is part of the KDE project
3
* SPDX-FileCopyrightText: 2013 Arjen Hiemstra <ahiemstra@heimr.nl>
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
*/
7
8
#ifndef KISWHEELINPUTEDITOR_H
9
#define KISWHEELINPUTEDITOR_H
10
11
#include <QPushButton>
12
13
#include "
input/kis_shortcut_configuration.h
"
14
15
namespace
Ui
16
{
17
class
KisWheelInputEditor
;
18
}
19
23
class
KisWheelInputEditor
:
public
QPushButton
24
{
25
Q_OBJECT
26
public
:
27
KisWheelInputEditor
(QWidget *parent =
nullptr
);
28
~KisWheelInputEditor
()
override
;
29
30
QList<Qt::Key>
keys
()
const
;
31
void
setKeys
(
const
QList<Qt::Key>
&newKeys);
32
33
KisShortcutConfiguration::MouseWheelMovement
wheel
()
const
;
34
void
setWheel
(
KisShortcutConfiguration::MouseWheelMovement
newWheel);
35
36
private
Q_SLOTS:
37
void
updateLabel
();
38
39
private
:
40
class
Private
;
41
Private
*
const
d
{
nullptr
};
42
};
43
44
#endif
// KISWHEELINPUTEDITOR_H
KisShortcutConfiguration::MouseWheelMovement
MouseWheelMovement
Definition
kis_shortcut_configuration.h:45
KisWheelInputEditor
An editor widget for mouse wheel input with modifiers.
Definition
kis_wheel_input_editor.h:24
KisWheelInputEditor::setWheel
void setWheel(KisShortcutConfiguration::MouseWheelMovement newWheel)
Definition
kis_wheel_input_editor.cpp:74
KisWheelInputEditor::KisWheelInputEditor
KisWheelInputEditor(QWidget *parent=nullptr)
Definition
kis_wheel_input_editor.cpp:25
KisWheelInputEditor::d
Private *const d
Definition
kis_wheel_input_editor.h:41
KisWheelInputEditor::updateLabel
void updateLabel()
Definition
kis_wheel_input_editor.cpp:80
KisWheelInputEditor::wheel
KisShortcutConfiguration::MouseWheelMovement wheel() const
Definition
kis_wheel_input_editor.cpp:69
KisWheelInputEditor::setKeys
void setKeys(const QList< Qt::Key > &newKeys)
Definition
kis_wheel_input_editor.cpp:63
KisWheelInputEditor::~KisWheelInputEditor
~KisWheelInputEditor() override
Definition
kis_wheel_input_editor.cpp:52
KisWheelInputEditor::keys
QList< Qt::Key > keys() const
Definition
kis_wheel_input_editor.cpp:58
QList
Definition
KisQStringListFwd.h:16
kis_shortcut_configuration.h
Private
Definition
SvgTransformParser.cpp:20
Ui
Definition
VideoExportOptionsDialog.h:17
libs
ui
input
config
kis_wheel_input_editor.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52