Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkAutomatedLayoutWidget Class Reference

Widget that lets users select image nodes and request an automated render window layout. More...

#include <QmitkAutomatedLayoutWidget.h>

Inheritance diagram for QmitkAutomatedLayoutWidget:
Collaboration diagram for QmitkAutomatedLayoutWidget:

Signals

void SetDataBasedLayout (const QList< mitk::DataNode::Pointer > &nodes)
 Emitted when the user confirms a node selection for automated layout. More...
 

Public Member Functions

 QmitkAutomatedLayoutWidget (QWidget *parent=nullptr)
 Construct the automated layout widget. More...
 
 ~QmitkAutomatedLayoutWidget () override
 Destructor. More...
 
void SetDataStorage (mitk::DataStorage::Pointer dataStorage)
 Set the data storage from which image nodes can be selected. More...
 

Detailed Description

Widget that lets users select image nodes and request an automated render window layout.

Provides a node selection dialog (filtered to visible, non-helper image nodes) and a "Set Layout" button. When the user confirms the selection, the SetDataBasedLayout signal is emitted with the chosen nodes so that the application can arrange render windows accordingly.

Definition at line 46 of file QmitkAutomatedLayoutWidget.h.

Constructor & Destructor Documentation

◆ QmitkAutomatedLayoutWidget()

QmitkAutomatedLayoutWidget::QmitkAutomatedLayoutWidget ( QWidget *  parent = nullptr)
explicit

Construct the automated layout widget.

Parameters
parentThe parent widget (optional).

◆ ~QmitkAutomatedLayoutWidget()

QmitkAutomatedLayoutWidget::~QmitkAutomatedLayoutWidget ( )
override

Destructor.

Member Function Documentation

◆ SetDataBasedLayout

void QmitkAutomatedLayoutWidget::SetDataBasedLayout ( const QList< mitk::DataNode::Pointer > &  nodes)
signal

Emitted when the user confirms a node selection for automated layout.

Parameters
nodesThe list of selected data nodes to arrange in render windows.

◆ SetDataStorage()

void QmitkAutomatedLayoutWidget::SetDataStorage ( mitk::DataStorage::Pointer  dataStorage)

Set the data storage from which image nodes can be selected.

Parameters
dataStoragePointer to the data storage to use.

The documentation for this class was generated from the following file: