-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.h
More file actions
41 lines (27 loc) · 674 Bytes
/
Copy pathsettings.h
File metadata and controls
41 lines (27 loc) · 674 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
#ifndef SETTINGS_H
#define SETTINGS_H
#include <QDialog>
namespace Ui
{
class Settings;
}
class Settings: public QDialog
{
Q_OBJECT
public:
explicit Settings(QWidget *parent = nullptr);
~Settings();
void initialSetting(QColor c, QString fontFamily, int size);
signals:
void changingTextColor(QColor color);
void changingTextFont(QFont font);
void changingFontSize(int size);
private slots:
void on_pb_changeColor_clicked();
void on_spinBox_valueChanged(int arg1);
void on_fontComboBox_currentFontChanged(const QFont &f);
private:
Ui::Settings *ui;
QColor color = Qt::black;
};
#endif // SETTINGS_H