Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkRenderWindowDataNodeTableModel Class Reference

#include <QmitkRenderWindowDataNodeTableModel.h>

Inheritance diagram for QmitkRenderWindowDataNodeTableModel:
Collaboration diagram for QmitkRenderWindowDataNodeTableModel:

Public Types

using NodeList = QList< mitk::DataNode::Pointer >
 

Signals

void ModelUpdated ()
 

Public Member Functions

 QmitkRenderWindowDataNodeTableModel (QObject *parent=nullptr)
 
void UpdateModelData ()
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 
void SetCurrentRenderer (mitk::BaseRenderer *baseRenderer)
 
mitk::BaseRenderer::Pointer GetCurrentRenderer () const
 
void SetCurrentSelection (NodeList selectedNodes)
 
NodeList GetCurrentSelection () const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
 
QModelIndex parent (const QModelIndex &child) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
Qt::DropActions supportedDropActions () const override
 
Qt::DropActions supportedDragActions () const override
 
QStringList mimeTypes () const override
 
QMimeData * mimeData (const QModelIndexList &indexes) const override
 
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override
 

Detailed Description

Definition at line 34 of file QmitkRenderWindowDataNodeTableModel.h.

Member Typedef Documentation

◆ NodeList

Constructor & Destructor Documentation

◆ QmitkRenderWindowDataNodeTableModel()

QmitkRenderWindowDataNodeTableModel::QmitkRenderWindowDataNodeTableModel ( QObject *  parent = nullptr)

Member Function Documentation

◆ columnCount()

int QmitkRenderWindowDataNodeTableModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ data()

QVariant QmitkRenderWindowDataNodeTableModel::data ( const QModelIndex &  index,
int  role 
) const
override

◆ dropMimeData()

bool QmitkRenderWindowDataNodeTableModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)
override

◆ flags()

Qt::ItemFlags QmitkRenderWindowDataNodeTableModel::flags ( const QModelIndex &  index) const
override

◆ GetCurrentRenderer()

mitk::BaseRenderer::Pointer QmitkRenderWindowDataNodeTableModel::GetCurrentRenderer ( ) const

◆ GetCurrentSelection()

NodeList QmitkRenderWindowDataNodeTableModel::GetCurrentSelection ( ) const

◆ index()

QModelIndex QmitkRenderWindowDataNodeTableModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
override

◆ mimeData()

QMimeData* QmitkRenderWindowDataNodeTableModel::mimeData ( const QModelIndexList &  indexes) const
override

◆ mimeTypes()

QStringList QmitkRenderWindowDataNodeTableModel::mimeTypes ( ) const
override

◆ ModelUpdated

void QmitkRenderWindowDataNodeTableModel::ModelUpdated ( )
signal

◆ parent()

QModelIndex QmitkRenderWindowDataNodeTableModel::parent ( const QModelIndex &  child) const
override

◆ rowCount()

int QmitkRenderWindowDataNodeTableModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ SetCurrentRenderer()

void QmitkRenderWindowDataNodeTableModel::SetCurrentRenderer ( mitk::BaseRenderer baseRenderer)

◆ SetCurrentSelection()

void QmitkRenderWindowDataNodeTableModel::SetCurrentSelection ( NodeList  selectedNodes)

◆ setData()

bool QmitkRenderWindowDataNodeTableModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
override

◆ SetDataStorage()

void QmitkRenderWindowDataNodeTableModel::SetDataStorage ( mitk::DataStorage dataStorage)

◆ supportedDragActions()

Qt::DropActions QmitkRenderWindowDataNodeTableModel::supportedDragActions ( ) const
override

◆ supportedDropActions()

Qt::DropActions QmitkRenderWindowDataNodeTableModel::supportedDropActions ( ) const
override

◆ UpdateModelData()

void QmitkRenderWindowDataNodeTableModel::UpdateModelData ( )

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