-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptiondlg.h
63 lines (46 loc) · 1.25 KB
/
optiondlg.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
54
55
56
57
58
59
60
61
62
63
#ifndef OPTIONDLG_H
#define OPTIONDLG_H
#include "optionform.h"
class GenConfig;
class OptionDlg : public OptionForm
{
Q_OBJECT
public:
OptionDlg( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~OptionDlg();
GenConfig *m_cfg;
bool m_loading;
private:
void keyPressEvent(QKeyEvent *ev);
void keyReleaseEvent(QKeyEvent *ev);
void updateExFont(bool save);
void updateExColor(bool save);
signals:
void endDialog();
void settingChanged();
private slots:
void updateSettings();
void updateFontFace();
void changeFont();
void updateColorFace();
void changeColor();
void rgbChange();
void updateLineMargin(int value);
void updateMargin(int value);
void updateRotation(int value);
void updateScrollHeight(int value);
void updateScrollDelay(int value);
void updateScaleMethod(int value);
void updateScaleFactor(int value);
void updateScaleUp();
void updateScaleEx();
void updateSlicingMethod(int value);
void updateSlicingEx();
void updateSlicingCount();
void updateScrollPolicy(int value);
void updatePagingPolicy(int value);
void updateBar();
public slots:
void loadSettings();
};
#endif // OPTIONDLG_H