-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdialog.h
48 lines (40 loc) · 859 Bytes
/
dialog.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
#ifndef DIALOG_H
#define DIALOG_H
#include <QWidget>
#include <QDialog>
#include <QPushButton>
#include <QLineEdit>
#include <QFileDialog>
#include <QGridLayout>
#include "inputdlg.h"
#include "msgboxdlg.h"
#include "customdlg.h"
class Dialog : public QDialog
{
Q_OBJECT
public:
Dialog(QWidget *parent = 0);
~Dialog();
private slots:
void showFile();
void showColor();
void showFont();
void showInputDlg();
void showMsgDlg();
void showCustomDlg();
private:
QPushButton *fileBtn;
QLineEdit *fileLineEdit;
QGridLayout *mainLayout;
QPushButton *colorBtn;
QFrame *colorFrame;
QPushButton *fontBtn;
QLineEdit *fontLineEdit;
QPushButton *inputBtn;
InputDlg *inputDlg;
QPushButton *msgBtn;
MsgBoxDlg *msgDlg;
QPushButton *CustomBtn;
QLabel *label;
};
#endif // DIALOG_H