#include <ROSPlugin/Include/ImFusion/ROS/ROSSettingsWidget.h>
Simple Qt widget to configure the ROSPluginSettings.
More...
Simple Qt widget to configure the ROSPluginSettings.
|
| enum class | Contents { None = 0
, Workspaces = 1
, Everything = 0xFF
} |
| | Bitflag enumeration to define which settings to show. More...
|
|
| | SettingsWidget (Flags< Contents > shownSettings=Contents::Everything, QWidget *parent=nullptr) |
| | Instantiate a new Qt widget to configure the DICOM settings.
|
| bool | updateWidget () override |
| | Update the widget in the Settings Dialog.
|
| virtual void | configureDefaults () |
| | Retrieve the properties of this object, replaces values with their defaults and sets it again.
|
|
void | registerParameter (ParameterBase *param) |
| | Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
|
|
void | unregisterParameter (const ParameterBase *param) |
| | Remove the given Parameter or SubProperty from the list of registered parameters.
|
|
| Configurable (const Configurable &rhs) |
|
| Configurable (Configurable &&rhs) noexcept |
|
Configurable & | operator= (const Configurable &) |
|
Configurable & | operator= (Configurable &&) noexcept |
|
|
Signal | signalParametersChanged |
| | Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
|
|
std::vector< Param > | m_params |
| | List of all registered Parameter and SubProperty instances.
|
◆ Contents
Bitflag enumeration to define which settings to show.
| Enumerator |
|---|
| Everything | Show all settings.
|
◆ SettingsWidget()
Instantiate a new Qt widget to configure the DICOM settings.
- Parameters
-
| shownSettings | Selection of settings to show |
| parent | parent widget |
◆ updateWidget()
| bool ImFusion::ROS::SettingsWidget::updateWidget |
( |
| ) |
|
|
overridevirtual |
Update the widget in the Settings Dialog.
By default the settings fields of the custom settings will not change after they were registered with SettingsDialog. However if you need to update the fields of your settings widget by adding or removing sub-properties and parameters, have this function return true to indicate that.
Reimplemented from ImFusion::SettingsDialog::CustomSettingsWidget.
The documentation for this class was generated from the following file:
- ROSPlugin/Include/ImFusion/ROS/ROSSettingsWidget.h