|
OpenHantek
|
Dock window for the trigger settings. It contains the settings for the trigger mode, source and slope. More...
#include <TriggerDock.h>
Public Slots | |
| void | loadSettings (DsoSettingsScope *scope) |
| Loads settings into GUI. More... | |
Signals | |
| void | modeChanged (Dso::TriggerMode) |
| The trigger mode has been changed. More... | |
| void | sourceChanged (unsigned int id, bool smooth) |
| The trigger source has been changed. More... | |
| void | slopeChanged (Dso::Slope) |
| The trigger slope has been changed. More... | |
Public Member Functions | |
| TriggerDock (DsoSettingsScope *scope, const Dso::ControlSpecification *mSpec, QWidget *parent, Qt::WindowFlags flags=nullptr) | |
| Initializes the trigger settings docking window. More... | |
| void | setMode (Dso::TriggerMode mode) |
| Changes the trigger mode if the new mode is supported. More... | |
| void | setSource (int id) |
| Changes the trigger source if the new source is supported. More... | |
| void | setSlope (Dso::Slope slope) |
| Changes the trigger slope if the new slope is supported. More... | |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) |
| Don't close the dock, just hide it. More... | |
Protected Attributes | |
| QGridLayout * | dockLayout |
| The main layout for the dock window. More... | |
| QWidget * | dockWidget |
| The main widget for the dock window. More... | |
| QLabel * | modeLabel |
| The label for the trigger mode combobox. More... | |
| QLabel * | sourceLabel |
| The label for the trigger source combobox. More... | |
| QLabel * | slopeLabel |
| The label for the trigger slope combobox. More... | |
| QComboBox * | modeComboBox |
| Select the triggering mode. More... | |
| QComboBox * | sourceComboBox |
| Select the source for triggering. More... | |
| QComboBox * | slopeComboBox |
| Select the slope that causes triggering. More... | |
| DsoSettingsScope * | scope |
| The settings provided by the parent class. More... | |
| const Dso::ControlSpecification * | mSpec |
| QStringList | sourceStandardStrings |
| Strings for the standard trigger sources. More... | |
Dock window for the trigger settings. It contains the settings for the trigger mode, source and slope.
| TriggerDock::TriggerDock | ( | DsoSettingsScope * | scope, |
| const Dso::ControlSpecification * | mSpec, | ||
| QWidget * | parent, | ||
| Qt::WindowFlags | flags = nullptr |
||
| ) |
Initializes the trigger settings docking window.
| settings | The target settings object. |
| spec | |
| parent | The parent widget. |
| flags | Flags for the window manager. |
|
protected |
Don't close the dock, just hide it.
| event | The close event that should be handled. |
|
slot |
Loads settings into GUI.
| scope | Settings to load |
|
signal |
The trigger mode has been changed.
| void TriggerDock::setMode | ( | Dso::TriggerMode | mode | ) |
Changes the trigger mode if the new mode is supported.
| mode | The trigger mode. |
| void TriggerDock::setSlope | ( | Dso::Slope | slope | ) |
Changes the trigger slope if the new slope is supported.
| slope | The trigger slope. |
| void TriggerDock::setSource | ( | int | id | ) |
Changes the trigger source if the new source is supported.
| id | The number of the channel, that should be used as trigger. |
|
signal |
The trigger slope has been changed.
|
signal |
The trigger source has been changed.
|
protected |
The main layout for the dock window.
|
protected |
The main widget for the dock window.
|
protected |
Select the triggering mode.
|
protected |
The label for the trigger mode combobox.
|
protected |
|
protected |
The settings provided by the parent class.
|
protected |
Select the slope that causes triggering.
|
protected |
The label for the trigger slope combobox.
|
protected |
Select the source for triggering.
|
protected |
The label for the trigger source combobox.
|
protected |
Strings for the standard trigger sources.