Dock window for the horizontal axis. It contains the settings for the timebase and the display format.
More...
#include <HorizontalDock.h>
|
| void | samplerateSelected (double samplerate) |
| | Called when the samplerate spinbox changes its value.
|
| void | timebaseSelected (double timebase) |
| | Called when the timebase spinbox changes its value.
|
| void | formatSelected (int index) |
| | Called when the format combo box changes its value.
|
| void | calfreqIndexSelected (int index) |
| | Called when the calfreq combobox changes its value.
|
|
| void | closeEvent (QCloseEvent *event) override |
| | Don't close the dock, just hide it.
|
Dock window for the horizontal axis. It contains the settings for the timebase and the display format.
◆ HorizontalDock()
Initializes the horizontal axis docking window.
- Parameters
-
| settings | The target settings object. |
| parent | The parent widget. |
| flags | Flags for the window manager. |
◆ calculateSamplerateSteps()
| void HorizontalDock::calculateSamplerateSteps |
( |
double | timebase | ) |
|
◆ calfreqChanged
| void HorizontalDock::calfreqChanged |
( |
double | calfreq | ) |
|
|
signal |
The timebase has been changed.
◆ calfreqIndexSelected
| void HorizontalDock::calfreqIndexSelected |
( |
int | index | ) |
|
|
protectedslot |
Called when the calfreq combobox changes its value.
- Parameters
-
◆ closeEvent()
| void HorizontalDock::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotected |
Don't close the dock, just hide it.
- Parameters
-
| event | The close event that should be handled. |
◆ formatChanged
The viewing format has been changed.
◆ formatSelected
| void HorizontalDock::formatSelected |
( |
int | index | ) |
|
|
protectedslot |
Called when the format combo box changes its value.
- Parameters
-
| index | The index of the combo box item. |
◆ loadSettings
Loads settings into GUI.
- Parameters
-
◆ recordLengthChanged
| void HorizontalDock::recordLengthChanged |
( |
int | recordLength | ) |
|
|
signal |
The recordd length has been changed.
◆ samplerateChanged
| void HorizontalDock::samplerateChanged |
( |
double | samplerate | ) |
|
|
signal |
The samplerate has been changed.
◆ samplerateSelected
| void HorizontalDock::samplerateSelected |
( |
double | samplerate | ) |
|
|
protectedslot |
Called when the samplerate spinbox changes its value.
- Parameters
-
| samplerate | The samplerate in samples/second. |
◆ setCalfreq()
| double HorizontalDock::setCalfreq |
( |
double | calfreq | ) |
|
Changes the calibration frequency.
- Parameters
-
| calfreq | The calibration frequency in hertz. |
◆ setFormat()
Changes the format if the new value is supported.
- Parameters
-
| format | The format for the horizontal axis. |
- Returns
- Index of format-value, -1 on error.
◆ setRecordLength()
| void HorizontalDock::setRecordLength |
( |
int | recordLength | ) |
|
Changes the record length if the new value is supported.
- Parameters
-
| recordLength | The record length in samples. |
◆ setSamplerate()
| double HorizontalDock::setSamplerate |
( |
double | samplerate | ) |
|
Changes the samplerate.
- Parameters
-
| samplerate | The samplerate in seconds. |
◆ setSamplerateLimits()
| void HorizontalDock::setSamplerateLimits |
( |
double | minimum, |
|
|
double | maximum ) |
Updates the minimum and maximum of the samplerate spin box.
- Parameters
-
| minimum | The minimum value the spin box should accept. |
| maximum | The minimum value the spin box should accept. |
◆ setSamplerateSteps()
| void HorizontalDock::setSamplerateSteps |
( |
int | mode, |
|
|
QList< double > | sampleSteps ) |
Updates the mode and steps of the samplerate spin box.
- Parameters
-
| steps | The steps value the spin box should accept. |
◆ setTimebase()
| double HorizontalDock::setTimebase |
( |
double | timebase | ) |
|
Changes the timebase.
- Parameters
-
| timebase | The timebase in seconds. |
◆ timebaseChanged
| void HorizontalDock::timebaseChanged |
( |
double | timebase | ) |
|
|
signal |
The timebase has been changed.
◆ timebaseSelected
| void HorizontalDock::timebaseSelected |
( |
double | timebase | ) |
|
|
protectedslot |
Called when the timebase spinbox changes its value.
- Parameters
-
| timebase | The timebase in seconds. |
◆ triggerModeChanged
◆ calfreqComboBox
| QComboBox* HorizontalDock::calfreqComboBox |
|
protected |
Selects the calibration frequency.
◆ calfreqLabel
| QLabel* HorizontalDock::calfreqLabel |
|
protected |
The label for the calibration frequency spinbox.
◆ calfreqSteps
| QList< double > HorizontalDock::calfreqSteps |
|
protected |
Steps for the calfreq spinbox.
◆ dockLayout
| QGridLayout* HorizontalDock::dockLayout |
|
protected |
The main layout for the dock window.
◆ dockWidget
| QWidget* HorizontalDock::dockWidget |
|
protected |
The main widget for the dock window.
◆ formatComboBox
| QComboBox* HorizontalDock::formatComboBox |
|
protected |
Selects the way the sampled data is interpreted and shown
◆ formatLabel
| QLabel* HorizontalDock::formatLabel |
|
protected |
The label for the format combobox.
◆ formatStrings
| QStringList HorizontalDock::formatStrings |
|
protected |
◆ samplerateLabel
| QLabel* HorizontalDock::samplerateLabel |
|
protected |
The label for the samplerate spinbox.
◆ samplerateRequest
| double HorizontalDock::samplerateRequest = 0 |
|
private |
◆ samplerateSiSpinBox
| SiSpinBox* HorizontalDock::samplerateSiSpinBox |
|
protected |
Selects the samplerate for acquisitions.
◆ samplerateSteps
| QList< double > HorizontalDock::samplerateSteps |
|
protected |
◆ scope
The settings provided by the parent class.
◆ timebaseLabel
| QLabel* HorizontalDock::timebaseLabel |
|
protected |
The label for the timebase spinbox.
◆ timebaseSiSpinBox
Selects the timebase for voltage graphs.
◆ timebaseSteps
| QList< double > HorizontalDock::timebaseSteps |
|
protected |
Steps for the timebase spinbox.
The documentation for this class was generated from the following files: