NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxFilterPresetWidget.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 CXFILTERPRESETWIDGET_H_
13 #define CXFILTERPRESETWIDGET_H_
14 
15 #include "cxResourceWidgetsExport.h"
16 
17 #include "cxPresetWidget.h"
18 
19 #include "cxForwardDeclarations.h"
20 
21 namespace cx {
22 
30 class cxResourceWidgets_EXPORT FilterPresetWidget : public PresetWidget
31 {
32  Q_OBJECT
33 
34 public:
35  FilterPresetWidget(QWidget* parent);
36  virtual ~FilterPresetWidget(){};
37 
38  void setFilter(FilterPtr filter);
39 
40 public slots:
41  virtual void saveSlot();
42  virtual void deleteSlot();
43 
44 private:
45  FilterPtr mFilter;
46 };
47 
48 } /* namespace cx */
49 #endif /* CXFILTERPRESETWIDGET_H_ */
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cxForwardDeclarations.h
cx::PresetWidget
Base class for preset handling. Takes care of making a uniform preset system. Contains a preset selec...
Definition: cxPresetWidget.h:34
cx::FilterPresetWidget
Definition: cxFilterPresetWidget.h:30
cx::FilterPtr
boost::shared_ptr< class Filter > FilterPtr
Definition: cxForwardDeclarations.h:155
cxPresetWidget.h
cx::FilterPresetWidget::~FilterPresetWidget
virtual ~FilterPresetWidget()
Definition: cxFilterPresetWidget.h:36