Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
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 (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
#ifndef QmitkStringPropertyEditor_h
13
#define QmitkStringPropertyEditor_h
14
15
#include "
MitkQtWidgetsExtExports.h
"
16
#include <QLineEdit>
17
#include <
mitkPropertyObserver.h
>
18
#include <
mitkStringProperty.h
>
19
21
class
MITKQTWIDGETSEXT_EXPORT
QmitkStringPropertyEditor
:
public
QLineEdit,
public
mitk::PropertyEditor
22
{
23
Q_OBJECT
24
25
public
:
26
QmitkStringPropertyEditor
(
mitk::StringProperty
*, QWidget *parent);
27
~
QmitkStringPropertyEditor
()
override
;
28
29
protected
:
30
void
PropertyChanged
()
override
;
31
void
PropertyRemoved
()
override
;
32
33
mitk::StringProperty
*
m_StringProperty
;
34
35
protected
slots:
36
37
void
onTextChanged(
const
QString &);
38
39
private
:
40
};
41
42
#endif
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition:
MitkQtWidgetsExtExports.h:15
mitk::StringProperty
Property for strings.
Definition:
mitkStringProperty.h:34
mitk::PropertyObserver::PropertyChanged
virtual void PropertyChanged()=0
mitk::PropertyObserver::PropertyRemoved
virtual void PropertyRemoved()=0
mitkStringProperty.h
mitk::PropertyEditor
Definition:
mitkPropertyObserver.h:67
mitkPropertyObserver.h
MitkQtWidgetsExtExports.h
QmitkStringPropertyEditor::m_StringProperty
mitk::StringProperty * m_StringProperty
Definition:
QmitkStringPropertyEditor.h:33
QmitkStringPropertyEditor
Definition:
QmitkStringPropertyEditor.h:21
src
MITK
Modules
QtWidgetsExt
include
QmitkStringPropertyEditor.h
Generated on Mon Jun 17 2024 12:43:31 for Medical Imaging Interaction Toolkit by
1.8.17