Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
include/QmitkAlgorithmListModel.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkAlgorithmListModel_h
14 #define QmitkAlgorithmListModel_h
15 
16 #include <QAbstractTableModel>
17 #include <QStringList>
18 
19 //MITK
21 
22 // MatchPoint
23 #include <mapDeploymentDLLDirectoryBrowser.h>
24 
31 {
32  Q_OBJECT
33 
34  public:
35  QmitkAlgorithmListModel(QObject *parent = nullptr);
36  ~QmitkAlgorithmListModel() override {};
37 
38  void SetAlgorithms(::map::deployment::DLLDirectoryBrowser::DLLInfoListType algList);
39 
40  Qt::ItemFlags flags(const QModelIndex &index) const override;
41  QVariant data(const QModelIndex &index, int role) const override;
42  QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
43  int rowCount(const QModelIndex &parent = QModelIndex()) const override;
44  int columnCount(const QModelIndex &parent = QModelIndex()) const override;
45 
46 private:
47 
48  ::map::deployment::DLLDirectoryBrowser::DLLInfoListType m_AlgList;
49 };
50 
51 #endif
MitkMatchPointRegistrationExports.h
QmitkAlgorithmListModel::~QmitkAlgorithmListModel
~QmitkAlgorithmListModel() override
Definition: include/QmitkAlgorithmListModel.h:36
QmitkAlgorithmListModel
Definition: include/QmitkAlgorithmListModel.h:30
MITKMATCHPOINTREGISTRATION_EXPORT
#define MITKMATCHPOINTREGISTRATION_EXPORT
Definition: MitkMatchPointRegistrationExports.h:15