NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxSlicePropertiesWidget.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
#include "
cxSlicePropertiesWidget.h
"
12
13
#include "
cxDataInterface.h
"
14
#include "
cxVolumeInfoWidget.h
"
15
#include "
cxSelectDataStringProperty.h
"
16
#include "
cxDataSelectWidget.h
"
17
#include "
cxOverlayWidget.h
"
18
#include "
cxColorWidget.h
"
19
#include "
cxTransferFunction2DOpacityWidget.h
"
20
#include "
cxTransferFunction2DColorWidget.h
"
21
#include "
cxPatientModelService.h
"
22
23
namespace
cx
24
{
25
26
SlicePropertiesWidget::SlicePropertiesWidget(
PatientModelServicePtr
patientModelService,
ViewServicePtr
viewService, QWidget* parent) :
27
TabbedWidget
(parent,
"slice_properties_widget"
,
"Slice Properties"
)
28
{
29
this->setToolTip(
"2D Image properties"
);
30
StringPropertyActiveDataPtr
activeDataProperty =
StringPropertyActiveData::New
(patientModelService,
"image|trackedStream"
);
31
this->
insertWidgetAtTop
(
new
DataSelectWidget
(viewService, patientModelService,
this
, activeDataProperty));
32
this->
addTab
(
new
ColorWidget
(patientModelService,
this
),
"Color"
);
33
this->
addTab
(
new
OverlayWidget
(patientModelService, viewService,
this
),
"Overlay"
);
34
// this->addTab(new VolumeInfoWidget(patientModelService, this), "Info");//Not neccesary as this is part of Volume Properties?
35
}
36
37
SlicePropertiesWidget::~SlicePropertiesWidget
()
38
{}
39
40
41
}
//end namespace cx
cx::TabbedWidget::addTab
void addTab(BaseWidget *newTab, QString newTabName)
Definition:
cxTabbedWidget.cpp:37
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::StringPropertyActiveData::New
static StringPropertyActiveDataPtr New(PatientModelServicePtr patientModelService, QString typeRegexp=".*")
Definition:
cxSelectDataStringProperty.h:28
cx::SlicePropertiesWidget::~SlicePropertiesWidget
virtual ~SlicePropertiesWidget()
Definition:
cxSlicePropertiesWidget.cpp:37
cxSlicePropertiesWidget.h
cxVolumeInfoWidget.h
cxOverlayWidget.h
cxColorWidget.h
cx::StringPropertyActiveDataPtr
boost::shared_ptr< class StringPropertyActiveData > StringPropertyActiveDataPtr
Definition:
cxSelectDataStringProperty.h:18
cx::TabbedWidget
Interface for making widgets with a hierarchy of tabs.
Definition:
cxTabbedWidget.h:34
cxDataInterface.h
cx::PatientModelServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Definition:
cxLogicManager.h:25
cx::ViewServicePtr
boost::shared_ptr< class ViewService > ViewServicePtr
Definition:
cxLogicManager.h:28
cxPatientModelService.h
cx::TabbedWidget::insertWidgetAtTop
void insertWidgetAtTop(QWidget *newWidget)
Definition:
cxTabbedWidget.cpp:44
cx::ColorWidget
Definition:
cxColorWidget.h:35
cxTransferFunction2DOpacityWidget.h
cxDataSelectWidget.h
cxTransferFunction2DColorWidget.h
cxSelectDataStringProperty.h
cx::DataSelectWidget
Definition:
cxDataSelectWidget.h:38
cx::OverlayWidget
Definition:
cxOverlayWidget.h:32
CX
source
gui
dataWidgets
cxSlicePropertiesWidget.cpp
Generated on Thu Jan 5 2023 03:15:50 for NorMIT-nav by
1.8.17