Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_input_configuration_page.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 KISINPUTCONFIGURATIONPAGE_H
9#define KISINPUTCONFIGURATIONPAGE_H
10
11#include <QWidget>
12#include <KisKineticScroller.h>
13
14namespace Ui
15{
17}
18
22class KisInputConfigurationPage : public QWidget
23{
24 Q_OBJECT
25public:
26 KisInputConfigurationPage(QWidget *parent = 0, Qt::WindowFlags f = Qt::WindowFlags());
28
29public Q_SLOTS:
30 void saveChanges();
31 void revertChanges();
32 void setDefaults();
33 void slotScrollerStateChanged(QScroller::State state){KisKineticScroller::updateCursor(this, state);}
34
35
36private Q_SLOTS:
39 void changeCurrentProfile(const QString &newProfile);
40 void checkForConflicts();
41
42private:
43 Ui::KisInputConfigurationPage *ui;
44 struct Private;
45 QScopedPointer<Private> m_d;
46};
47
48#endif // KISINPUTCONFIGURATIONPAGE_H
A Configuration Dialog Page to configure the canvas input.
void slotScrollerStateChanged(QScroller::State state)
Ui::KisInputConfigurationPage * ui
KisInputConfigurationPage(QWidget *parent=0, Qt::WindowFlags f=Qt::WindowFlags())
void changeCurrentProfile(const QString &newProfile)
KRITAWIDGETUTILS_EXPORT void updateCursor(QWidget *source, QScroller::State state)