22Q_DECLARE_METATYPE( std::vector< unsigned > )
23Q_DECLARE_METATYPE( std::vector< double > )
39 double setSamplerate(
double samplerate );
42 double setTimebase(
double timebase );
53 void setSamplerateLimits(
double minimum,
double maximum );
56 void setSamplerateSteps(
int mode, QList< double > sampleSteps );
57 void calculateSamplerateSteps(
double timebase );
60 double setCalfreq(
double calfreq );
69 void closeEvent( QCloseEvent *event )
override;
90 void samplerateSelected(
double samplerate );
91 void timebaseSelected(
double timebase );
92 void formatSelected(
int index );
93 void calfreqIndexSelected(
int index );
96 double samplerateRequest = 0;
Dock window for the horizontal axis. It contains the settings for the timebase and the display format...
Definition HorizontalDock.h:27
QComboBox * calfreqComboBox
Selects the calibration frequency.
Definition HorizontalDock.h:80
QList< double > timebaseSteps
Steps for the timebase spinbox.
Definition HorizontalDock.h:83
QLabel * calfreqLabel
The label for the calibration frequency spinbox.
Definition HorizontalDock.h:75
QComboBox * formatComboBox
Definition HorizontalDock.h:78
QList< double > samplerateSteps
Possible sampe rates.
Definition HorizontalDock.h:85
QStringList formatStrings
Strings for the formats.
Definition HorizontalDock.h:87
QWidget * dockWidget
The main widget for the dock window.
Definition HorizontalDock.h:71
DsoSettingsScope * scope
The settings provided by the parent class.
Definition HorizontalDock.h:82
void samplerateChanged(double samplerate)
The samplerate has been changed.
QGridLayout * dockLayout
The main layout for the dock window.
Definition HorizontalDock.h:70
SiSpinBox * timebaseSiSpinBox
Selects the timebase for voltage graphs.
Definition HorizontalDock.h:77
SiSpinBox * samplerateSiSpinBox
Selects the samplerate for aquisitions.
Definition HorizontalDock.h:76
QLabel * samplerateLabel
The label for the samplerate spinbox.
Definition HorizontalDock.h:72
void setRecordLength(int recordLength)
Changes the record length if the new value is supported.
QLabel * formatLabel
The label for the format combobox.
Definition HorizontalDock.h:74
QList< double > calfreqSteps
Steps for the calfreq spinbox.
Definition HorizontalDock.h:84
void calfreqChanged(double calfreq)
The timebase has been changed.
void timebaseChanged(double timebase)
The timebase has been changed.
void formatChanged(Dso::GraphFormat format)
The viewing format has been changed.
void recordLengthChanged(int recordLength)
The recordd length has been changed.
QLabel * timebaseLabel
The label for the timebase spinbox.
Definition HorizontalDock.h:73
A spin box with SI prefix support. This spin box supports the SI prefixes (k/M/G/T) after its value a...
Definition sispinbox.h:14
TriggerMode
The different triggering modes.
Definition enums.h:35
GraphFormat
The possible viewing formats for the graphs on the scope.
Definition enums.h:18
Holds the settings for the oscilloscope.
Definition scopesettings.h:88
Stores the specifications of the currently connected device.
Definition controlspecification.h:42