Toolbar for configuring a QmitkAbstractMultiWidget layout and interaction scheme.
More...
#include <QmitkMultiWidgetConfigurationToolBar.h>
Toolbar for configuring a QmitkAbstractMultiWidget layout and interaction scheme.
Provides buttons for setting the multi-widget layout (row/column grid), toggling synchronized scrolling, and switching the interaction scheme (e.g., MITK default vs. PACS mode). A popup widget allows custom layout selection and data-based layout configuration.
- See also
- QmitkAbstractMultiWidget
-
QmitkMultiWidgetLayoutSelectionWidget
-
QmitkInteractionSchemeToolBar
Definition at line 41 of file QmitkMultiWidgetConfigurationToolBar.h.
◆ QmitkMultiWidgetConfigurationToolBar()
Constructs the toolbar for the given multi-widget.
- Parameters
-
| [in] | multiWidget | The multi-widget to configure. |
◆ ~QmitkMultiWidgetConfigurationToolBar()
| QmitkMultiWidgetConfigurationToolBar::~QmitkMultiWidgetConfigurationToolBar |
( |
| ) |
|
|
override |
◆ InteractionSchemeChanged
Emitted when the interaction scheme changes.
- Parameters
-
| [in] | scheme | The new interaction scheme. |
◆ LayoutSet
| void QmitkMultiWidgetConfigurationToolBar::LayoutSet |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
signal |
Emitted when a grid layout is selected.
- Parameters
-
| [in] | row | The number of rows. |
| [in] | column | The number of columns. |
◆ LoadLayout
| void QmitkMultiWidgetConfigurationToolBar::LoadLayout |
( |
const nlohmann::json * |
jsonData | ) |
|
|
signal |
Emitted when the user requests to load a layout from JSON.
- Parameters
-
| [in] | jsonData | The JSON data to load from. |
◆ OnInteractionSchemeChanged
| void QmitkMultiWidgetConfigurationToolBar::OnInteractionSchemeChanged |
( |
| ) |
|
|
protectedslot |
◆ OnSetLayout
| void QmitkMultiWidgetConfigurationToolBar::OnSetLayout |
( |
| ) |
|
|
protectedslot |
◆ OnSynchronize
| void QmitkMultiWidgetConfigurationToolBar::OnSynchronize |
( |
| ) |
|
|
protectedslot |
◆ SaveLayout
| void QmitkMultiWidgetConfigurationToolBar::SaveLayout |
( |
std::ostream * |
outStream | ) |
|
|
signal |
Emitted when the user requests to save the current layout.
- Parameters
-
| [in] | outStream | The output stream to write the layout to. |
◆ SetDataBasedLayout
| void QmitkMultiWidgetConfigurationToolBar::SetDataBasedLayout |
( |
const QList< mitk::DataNode::Pointer > & |
nodes | ) |
|
|
signal |
Emitted when a data-based layout is requested.
- Parameters
-
| [in] | nodes | The selected data nodes for the layout. |
◆ SetDataStorage()
| void QmitkMultiWidgetConfigurationToolBar::SetDataStorage |
( |
mitk::DataStorage::Pointer |
dataStorage | ) |
|
Sets the data storage for data-based layout operations.
- Parameters
-
| [in] | dataStorage | The data storage to use. |
◆ Synchronized
| void QmitkMultiWidgetConfigurationToolBar::Synchronized |
( |
bool |
synchronized | ) |
|
|
signal |
Emitted when the synchronization state changes.
- Parameters
-
| [in] | synchronized | True if synchronized scrolling is enabled. |
The documentation for this class was generated from the following file: