Dock window for the voltage channel settings. It contains the settings for gain and coupling for both channels and allows to enable/disable the channels.
More...
#include <VoltageDock.h>
|
|
void | couplingChanged (ChannelID channel, Dso::Coupling coupling) |
| | A coupling has been selected.
|
| |
|
void | gainChanged (ChannelID channel, double gain) |
| | A gain has been selected.
|
| |
|
void | modeChanged (Dso::MathMode mode) |
| | The mode for the math channels has been changed.
|
| |
|
void | usedChanged (ChannelID channel, bool used) |
| | A channel has been enabled/disabled.
|
| |
|
| | VoltageDock (DsoSettingsScope *scope, const Dso::ControlSpecification *spec, QWidget *parent, Qt::WindowFlags flags=0) |
| | Initializes the vertical axis docking window.
|
| |
| void | setCoupling (ChannelID channel, unsigned couplingIndex) |
| | Sets the coupling for a channel.
|
| |
| void | setGain (ChannelID channel, unsigned gainStepIndex) |
| | Sets the gain for a channel.
|
| |
| void | setMode (unsigned mathModeIndex) |
| | Sets the mode for the math channel.
|
| |
| void | setUsed (ChannelID channel, bool used) |
| | Enables/disables a channel.
|
| |
|
| 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.
|
| |
|
std::vector< ChannelBlock > | channelBlocks |
| |
|
DsoSettingsScope * | scope |
| | The settings provided by the parent class.
|
| |
|
const Dso::ControlSpecification * | spec |
| |
|
QStringList | couplingStrings |
| | The strings for the couplings.
|
| |
|
QStringList | modeStrings |
| | The strings for the math mode.
|
| |
|
QStringList | gainStrings |
| | String representations for the gain steps.
|
| |
Dock window for the voltage channel settings. It contains the settings for gain and coupling for both channels and allows to enable/disable the channels.
◆ VoltageDock()
Initializes the vertical axis docking window.
- Parameters
-
| settings | The target settings object. |
| parent | The parent widget. |
| flags | Flags for the window manager. |
◆ closeEvent()
| void VoltageDock::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
protected |
Don't close the dock, just hide it.
- Parameters
-
| event | The close event that should be handled. |
◆ setCoupling()
| void VoltageDock::setCoupling |
( |
ChannelID | channel, |
|
|
unsigned | couplingIndex ) |
Sets the coupling for a channel.
- Parameters
-
| channel | The channel, whose coupling should be set. |
| couplingIndex | The coupling-mode index. |
◆ setGain()
| void VoltageDock::setGain |
( |
ChannelID | channel, |
|
|
unsigned | gainStepIndex ) |
Sets the gain for a channel.
- Parameters
-
| channel | The channel, whose gain should be set. |
| gain | The gain in volts. |
◆ setMode()
| void VoltageDock::setMode |
( |
unsigned | mathModeIndex | ) |
|
Sets the mode for the math channel.
- Parameters
-
| mathModeIndex | The math-mode index. |
◆ setUsed()
| void VoltageDock::setUsed |
( |
ChannelID | channel, |
|
|
bool | used ) |
Enables/disables a channel.
- Parameters
-
| channel | The channel, that should be enabled/disabled. |
| used | True if the channel should be enabled, false otherwise. |
The documentation for this class was generated from the following files: