Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkModelViewSelectionConnector.h File Reference
#include <MitkQtWidgetsExports.h>
#include <QmitkAbstractDataStorageModel.h>
#include <QAbstractItemView>

Go to the source code of this file.

Classes

class  QmitkModelViewSelectionConnector
 Bridges the selection between a Qt model-view pair and external MITK node selections. More...
 

Functions

bool MITKQTWIDGETS_EXPORT EqualNodeSelections (const QList< mitk::DataNode::Pointer > &selection1, const QList< mitk::DataNode::Pointer > &selection2)
 Compares two node selections for equality regardless of order. More...
 

Function Documentation

◆ EqualNodeSelections()

bool MITKQTWIDGETS_EXPORT EqualNodeSelections ( const QList< mitk::DataNode::Pointer > &  selection1,
const QList< mitk::DataNode::Pointer > &  selection2 
)

Compares two node selections for equality regardless of order.

Parameters
[in]selection1The first selection list.
[in]selection2The second selection list.
Returns
True if both selections contain the same nodes (in any order), false otherwise.