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
QmitkColorPropertyView.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_COLORPROPERTYVIEW_H_INCLUDED
17
#define QMITK_COLORPROPERTYVIEW_H_INCLUDED
18
19
#include "
MitkQtWidgetsExtExports.h
"
20
#include <QLabel>
21
#include <
mitkColorProperty.h
>
22
#include <
mitkPropertyObserver.h
>
23
25
class
MITKQTWIDGETSEXT_EXPORT
QmitkColorPropertyView
:
public
QLabel,
public
mitk::PropertyView
26
{
27
Q_OBJECT
28
29
public
:
30
QmitkColorPropertyView
(
const
mitk::ColorProperty
*, QWidget *parent);
31
virtual
~
QmitkColorPropertyView
();
32
33
protected
:
34
virtual
void
PropertyChanged
()
override
;
35
virtual
void
PropertyRemoved
()
override
;
36
37
void
DisplayColor();
38
39
const
mitk::ColorProperty
*
m_ColorProperty
;
40
41
QPalette
m_WidgetPalette
;
42
};
43
44
#endif
mitkColorProperty.h
mitk::PropertyObserver::PropertyRemoved
virtual void PropertyRemoved()=0
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition:
MitkQtWidgetsExtExports.h:15
mitk::ColorProperty
The ColorProperty class RGB color property.
Definition:
mitkColorProperty.h:51
QmitkColorPropertyView::m_WidgetPalette
QPalette m_WidgetPalette
Definition:
QmitkColorPropertyView.h:41
mitk::PropertyView
Definition:
mitkPropertyObserver.h:58
mitk::PropertyObserver::PropertyChanged
virtual void PropertyChanged()=0
QmitkColorPropertyView::m_ColorProperty
const mitk::ColorProperty * m_ColorProperty
Definition:
QmitkColorPropertyView.h:39
MitkQtWidgetsExtExports.h
QmitkColorPropertyView
Definition:
QmitkColorPropertyView.h:25
mitkPropertyObserver.h
git
MITK
Modules
QtWidgetsExt
include
QmitkColorPropertyView.h
Generated on Fri Feb 3 2017 20:52:12 for Medical Imaging Interaction Toolkit by
1.8.9.1