CustusX
18.04
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CustusX
CustusX Developer Documentation
Architecture
Build instructions
Code Style
Customize Applications
Superbuild
Coordinate Systems
External libraries
CustusX license
US Probe Definition
Supported Platforms
List of Definitions
Feature Overview
Installation
Plugins
Mesh Properties
Preferences
Building/installing PLUS
Landmark Import Point Metrics
Metrics
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
cxColorWidget.cpp
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#include "
cxColorWidget.h
"
13
#include "
cxTransferFunctionPresetWidget.h
"
14
#include "
cxTransferFunction2DColorWidget.h
"
15
#include "
cxPatientModelService.h
"
16
17
namespace
cx
{
18
19
ColorWidget::ColorWidget
(
PatientModelServicePtr
patientModelService, QWidget* parent) :
20
BaseWidget
(parent,
"color_widget"
,
"Color"
)
21
{
22
this->setToolTip(
"Set 2D image properties"
);
23
QVBoxLayout* layout =
new
QVBoxLayout(
this
);
24
layout->setMargin(0);
25
layout->addWidget(
new
TransferFunction2DColorWidget
(patientModelService->getActiveData(),
this
), 0);
26
layout->addStretch(1);
27
layout->addWidget(
new
TransferFunctionPresetWidget
(patientModelService,
this
,
false
), 0);
28
}
29
30
}
/* namespace cx */
cx::TransferFunctionPresetWidget
Definition:
cxTransferFunctionPresetWidget.h:32
cxTransferFunction2DColorWidget.h
cxColorWidget.h
cxTransferFunctionPresetWidget.h
cx::TransferFunction2DColorWidget
Definition:
cxTransferFunction2DColorWidget.h:37
cx::PatientModelServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Definition:
cxLogicManager.h:25
cx::BaseWidget
Interface for QWidget which handles widgets uniformly for the system.
Definition:
cxBaseWidget.h:88
cx::ColorWidget::ColorWidget
ColorWidget(PatientModelServicePtr patientModelService, QWidget *parent)
Definition:
cxColorWidget.cpp:19
cxPatientModelService.h
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
gui
dataWidgets
cxColorWidget.cpp
Generated on Tue Apr 24 2018 13:56:33 for CustusX by
1.8.11