Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
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 (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 QmitkColorPropertyView_h
13
#define QmitkColorPropertyView_h
14
15
#include "
MitkQtWidgetsExtExports.h
"
16
#include <QLabel>
17
#include <
mitkColorProperty.h
>
18
#include <
mitkPropertyObserver.h
>
19
21
class
MITKQTWIDGETSEXT_EXPORT
QmitkColorPropertyView
:
public
QLabel,
public
mitk::PropertyView
22
{
23
Q_OBJECT
24
25
public
:
26
QmitkColorPropertyView
(
const
mitk::ColorProperty
*, QWidget *parent);
27
~QmitkColorPropertyView
()
override
;
28
29
protected
:
30
void
PropertyChanged
()
override
;
31
void
PropertyRemoved
()
override
;
32
33
void
DisplayColor
();
34
35
const
mitk::ColorProperty
*
m_ColorProperty
;
36
37
QPalette
m_WidgetPalette
;
38
};
39
40
#endif
MitkQtWidgetsExtExports.h
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition:
MitkQtWidgetsExtExports.h:15
QmitkColorPropertyView
Definition:
QmitkColorPropertyView.h:22
QmitkColorPropertyView::m_WidgetPalette
QPalette m_WidgetPalette
Definition:
QmitkColorPropertyView.h:37
QmitkColorPropertyView::PropertyRemoved
void PropertyRemoved() override
QmitkColorPropertyView::~QmitkColorPropertyView
~QmitkColorPropertyView() override
QmitkColorPropertyView::QmitkColorPropertyView
QmitkColorPropertyView(const mitk::ColorProperty *, QWidget *parent)
QmitkColorPropertyView::m_ColorProperty
const mitk::ColorProperty * m_ColorProperty
Definition:
QmitkColorPropertyView.h:35
QmitkColorPropertyView::PropertyChanged
void PropertyChanged() override
QmitkColorPropertyView::DisplayColor
void DisplayColor()
mitk::ColorProperty
The ColorProperty class RGB color property.
Definition:
mitkColorProperty.h:58
mitk::PropertyView
Definition:
mitkPropertyObserver.h:55
mitkColorProperty.h
mitkPropertyObserver.h
src
MITK
Modules
QtWidgetsExt
include
QmitkColorPropertyView.h
Generated on Mon Feb 23 2026 23:28:12 for Medical Imaging Interaction Toolkit by
1.9.1