13 #ifndef QmitkAlgorithmListModel_h
14 #define QmitkAlgorithmListModel_h
16 #include <QAbstractTableModel>
17 #include <QStringList>
23 #include <mapDeploymentDLLDirectoryBrowser.h>
63 void SetAlgorithms(::map::deployment::DLLDirectoryBrowser::DLLInfoListType algList);
70 Qt::ItemFlags
flags(
const QModelIndex &index)
const override;
82 QVariant
data(
const QModelIndex &index,
int role)
const override;
95 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const override;
102 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
109 int columnCount(
const QModelIndex &parent = QModelIndex())
const override;
112 ::map::deployment::DLLDirectoryBrowser::DLLInfoListType m_AlgList;
#define MITKMATCHPOINTREGISTRATIONUI_EXPORT
Qt table model representing a list of MatchPoint registration algorithm DLL handles.
QmitkAlgorithmListModel(QObject *parent=nullptr)
Constructs the algorithm list model.
Qt::ItemFlags flags(const QModelIndex &index) const override
Returns item flags for the given model index.
QVariant data(const QModelIndex &index, int role) const override
Returns data for the given model index and role.
~QmitkAlgorithmListModel() override
Destructor.
QVariant headerData(int section, Qt::Orientation orientation, int role) const override
Returns header data for the given section, orientation, and role.
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Returns the number of rows (algorithms) in the model.
int columnCount(const QModelIndex &parent=QModelIndex()) const override
Returns the number of columns in the model.
void SetAlgorithms(::map::deployment::DLLDirectoryBrowser::DLLInfoListType algList)
Sets the list of algorithm DLL info objects to be displayed.