Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkSimpleBarrierTypeDelegate.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 QmitkSimpleBarrierTypeDelegate_h
14
#define QmitkSimpleBarrierTypeDelegate_h
15
16
17
#include <QStyledItemDelegate>
18
19
#include "
MitkModelFitUIExports.h
"
20
21
25
class
MITKMODELFITUI_EXPORT
QmitkSimpleBarrierTypeDelegate
:
public
QStyledItemDelegate
26
{
27
Q_OBJECT
28
29
public
:
30
31
QmitkSimpleBarrierTypeDelegate
(QObject* parent =
nullptr
);
32
33
QWidget* createEditor(QWidget* parent,
const
QStyleOptionViewItem& option
34
,
const
QModelIndex& index)
const override
;
35
36
void
setEditorData(QWidget* editor,
const
QModelIndex& index)
const override
;
37
38
void
setModelData(QWidget* editor, QAbstractItemModel* model,
const
QModelIndex& index)
const override
;
39
};
40
41
#endif
QmitkSimpleBarrierTypeDelegate
An item delegate for rendering and editing the type of a simple barrier constraint....
Definition:
QmitkSimpleBarrierTypeDelegate.h:25
MITKMODELFITUI_EXPORT
#define MITKMODELFITUI_EXPORT
Definition:
MitkModelFitUIExports.h:15
MitkModelFitUIExports.h
src
MITK
Modules
ModelFitUI
Qmitk
QmitkSimpleBarrierTypeDelegate.h
Generated on Sat Nov 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17