-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcolors.h
53 lines (44 loc) · 932 Bytes
/
colors.h
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
#ifndef COLORS_H
#define COLORS_H
#include <QDialog>
#include <QListWidget>
namespace Ui {
class Colors;
}
class Colors : public QDialog
{
Q_OBJECT
public:
explicit Colors(QWidget *parent = 0);
~Colors();
/**
* returns font color
*
* @author Joel Stewart
*/
QString getFont();
/**
* returns background color
*
* @author Joel Stewart
*/
QString getBackground();
private slots:
/**
* tracks text color wanted
*
* @author Joel Stewart
*/
void on_textWidget_currentItemChanged(QListWidgetItem* current, QListWidgetItem* previous);
/**
* tracks background color wanted
*
* @author Joel Stewart
*/
void on_backgroundWidget_currentItemChanged(QListWidgetItem* current, QListWidgetItem* previous);
private:
Ui::Colors *ui;
QString backgroundColor_;
QString fontColor_;
};
#endif // COLORS_H