Dock window for the horizontal axis. It contains the settings for the timebase and the display format.
More...
#include <HorizontalDock.h>
|
|
void | frequencybaseChanged (double frequencybase) |
| | The frequencybase has been changed.
|
| |
|
void | samplerateChanged (double samplerate) |
| | The samplerate has been changed.
|
| |
|
void | timebaseChanged (double timebase) |
| | The timebase has been changed.
|
| |
|
void | recordLengthChanged (unsigned long recordLength) |
| | The recordd length has been changed.
|
| |
|
void | formatChanged (Dso::GraphFormat format) |
| | The viewing format has been changed.
|
| |
|
| | HorizontalDock (DsoSettingsScope *scope, QWidget *parent, Qt::WindowFlags flags=0) |
| | Initializes the horizontal axis docking window.
|
| |
| void | setFrequencybase (double timebase) |
| | Changes the frequencybase.
|
| |
| void | setSamplerate (double samplerate) |
| | Changes the samplerate.
|
| |
| double | setTimebase (double timebase) |
| | Changes the timebase.
|
| |
| void | setRecordLength (unsigned int recordLength) |
| | Changes the record length if the new value is supported.
|
| |
| int | setFormat (Dso::GraphFormat format) |
| | Changes the format if the new value is supported.
|
| |
| void | setAvailableRecordLengths (const std::vector< unsigned > &recordLengths) |
| | Updates the available record lengths in the combo box.
|
| |
| void | setSamplerateLimits (double minimum, double maximum) |
| | Updates the minimum and maximum of the samplerate spin box.
|
| |
| void | setSamplerateSteps (int mode, QList< double > sampleSteps) |
| | Updates the mode and steps of the samplerate spin box.
|
| |
|
| void | frequencybaseSelected (double frequencybase) |
| | Called when the frequencybase spinbox changes its value.
|
| |
| 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 | recordLengthSelected (int index) |
| | Called when the record length combo box changes its value.
|
| |
| void | formatSelected (int index) |
| | Called when the format combo box changes its value.
|
| |
|
| void | closeEvent (QCloseEvent *event) |
| | Don't close the dock, just hide it.
|
| |
|
|
QGridLayout * | dockLayout |
| | The main layout for the dock window.
|
| |
|
QWidget * | dockWidget |
| | The main widget for the dock window.
|
| |
|
QLabel * | samplerateLabel |
| | The label for the samplerate spinbox.
|
| |
|
QLabel * | timebaseLabel |
| | The label for the timebase spinbox.
|
| |
|
QLabel * | frequencybaseLabel |
| | The label for the frequencybase spinbox.
|
| |
|
QLabel * | recordLengthLabel |
| | The label for the record length combobox.
|
| |
|
QLabel * | formatLabel |
| | The label for the format combobox.
|
| |
|
SiSpinBox * | samplerateSiSpinBox |
| | Selects the samplerate for aquisitions.
|
| |
|
SiSpinBox * | timebaseSiSpinBox |
| | Selects the timebase for voltage graphs.
|
| |
|
SiSpinBox * | frequencybaseSiSpinBox |
| | Selects the frequencybase for spectrum graphs.
|
| |
|
QComboBox * | recordLengthComboBox |
| | Selects the record length for aquisitions.
|
| |
| QComboBox * | formatComboBox |
| |
|
DsoSettingsScope * | scope |
| | The settings provided by the parent class.
|
| |
|
QList< double > | timebaseSteps |
| | Steps for the timebase spinbox.
|
| |
|
QStringList | formatStrings |
| | Strings for the formats.
|
| |
Dock window for the horizontal axis. It contains the settings for the timebase and the display format.
◆ HorizontalDock()
| HorizontalDock::HorizontalDock |
( |
DsoSettingsScope * | scope, |
|
|
QWidget * | parent, |
|
|
Qt::WindowFlags | flags = 0 ) |
Initializes the horizontal axis docking window.
- Parameters
-
| settings | The target settings object. |
| parent | The parent widget. |
| flags | Flags for the window manager. |
◆ closeEvent()
| void HorizontalDock::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
protected |
Don't close the dock, just hide it.
- Parameters
-
| event | The close event that should be handled. |
◆ 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. |
◆ frequencybaseSelected
| void HorizontalDock::frequencybaseSelected |
( |
double | frequencybase | ) |
|
|
protectedslot |
Called when the frequencybase spinbox changes its value.
- Parameters
-
| frequencybase | The frequencybase in hertz. |
◆ recordLengthSelected
| void HorizontalDock::recordLengthSelected |
( |
int | index | ) |
|
|
protectedslot |
Called when the record length combo box changes its value.
- Parameters
-
| index | The index of the combo box item. |
◆ samplerateSelected
| void HorizontalDock::samplerateSelected |
( |
double | samplerate | ) |
|
|
protectedslot |
Called when the samplerate spinbox changes its value.
- Parameters
-
| samplerate | The samplerate in samples/second. |
◆ setAvailableRecordLengths()
| void HorizontalDock::setAvailableRecordLengths |
( |
const std::vector< unsigned > & | recordLengths | ) |
|
Updates the available record lengths in the combo box.
- Parameters
-
| recordLengths | The available record lengths for the combo box. |
◆ setFormat()
| int HorizontalDock::setFormat |
( |
Dso::GraphFormat | format | ) |
|
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.
◆ setFrequencybase()
| void HorizontalDock::setFrequencybase |
( |
double | timebase | ) |
|
Changes the frequencybase.
- Parameters
-
| frequencybase | The frequencybase in hertz. |
◆ setRecordLength()
| void HorizontalDock::setRecordLength |
( |
unsigned int | recordLength | ) |
|
Changes the record length if the new value is supported.
- Parameters
-
| recordLength | The record length in samples. |
◆ setSamplerate()
| void 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
-
| mode | The mode value the spin box should accept. |
| steps | The steps value the spin box should accept. |
◆ setTimebase()
| double HorizontalDock::setTimebase |
( |
double | timebase | ) |
|
Changes the timebase.
- Parameters
-
| timebase | The timebase in seconds. |
◆ timebaseSelected
| void HorizontalDock::timebaseSelected |
( |
double | timebase | ) |
|
|
protectedslot |
Called when the timebase spinbox changes its value.
- Parameters
-
| timebase | The timebase in seconds. |
◆ formatComboBox
| QComboBox* HorizontalDock::formatComboBox |
|
protected |
Selects the way the sampled data is interpreted and shown
The documentation for this class was generated from the following files: