Medical Imaging Interaction Toolkit  2018.4.99-18ddd2ed
Medical Imaging Interaction Toolkit
QmitkAlgorithmListModel Class Reference

#include <QmitkAlgorithmListModel.h>

Inheritance diagram for QmitkAlgorithmListModel:
Collaboration diagram for QmitkAlgorithmListModel:

Public Member Functions

 QmitkAlgorithmListModel (QObject *parent=nullptr)
 
 ~QmitkAlgorithmListModel () override
 
void SetAlgorithms (::map::deployment::DLLDirectoryBrowser::DLLInfoListType algList)
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
 QmitkAlgorithmListModel (QObject *parent=nullptr)
 
 ~QmitkAlgorithmListModel () override
 
void SetAlgorithms (::map::deployment::DLLDirectoryBrowser::DLLInfoListType algList)
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 

Detailed Description

Model that takes a list of MatchPoint algorithm dll handles and represents it as model in context of the QT view-model-concept.

Warning
This class is not yet documented. Use "git blame" and ask the author to provide basic documentation.

Definition at line 30 of file Helper/QmitkAlgorithmListModel.h.

Constructor & Destructor Documentation

◆ QmitkAlgorithmListModel() [1/2]

QmitkAlgorithmListModel::QmitkAlgorithmListModel ( QObject *  parent = nullptr)

Definition at line 21 of file Helper/QmitkAlgorithmListModel.cpp.

References SetAlgorithms().

◆ ~QmitkAlgorithmListModel() [1/2]

QmitkAlgorithmListModel::~QmitkAlgorithmListModel ( )
inlineoverride

Definition at line 36 of file Helper/QmitkAlgorithmListModel.h.

◆ QmitkAlgorithmListModel() [2/2]

QmitkAlgorithmListModel::QmitkAlgorithmListModel ( QObject *  parent = nullptr)

◆ ~QmitkAlgorithmListModel() [2/2]

QmitkAlgorithmListModel::~QmitkAlgorithmListModel ( )
inlineoverride

Definition at line 37 of file I/Qmitk/QmitkAlgorithmListModel.h.

Member Function Documentation

◆ columnCount() [1/2]

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

Definition at line 52 of file Helper/QmitkAlgorithmListModel.cpp.

References data().

Referenced by rowCount().

◆ columnCount() [2/2]

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

◆ data() [1/2]

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

Definition at line 62 of file Helper/QmitkAlgorithmListModel.cpp.

References flags(), and info().

Referenced by columnCount().

◆ data() [2/2]

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

◆ flags() [1/2]

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

Definition at line 114 of file Helper/QmitkAlgorithmListModel.cpp.

References headerData().

Referenced by data().

◆ flags() [2/2]

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

◆ headerData() [1/2]

QVariant QmitkAlgorithmListModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
override

Definition at line 123 of file Helper/QmitkAlgorithmListModel.cpp.

Referenced by flags().

◆ headerData() [2/2]

QVariant QmitkAlgorithmListModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
override

◆ rowCount() [1/2]

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

Definition at line 40 of file Helper/QmitkAlgorithmListModel.cpp.

References columnCount().

Referenced by SetAlgorithms().

◆ rowCount() [2/2]

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

◆ SetAlgorithms() [1/2]

void QmitkAlgorithmListModel::SetAlgorithms ( ::map::deployment::DLLDirectoryBrowser::DLLInfoListType  algList)

Definition at line 29 of file Helper/QmitkAlgorithmListModel.cpp.

References rowCount().

Referenced by QmitkAlgorithmListModel().

◆ SetAlgorithms() [2/2]

void QmitkAlgorithmListModel::SetAlgorithms ( ::map::deployment::DLLDirectoryBrowser::DLLInfoListType  algList)

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