-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdcolors.h
More file actions
58 lines (37 loc) · 1017 Bytes
/
dcolors.h
File metadata and controls
58 lines (37 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef DCOLORS_H
#define DCOLORS_H
#include <QDialog>
namespace Ui {
class dColors;
}
class dColors : public QDialog
{
Q_OBJECT
public:
explicit dColors(QWidget *parent = nullptr, QPixmap ePix= QPixmap(200,170));
~dColors();
int res;
QPixmap origPix;
private slots:
void setBgColor();
QString writeRgb();
void on_redSpin_valueChanged(int arg1);
void on_greenSpin_valueChanged(int arg1);
void on_blueSpin_valueChanged(int arg1);
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void on_pushButton_4_clicked();
void replaceColors(int opt);
void on_pushButton_clicked();
void on_comboReplace_currentIndexChanged(int index);
void on_hexValButton_clicked();
void on_getColorBtn1_clicked();
void on_getColorBtn2_clicked();
void on_pushButton_5_clicked();
void on_averageBtn_clicked();
private:
Ui::dColors *ui;
QPixmap newPix;
bool spinBoxesActivate = false;
};
#endif // DCOLORS_H