Krita Source Code Documentation
Loading...
Searching...
No Matches
kiswdgindexcolors.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Manuel Riecke <spell1337@gmail.com>
3 *
4 * SPDX-License-Identifier: ICS
5 */
6
7#ifndef KISWDGINDEXCOLORS_H
8#define KISWDGINDEXCOLORS_H
9
10#include <kis_config_widget.h>
11#include <QSpinBox>
12
13class QCheckBox;
14class KisColorButton;
15namespace Ui
16{
18}
19
21{
22 Q_OBJECT
23public:
24 KisWdgIndexColors(QWidget* parent = 0, Qt::WindowFlags f = Qt::WindowFlags(), int delay = 500);
26 void setConfiguration(const KisPropertiesConfigurationSP config) override;
27 void setup(QStringList shadesLabels, int ramps);
28
29private Q_SLOTS:
31
32private:
34 {
36 QCheckBox* checkbox;
37 };
40 Ui::KisWdgIndexColors* ui;
41};
42
43#endif // KISWDGINDEXCOLORS_H
float value(const T *src, size_t ch)
A pushbutton to display or allow user selection of a color.
void slotColorLimitChanged(int value)
void setConfiguration(const KisPropertiesConfigurationSP config) override
KisPropertiesConfigurationSP configuration() const override
QVector< QVector< ColorWidgets > > m_colorSelectors
KisWdgIndexColors(QWidget *parent=0, Qt::WindowFlags f=Qt::WindowFlags(), int delay=500)
void setup(QStringList shadesLabels, int ramps)
QVector< QSpinBox * > m_stepSpinners
Ui::KisWdgIndexColors * ui