Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* This file is part of the KDE project
* SPDX-FileCopyrightText: 2013 Arjen Hiemstra <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KISINPUTCONFIGURATIONPAGE_H
#define KISINPUTCONFIGURATIONPAGE_H
#include <QWidget>
#include <KisKineticScroller.h>
namespace Ui
{
class KisInputConfigurationPage;
}
/**
* \brief A Configuration Dialog Page to configure the canvas input.
*/
class KisInputConfigurationPage : public QWidget
{
Q_OBJECT
public:
KisInputConfigurationPage(QWidget *parent = 0, Qt::WindowFlags f = Qt::WindowFlags());
~KisInputConfigurationPage();
public Q_SLOTS:
void saveChanges();
void revertChanges();
void setDefaults();
void slotScrollerStateChanged(QScroller::State state){KisKineticScroller::updateCursor(this, state);}
private Q_SLOTS:
void editProfilesButtonClicked();
void updateSelectedProfile();
void changeCurrentProfile(const QString &newProfile);
void checkForConflicts();
private:
Ui::KisInputConfigurationPage *ui;
struct Private;
QScopedPointer<Private> m_d;
};
#endif // KISINPUTCONFIGURATIONPAGE_H