You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
545 B
33 lines
545 B
#include <qwidget.h>
|
|
|
|
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;
|
|
|
|
Q_SIGNALS:
|
|
void amplitudeChanged( double );
|
|
void frequencyChanged( double );
|
|
void signalIntervalChanged( double );
|
|
|
|
private:
|
|
Knob *d_frequencyKnob;
|
|
Knob *d_amplitudeKnob;
|
|
WheelBox *d_timerWheel;
|
|
WheelBox *d_intervalWheel;
|
|
|
|
Plot *d_plot;
|
|
};
|