-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettingwindow.h
49 lines (38 loc) · 1014 Bytes
/
settingwindow.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
#ifndef SETTINGWINDOW_H
#define SETTINGWINDOW_H
#include "basewindow.h"
class TitleBar;
class Content;
class StatusBar;
class SettingWindow : public BaseWindow
{
Q_OBJECT
public:
SettingWindow(QFrame *parent = 0);
~SettingWindow();
TitleBar* GetTitleBar();
Content* GetContent();
StatusBar* GetStatusBar();
protected:
void paintEvent(QPaintEvent *event);
bool eventFilter(QObject *obj, QEvent *event);
bool nativeEvent(const QByteArray &eventType, void *message, long *result);
private:
void InitControl();
TitleBar *m_pTitleBar;
Content *m_pContent;
StatusBar *m_pStatusBar;
QCheckBox *m_pAutoStartCheckBox;
QCheckBox *m_pSaveHistoryCheckBox;
QButtonGroup *m_pChannelButtonGroup;
QRadioButton *m_pClickPlayRadioButton;
QRadioButton *m_pClickDownloadRadioButton;
QButtonGroup *m_pClickButtonGroup;
QPushButton *m_pOKButton;
QPushButton *m_pCancelBbutton;
private slots:
void on_okButton_cliecked();
void on_cancelButton_cliecked();
signals:
};
#endif // SETTINGWINDOW_H