Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_shade_selector_lines_settings.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2010 Adam Celarek <kdedev at xibo dot at>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KIS_SHADE_SELECTOR_LINES_SETTINGS_H
8#define KIS_SHADE_SELECTOR_LINES_SETTINGS_H
9
10#include <QWidget>
11
13
14class KisShadeSelectorLinesSettings : public QWidget
15{
16 Q_OBJECT
17public:
18 explicit KisShadeSelectorLinesSettings(QWidget *parent = 0);
19 QString toString() const;
20 void fromString(const QString& stri);
21
22public Q_SLOTS:
23 void updateSettings();
24 void setLineCount(int count);
25
26Q_SIGNALS:
27 void setGradient(bool);
28 void setPatches(bool);
29 void setPatchCount(int count);
30 void setLineHeight(int height);
31
32Q_SIGNALS:
33 void lineCountChanged(int newLineCount);
34
35private:
37
38};
39
40#endif // KIS_SHADE_SELECTOR_LINES_SETTINGS_H
void lineCountChanged(int newLineCount)
void setLineHeight(int height)
QList< KisShadeSelectorLineComboBox * > m_lineList