|
OpenHantek
|
Dock window for the trigger settings. It contains the settings for the trigger mode, source and slope. More...
#include <TriggerDock.h>
Signals | |
| void | modeChanged (Dso::TriggerMode) |
| The trigger mode has been changed. | |
| void | sourceChanged (bool special, unsigned int id) |
| The trigger source has been changed. | |
| void | slopeChanged (Dso::Slope) |
| The trigger slope has been changed. | |
Public Member Functions | |
| TriggerDock (DsoSettingsScope *scope, const Dso::ControlSpecification *mSpec, QWidget *parent, Qt::WindowFlags flags=0) | |
| 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 (bool special, unsigned 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. | |
| QWidget * | dockWidget |
| The main widget for the dock window. | |
| QLabel * | modeLabel |
| The label for the trigger mode combobox. | |
| QLabel * | sourceLabel |
| The label for the trigger source combobox. | |
| QLabel * | slopeLabel |
| The label for the trigger slope combobox. | |
| QComboBox * | modeComboBox |
| Select the triggering mode. | |
| QComboBox * | sourceComboBox |
| Select the source for triggering. | |
| QComboBox * | slopeComboBox |
| Select the slope that causes triggering. | |
| DsoSettingsScope * | scope |
| The settings provided by the parent class. | |
| const Dso::ControlSpecification * | mSpec |
| QStringList | sourceStandardStrings |
| Strings for the standard trigger sources. | |
| QStringList | sourceSpecialStrings |
| Strings for the special trigger sources. | |
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 = 0 |
||
| ) |
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. |
| 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 | ( | bool | special, |
| unsigned int | id | ||
| ) |
Changes the trigger source if the new source is supported.
| special | true for a special channel (EXT, ...) as trigger source. |
| id | The number of the channel, that should be used as trigger. |
1.8.14