NorMIT-nav
22.09
An IGT application
cxCompactFilterSetupWidget.h
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
#ifndef CXCOMPACTFILTERSETUPWIDGET_H_
13
#define CXCOMPACTFILTERSETUPWIDGET_H_
14
15
#include "cxResourceWidgetsExport.h"
16
17
#include "
cxBaseWidget.h
"
18
//#include "cxFilterWidget.h"
19
#include "
cxFilter.h
"
20
21
22
namespace
cx
{
23
24
class
OptionsWidget;
25
class
WidgetObscuredListener;
26
35
class
cxResourceWidgets_EXPORT
CompactFilterSetupWidget
:
public
BaseWidget
36
{
37
Q_OBJECT
38
39
public
:
40
CompactFilterSetupWidget
(
ViewServicePtr
viewService,
PatientModelServicePtr
patientModelService, QWidget* parent,
XmlOptionFile
options,
bool
addFrame);
41
void
setFilter(
FilterPtr
filter);
42
QString getHelpText()
const
;
43
44
private
slots:
45
void
obscuredSlot(
bool
obscured);
46
47
private
:
48
XmlOptionFile
mOptions;
49
FilterPtr
mCurrentFilter;
50
OptionsWidget
* mOptionsWidget;
51
QGroupBox* mFrame;
52
boost::shared_ptr<WidgetObscuredListener> mObscuredListener;
53
};
54
}
/* namespace cx */
55
#endif
/* CXCOMPACTFILTERSETUPWIDGET_H_ */
cx::XmlOptionFile
Helper class for xml files used to store ssc/cx data.
Definition:
cxXmlOptionItem.h:78
cxBaseWidget.h
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::BaseWidget
Interface for QWidget which handles widgets uniformly for the system.
Definition:
cxBaseWidget.h:88
cxFilter.h
cx::CompactFilterSetupWidget
Helper widget for displaying the input/output/options part of a Filter. Intended to be included in ot...
Definition:
cxCompactFilterSetupWidget.h:35
cx::PatientModelServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Definition:
cxLogicManager.h:25
cx::ViewServicePtr
boost::shared_ptr< class ViewService > ViewServicePtr
Definition:
cxLogicManager.h:28
cx::FilterPtr
boost::shared_ptr< class Filter > FilterPtr
Definition:
cxForwardDeclarations.h:153
cx::OptionsWidget
Definition:
cxOptionsWidget.h:31
CX
source
resource
widgets
cxCompactFilterSetupWidget.h
Generated on Tue Sep 13 2022 11:06:17 for NorMIT-nav by
1.8.17