Chris@634
|
1 #ifndef CHECKBOX_H
|
Chris@634
|
2 #define CHECKBOX_H
|
Chris@634
|
3
|
Chris@634
|
4 #include <QWidget>
|
Chris@635
|
5 #include <QLineEdit>
|
Chris@634
|
6 #include <QButtonGroup>
|
Chris@634
|
7 #include <QRadioButton>
|
Chris@634
|
8 #include <QGroupBox>
|
Chris@634
|
9 #include <QSpinBox>
|
Chris@634
|
10 #include "MainWindow.h"
|
Chris@634
|
11
|
Chris@634
|
12 class CheckBox : public QWidget
|
Chris@634
|
13 {
|
Chris@634
|
14 Q_OBJECT
|
Chris@634
|
15
|
Chris@634
|
16 public:
|
Chris@634
|
17 CheckBox(QWidget *parent = 0);
|
Chris@634
|
18 QLineEdit *line = new QLineEdit("", this);
|
Chris@634
|
19 QLineEdit *line2 = new QLineEdit("", this);
|
Chris@634
|
20 QLabel *sel_rule1, *sel_rule2;
|
Chris@634
|
21 QLabel *mix_rule1, *mix_rule2, *mix_rule3, *mix_rule4;
|
Chris@634
|
22 QLabel *group_label, *grp_vol, *grp_name;
|
Chris@634
|
23 QLineEdit *group_name_line;
|
Chris@634
|
24
|
Chris@634
|
25 private slots:
|
Chris@634
|
26 void defineImafTextFile();
|
Chris@634
|
27 void defineImafImageFile();
|
Chris@634
|
28 void saveImafFile();
|
Chris@634
|
29 void insertLyrics(int state);
|
Chris@634
|
30 void insertImage(int state);
|
Chris@634
|
31 void set_selruleType(QAbstractButton *button);
|
Chris@634
|
32 void set_selrulePAR1(int value);
|
Chris@634
|
33 void set_selrulePAR2(int value);
|
Chris@634
|
34 void set_mixruleType(QAbstractButton *button);
|
Chris@634
|
35 void set_mixrulePAR1(int value);
|
Chris@634
|
36 void set_mixrulePAR2(int value);
|
Chris@634
|
37 void set_mixrulePAR3(int value);
|
Chris@634
|
38 void set_mixrulePAR4(int value);
|
Chris@634
|
39 void set_TrackInGroup(QAbstractButton *button);
|
Chris@634
|
40 void set_GroupName(QString name);
|
Chris@634
|
41 void set_GroupVolume(int value);
|
Chris@634
|
42 void set_presetType(QAbstractButton *button);
|
Chris@634
|
43 void set_fade(QAbstractButton *button);
|
Chris@634
|
44 };
|
Chris@634
|
45
|
Chris@634
|
46 #endif // CHECKBOX_H
|