Medical Imaging Interaction Toolkit  2023.12.99-f298153c
Medical Imaging Interaction Toolkit
QmitkSimpleBarrierParametersDelegate.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 QmitkSimpleBarrierParametersDelegate_h
14 #define QmitkSimpleBarrierParametersDelegate_h
15 
16 
18 #include <QStyledItemDelegate>
19 
20 #include "MitkModelFitUIExports.h"
21 
22 
30 {
31  Q_OBJECT
32 
33 public:
34 
35  QmitkSimpleBarrierParametersDelegate(QObject* parent = nullptr);
36 
37  void paint(QPainter* painter, const QStyleOptionViewItem& option
38  , const QModelIndex& index) const override;
39 
40  QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option
41  , const QModelIndex& index) const override;
42 
43  void setEditorData(QWidget* editor, const QModelIndex& index) const override;
44 
45  void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override;
46 
47 };
48 
49 #endif
MITKMODELFITUI_EXPORT
#define MITKMODELFITUI_EXPORT
Definition: MitkModelFitUIExports.h:15
QmitkSimpleBarrierParametersDelegate
Toolkit includes.
Definition: QmitkSimpleBarrierParametersDelegate.h:29
MitkModelFitUIExports.h