void setMode(Dso::TriggerMode mode)
Changes the trigger mode if the new mode is supported.
Definition: TriggerDock.cpp:107
TriggerDock(DsoSettingsScope *scope, const Dso::ControlSpecification *mSpec, QWidget *parent)
Initializes the trigger settings docking window.
Definition: TriggerDock.cpp:22
Slope
The slope that causes a trigger.
Definition: enums.h:45
void loadSettings(DsoSettingsScope *scope)
Loads settings into GUI.
Definition: TriggerDock.cpp:89
QStringList sourceStandardStrings
Strings for the standard trigger sources.
Definition: TriggerDock.h:69
QLabel * sourceLabel
The label for the trigger source combobox.
Definition: TriggerDock.h:59
QLabel * modeLabel
The label for the trigger mode combobox.
Definition: TriggerDock.h:58
void setSlope(Dso::Slope slope)
Changes the trigger slope if the new slope is supported.
Definition: TriggerDock.cpp:116
QGridLayout * dockLayout
The main layout for the dock window.
Definition: TriggerDock.h:56
QComboBox * modeComboBox
Select the triggering mode.
Definition: TriggerDock.h:61
const Dso::ControlSpecification * mSpec
Definition: TriggerDock.h:67
QStringList smoothStandardStrings
Strings for the standard trigger filtering.
Definition: TriggerDock.h:70
void sourceChanged(int id)
The trigger source has been changed.
void slopeChanged(Dso::Slope)
The trigger slope has been changed.
QComboBox * smoothComboBox
Select the filter for triggering.
Definition: TriggerDock.h:63
TriggerMode
The different triggering modes.
Definition: enums.h:35
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
Stores the specifications of the currently connected device.
Definition: controlspecification.h:42
void smoothChanged(int smooth)
The trigger smoothing has been changed.
DsoSettingsScope * scope
The settings provided by the parent class.
Definition: TriggerDock.h:66
QWidget * dockWidget
The main widget for the dock window.
Definition: TriggerDock.h:57
void closeEvent(QCloseEvent *event)
Don't close the dock, just hide it.
Definition: TriggerDock.cpp:101
void setSource(int id)
Changes the trigger source if the new source is supported.
Definition: TriggerDock.cpp:123
Dock window for the trigger settings. It contains the settings for the trigger mode, source and slope.
Definition: TriggerDock.h:21
QComboBox * sourceComboBox
Select the source for triggering.
Definition: TriggerDock.h:62
QLabel * slopeLabel
The label for the trigger slope combobox.
Definition: TriggerDock.h:60
void setSmooth(int smooth)
Changes the trigger smoothing.
Definition: TriggerDock.cpp:132
QComboBox * slopeComboBox
Select the slope that causes triggering.
Definition: TriggerDock.h:64
Holds the settings for the oscilloscope.
Definition: scopesettings.h:82
void modeChanged(Dso::TriggerMode)
The trigger mode has been changed.
Definition: TriggerDock.h:15