Fraxinus  18.10
An IGT application
cxActiveToolWidget.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 CXACTIVETOOLWIDGET_H_
13 #define CXACTIVETOOLWIDGET_H_
14 
15 #include "cxResourceWidgetsExport.h"
16 
17 #include "cxBaseWidget.h"
18 #include "cxForwardDeclarations.h"
19 
20 namespace cx
21 {
22 typedef boost::shared_ptr<class StringPropertyBase> StringPropertyBasePtr;
23 
33 class cxResourceWidgets_EXPORT ActiveToolWidget : public BaseWidget
34 {
35  Q_OBJECT
36 public:
37  ActiveToolWidget(TrackingServicePtr trackingService, QWidget* parent);
38  virtual ~ActiveToolWidget() {}
39  StringPropertyBasePtr getSelector() { return mSelector; }
40 
41 private:
42  StringPropertyBasePtr mSelector;
43 };
44 
45 }
46 
47 #endif /* CXACTIVETOOLWIDGET_H_ */
boost::shared_ptr< class TrackingService > TrackingServicePtr
StringPropertyBasePtr getSelector()
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
Widget that contains a select active tool combo box.
Interface for QWidget which handles widgets uniformly for the system.
Definition: cxBaseWidget.h:88
Namespace for all CustusX production code.