-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChainBatDialog.h
48 lines (39 loc) · 990 Bytes
/
ChainBatDialog.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 CHAINBATDIALOG_H
#define CHAINBATDIALOG_H
#include <QDialog>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QGroupBox>
#include <QLabel>
#include <QTextEdit>
#include <QCheckBox>
#include <QMessageBox>
#include <QRandomGenerator>
#include <QTime>
#include <QCoreApplication>
class ChainBatDialog : public QDialog {
Q_OBJECT
public:
explicit ChainBatDialog(QWidget *parent = nullptr);
~ChainBatDialog();
void closeEvent(QCloseEvent *event) override;
private:
void setupUI();
void connectSignalsSlots();
// 界面组件
QGroupBox *chainGroupBox;
QGroupBox *batGroupBox;
QTextEdit *descriptionText;
// 功能按钮
QPushButton *chainBatButton;
// Bat 功能选择
QCheckBox *chaosBatCheck;
QCheckBox *humorBatCheck;
QCheckBox *confuseBatCheck;
QCheckBox *abstractBatCheck;
QCheckBox *finalBatCheck;
private slots:
void chainBatClicked();
};
#endif // CHAINBATDIALOG_H