-
Notifications
You must be signed in to change notification settings - Fork 9
/
frmmain.h
193 lines (158 loc) · 4.15 KB
/
frmmain.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
#ifndef FRMMAIN_H
#define FRMMAIN_H
#include <QWidget>
#include "mygauge1.h"
#include "mygauge2.h"
#include "mygauge3.h"
#include "mygauge4.h"
#include "mygauge5.h"
#include "mygauge6.h"
#include "mygauge7.h"
#include "myprogressbar.h"
#include "mybattery.h"
#include "mycoolbar.h"
#include "myindicator.h"
#include "myVolume.h"
#include "mychart1.h"
#include "myflashlist.h"
#include "mybuttonboard.h"
#include "mysliderbutton.h"
#include "myPhotoView.h"
#include "myaroundcircle.h"
#include "myprogressbar1.h"
#include "mynewled.h"
#include "mywave.h"
#include "mywave1.h"
#include "mywave2.h"
//½â¾öÖÐÎÄÂÒÂë
#include <qtextcodec.h>
namespace Ui {
class frmMain;
}
class frmMain : public QWidget
{
Q_OBJECT
public:
explicit frmMain(QWidget *parent = 0);
~frmMain();
private:
Ui::frmMain *ui;
QVBoxLayout *mainLayout1;
QHBoxLayout *layout1;
QVBoxLayout *mainLayout2;
QHBoxLayout *layout2;
myGauge1 *gauge1;
myGauge2 *gauge2;
myGauge3 *gauge31;
myGauge3 *gauge32;
myGauge3 *gauge33;
myGauge4 *gauge41;
myGauge4 *gauge42;
myGauge4 *gauge43;
myGauge5 *gauge5;
myGauge6 *gauge61;
myGauge6 *gauge62;
myGauge6 *gauge63;
myGauge7 *gauge71;
myGauge7 *gauge72;
myGauge7 *gauge73;
myProgressBar *myprogressbar1;
myProgressBar *myprogressbar2;
myProgressBar *myprogressbar3;
myBattery *mybattery1;
myBattery *mybattery2;
myBattery *mybattery3;
myBattery *mybattery4;
myCoolBar *mycoolbar;
myIndicator *myindicator1;
myIndicator *myindicator2;
myIndicator *myindicator3;
myIndicator *myindicator4;
myIndicator *myindicator5;
myVolume *myvolume1;
myVolume *myvolume2;
myVolume *myvolume3;
myVolume *myvolume4;
myVolume *myvolume5;
QTimer *updateTimer1;
QTimer *updateTimer2;
QTimer *updateTimer4;
QTimer *updateTimer5;
QTimer *updateTimer6;
QTimer *updateTimer7;
QTimer *updateTimer8;
QTimer *updateTimer10;
QTimer *updateTimer11;
myChart1 *mychart1;
myFlashList *myflashlist;
myButtonBoard *mybuttonboard;
mySliderButton *mysliderbutton1;
mySliderButton *mysliderbutton2;
mySliderButton *mysliderbutton3;
myPhotoView *myphotoview;
myAroundCircle *myaroundcircle;
myProgressBar1 *myprogressbar11;
myProgressBar1 *myprogressbar12;
myProgressBar1 *myprogressbar13;
myNewLed *mynewled;
myWave *mywave;
QVector<myWave1*> mywave1;
QVector<myWave2*> mywave2;
QTimer *updateTimer21;
QTimer *updateTimer27;
QTimer *updateTimer28;
QTimer *updateTimer29;
QTimer *updateTimer30;
QTimer *updateTimer31;
QTextCodec *codec;
private slots:
void on_btnWave2_clicked();
void on_btnWave1_clicked();
void on_btnWave_clicked();
void on_btnNewLed_clicked();
void on_btnProgressBar1_clicked();
void on_btnAroundCircle_clicked();
void on_btnPhotoView_clicked();
void on_btnSliderButton_clicked();
void on_btnButtonBoard_clicked();
void on_btnFlashList_clicked();
void on_btnChart1_clicked();
void on_btnVolume_clicked();
void on_btnIndicator_clicked();
void on_btnCoolBar_clicked();
void on_btnBattery_clicked();
void on_btnGauge7_clicked();
void on_btnProgressBar_clicked();
void on_btnGauge6_clicked();
void on_btnGauge5_clicked();
void on_btnGauge4_clicked();
void on_btnGauge3_clicked();
void on_btnGauge2_clicked();
void on_btnGauge1_clicked();
void UpdateData1();
void UpdateData2();
void UpdateData3(qreal value);
void UpdateData4();
void UpdateData5();
void UpdateData6();
void UpdateData7();
void UpdateData8();
void UpdateData9(int value);
void UpdateData10();
void UpdateData11();
void InitTab1();
void ChangeVisibleTab1(bool b);
void InitTab2();
void ChangeVisibleTab2(bool b);
void TabChange(int index);
void UpdateData21();
void UpdateData22(QString txt);
void UpdateData23(QString txt);
void UpdateData24(QString txt);
void UpdateData27();
void UpdateData28();
void UpdateData29();
void UpdateData30();
void UpdateData31();
};
#endif // FRMMAIN_H