Fraxinus  18.10
An IGT application
cxToolManagerWidget.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 CXTOOLMANAGERWIDGET_H_
13 #define CXTOOLMANAGERWIDGET_H_
14 
15 #include "cxGuiExport.h"
16 
17 #include "cxBaseWidget.h"
18 
19 class QPushButton;
20 
21 namespace cx
22 {
23 
33 class cxGui_EXPORT ToolManagerWidget : public BaseWidget
34 {
35  Q_OBJECT
36 
37 public:
38  ToolManagerWidget(TrackingServicePtr trackingService, QWidget* parent = NULL);
39  virtual ~ToolManagerWidget();
40 
41 private slots:
42  void configureClickedSlot(bool);
43  void deconfigureClickedSlot(bool);
44  void initializeClickedSlot(bool);
45  void uninitializeClickedSlot(bool);
46  void startTrackingClickedSlot(bool);
47  void stopTrackingClickedSlot(bool);
48 
49  void updateButtonStatusSlot();
50 
51 private:
52  QPushButton* mConfigureButton;
53  QPushButton* mDeConfigureButton;
54  QPushButton* mInitializeButton;
55  QPushButton* mUnInitializeButton;
56  QPushButton* mStartTrackingButton;
57  QPushButton* mStopTrackingButton;
58  TrackingServicePtr mTrackingService;
59 };
60 
61 }
62 
63 #endif /* CXTOOLMANAGERWIDGET_H_ */
boost::shared_ptr< class TrackingService > TrackingServicePtr
Interface for QWidget which handles widgets uniformly for the system.
Definition: cxBaseWidget.h:88
Designed as a debugging widget for the cxToolManager.
Namespace for all CustusX production code.