NorMIT-nav  22.09
An IGT application
cxICPWidget.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 #ifndef CXICPWIDGET_H
12 #define CXICPWIDGET_H
13 
15 #include "cxStringPropertyBase.h"
17 #include "cxBoolProperty.h"
18 #include "cxDoubleProperty.h"
19 #include "org_custusx_registration_method_vessel_Export.h"
20 
21 class QSpinBox;
22 class QPushButton;
23 class QLabel;
24 
25 namespace cx
26 {
27 //typedef boost::shared_ptr<class SeansVesselRegistrationDebugger> SeansVesselRegistrationDebuggerPtr;
28 
35 class org_custusx_registration_method_vessel_EXPORT ICPWidget : public BaseWidget
36 {
37  Q_OBJECT
38 public:
39  ICPWidget(QWidget* parent);
40  virtual ~ICPWidget();
41 
42  void setSettings(std::vector<PropertyPtr> properties);
43  void enableRegistration(bool on);
44  void setRMS(double val);
45 
46 signals:
47  void requestRegister();
48 
49 private:
50  QWidget* createOptionsWidget();
51 
52  std::vector<PropertyPtr> mProperties;
53  QPushButton* mRegisterButton;
54  QAction* mVesselRegOptionsButton;
55  QWidget* mOptionsWidget;
56  QGroupBox* mVesselRegOptionsWidget;
57  QLineEdit* mMetricValue;
58 };
59 
60 
61 
62 }//namespace cx
63 
64 #endif // CXICPWIDGET_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
cxDoubleProperty.h
cx::ICPWidget
Definition: cxICPWidget.h:35
SeansVesselReg.hxx
cxRegistrationBaseWidget.h
cxStringPropertyBase.h
cxBoolProperty.h