blob: 7d09f218c8f23092b183b07b0a6eb8780088346c (
plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
#ifndef AOOPTIONSDIALOG_H
#define AOOPTIONSDIALOG_H
#include "aoapplication.h"
#include "bass.h"
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <QDirIterator>
#include <QTextStream>
class AOOptionsDialog: public QDialog
{
Q_OBJECT
public:
explicit AOOptionsDialog(QWidget *parent = nullptr, AOApplication *p_ao_app = nullptr);
private:
AOApplication *ao_app;
QVBoxLayout *verticalLayout;
QTabWidget *SettingsTabs;
QWidget *GameplayTab;
QWidget *formLayoutWidget;
QFormLayout *GameplayForm;
QLabel *ThemeLabel;
QComboBox *ThemeCombobox;
QFrame *ThemeLogDivider;
QLabel *DownwardsLabel;
QCheckBox *DownwardCheckbox;
QLabel *LengthLabel;
QSpinBox *LengthSpinbox;
QFrame *LogNamesDivider;
QLineEdit *UsernameLineEdit;
QLabel *UsernameLabel;
QLabel *ShownameLabel;
QCheckBox *ShownameCheckbox;
QFrame *NetDivider;
QLabel *MasterServerLabel;
QLineEdit *MasterServerLineEdit;
QLabel *DiscordLabel;
QCheckBox *DiscordCheckBox;
QWidget *CallwordsTab;
QWidget *verticalLayoutWidget;
QVBoxLayout *CallwordsLayout;
QPlainTextEdit *CallwordsTextEdit;
QLabel *CallwordsExplainLabel;
QCheckBox *CharacterCallwordsCheckbox;
QWidget *AudioTab;
QWidget *formLayoutWidget_2;
QFormLayout *AudioForm;
QLabel *AudioDevideLabel;
QComboBox *AudioDeviceCombobox;
QFrame *DeviceVolumeDivider;
QSpinBox *MusicVolumeSpinbox;
QLabel *MusicVolumeLabel;
QSpinBox *SFXVolumeSpinbox;
QSpinBox *BlipsVolumeSpinbox;
QLabel *SFXVolumeLabel;
QLabel *BlipsVolumeLabel;
QFrame *VolumeBlipDivider;
QSpinBox *BlipRateSpinbox;
QLabel *BlipRateLabel;
QCheckBox *BlankBlipsCheckbox;
QLabel *BlankBlipsLabel;
QDialogButtonBox *SettingsButtons;
signals:
public slots:
void save_pressed();
void discard_pressed();
};
#endif // AOOPTIONSDIALOG_H
|