Released version 6.1.3
This commit is contained in:
commit
a94503cb82
1885 changed files with 276310 additions and 0 deletions
32
examples/oscilloscope/mainwindow.h
Normal file
32
examples/oscilloscope/mainwindow.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue