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
QmitkStringPropertyEditor.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_STRINGPROPERTYEDITOR_H_INCLUDED
17
#define QMITK_STRINGPROPERTYEDITOR_H_INCLUDED
18
19
#include "
MitkQtWidgetsExtExports.h
"
20
#include <QLineEdit>
21
#include <
mitkPropertyObserver.h
>
22
#include <
mitkStringProperty.h
>
23
25
class
MITKQTWIDGETSEXT_EXPORT
QmitkStringPropertyEditor
:
public
QLineEdit,
public
mitk::PropertyEditor
26
{
27
Q_OBJECT
28
29
public
:
30
QmitkStringPropertyEditor
(
mitk::StringProperty
*, QWidget *parent);
31
virtual
~
QmitkStringPropertyEditor
();
32
33
protected
:
34
virtual
void
PropertyChanged
()
override
;
35
virtual
void
PropertyRemoved
()
override
;
36
37
mitk::StringProperty
*
m_StringProperty
;
38
39
protected
slots:
40
41
void
onTextChanged(
const
QString &);
42
43
private
:
44
};
45
46
#endif
QmitkStringPropertyEditor::m_StringProperty
mitk::StringProperty * m_StringProperty
Definition:
QmitkStringPropertyEditor.h:37
mitkStringProperty.h
mitk::PropertyObserver::PropertyRemoved
virtual void PropertyRemoved()=0
mitk::PropertyEditor
Definition:
mitkPropertyObserver.h:71
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition:
MitkQtWidgetsExtExports.h:15
mitk::PropertyObserver::PropertyChanged
virtual void PropertyChanged()=0
MitkQtWidgetsExtExports.h
mitk::StringProperty
Property for strings.
Definition:
mitkStringProperty.h:38
QmitkStringPropertyEditor
Definition:
QmitkStringPropertyEditor.h:25
mitkPropertyObserver.h
git
MITK
Modules
QtWidgetsExt
include
QmitkStringPropertyEditor.h
Generated on Fri Feb 3 2017 20:52:15 for Medical Imaging Interaction Toolkit by
1.8.9.1