Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
QmitkBoolPropertyWidget.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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
#ifndef QMITK_BOOLPROPERTYVIEW_H_INCLUDED
17
#define QMITK_BOOLPROPERTYVIEW_H_INCLUDED
18
19
#include "
MitkQtWidgetsExtExports.h
"
20
#include <QCheckBox>
21
#include <
mitkProperties.h
>
22
23
class
_BoolPropertyWidgetImpl;
24
26
class
MITKQTWIDGETSEXT_EXPORT
QmitkBoolPropertyWidget
:
public
QCheckBox
27
{
28
Q_OBJECT
29
30
public
:
31
QmitkBoolPropertyWidget
(QWidget *parent =
nullptr
);
32
QmitkBoolPropertyWidget
(
const
QString &text, QWidget *parent =
nullptr
);
33
virtual
~
QmitkBoolPropertyWidget
();
34
35
void
SetProperty(
mitk::BoolProperty
*property);
36
37
protected
slots:
38
39
void
onToggle(
bool
on);
40
41
protected
:
42
_BoolPropertyWidgetImpl *
m_PropEditorImpl
;
43
};
44
45
#endif
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition:
MitkQtWidgetsExtExports.h:15
mitk::BoolProperty
Definition:
mitkProperties.h:26
mitkProperties.h
QmitkBoolPropertyWidget
Definition:
QmitkBoolPropertyWidget.h:26
QmitkBoolPropertyWidget::m_PropEditorImpl
_BoolPropertyWidgetImpl * m_PropEditorImpl
Definition:
QmitkBoolPropertyWidget.h:42
MitkQtWidgetsExtExports.h
git
MITK
Modules
QtWidgetsExt
include
QmitkBoolPropertyWidget.h
Generated on Fri Feb 3 2017 20:52:12 for Medical Imaging Interaction Toolkit by
1.8.9.1