-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmainwindow.h
42 lines (35 loc) · 832 Bytes
/
mainwindow.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
#include <qwidget.h>
#include <QRadioButton>
#include <QtGui/QPushButton>
#include "led/led.h"
#include <QtGui/QCheckBox>
class Plot;
class Knob;
class WheelBox;
class MainWindow : public QWidget
{
Q_OBJECT
public:
MainWindow( QWidget * = NULL );
void start();
double amplitude() const;
double frequency() const;
double signalInterval() const;
public Q_SLOTS:
void swoverloadled(bool);
Q_SIGNALS:
void amplitudeChanged( double );
void frequencyChanged( double );
void signalIntervalChanged( double );
private:
Knob *d_frequencyKnob;
Knob *d_amplitudeKnob;
WheelBox *d_timerWheel;
WheelBox *d_intervalWheel;
WheelBox *d_offsetWheel;
QRadioButton *d_synclock;
Plot *d_plot;
QPushButton *d_saveImageBtn;
Led *d_overloadLed;
QCheckBox *checkBox;
};