NorMIT-nav  22.09
An IGT application
cxManageClippersWidget.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 CXMANAGECLIPPERSWIDGET_H
13 #define CXMANAGECLIPPERSWIDGET_H
14 
15 #include "cxGuiExport.h"
16 
17 #include "cxBaseWidget.h"
18 #include "cxForwardDeclarations.h"
19 #include "cxStringProperty.h"
20 #include "cxTabbedWidget.h"
21 
22 namespace cx
23 {
24 class ClipperWidget;
25 
33 class cxGui_EXPORT ClippingPropertiesWidget : public TabbedWidget
34 {
35  Q_OBJECT
36 public:
37  ClippingPropertiesWidget(VisServicesPtr services, QWidget* parent);
39 };
40 
41 //--------------------------------------
42 
48 class cxGui_EXPORT ManageClippersWidget: public BaseWidget
49 {
50  Q_OBJECT
51 public:
52  ManageClippersWidget(VisServicesPtr services, QWidget* parent);
53 
54 protected:
56  QVBoxLayout* mLayout;
58 
61 
62  void setupUI();
63 // void setupClipperUI();
64  void initClipperSelector();
65  QString getNameBaseOfCurrentClipper();
66  ClippersPtr getClippers();
67 protected slots:
68  void newClipperButtonClicked();
69  void clipperChanged();
70 private slots:
71  void clippersChanged();
72 };
73 }//cx
74 #endif // CXMANAGECLIPPERSWIDGET_H
cx::ClipperWidget
Definition: cxClipperWidget.h:32
cx::ManageClippersWidget::mClipperWidget
ClipperWidget * mClipperWidget
Definition: cxManageClippersWidget.h:60
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
cxForwardDeclarations.h
cx::VisServicesPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
cx::StringPropertyPtr
boost::shared_ptr< class StringProperty > StringPropertyPtr
Definition: cxVideoConnectionWidget.h:42
cx::ManageClippersWidget
Widget for managing clippers.
Definition: cxManageClippersWidget.h:48
cx::ClippersPtr
boost::shared_ptr< class Clippers > ClippersPtr
Definition: cxForwardDeclarations.h:151
cx::TabbedWidget
Interface for making widgets with a hierarchy of tabs.
Definition: cxTabbedWidget.h:34
cx::ManageClippersWidget::mLayout
QVBoxLayout * mLayout
Definition: cxManageClippersWidget.h:56
cx::ClippingPropertiesWidget::~ClippingPropertiesWidget
virtual ~ClippingPropertiesWidget()
Definition: cxManageClippersWidget.h:38
cx::ManageClippersWidget::mCurrentClipper
InteractiveClipperPtr mCurrentClipper
Definition: cxManageClippersWidget.h:59
cxTabbedWidget.h
cx::ManageClippersWidget::mServices
VisServicesPtr mServices
Definition: cxManageClippersWidget.h:55
cx::ManageClippersWidget::mClipperSelector
StringPropertyPtr mClipperSelector
Definition: cxManageClippersWidget.h:57
cx::InteractiveClipperPtr
boost::shared_ptr< class InteractiveClipper > InteractiveClipperPtr
Definition: cxForwardDeclarations.h:155
cxStringProperty.h
cx::ClippingPropertiesWidget
Widget for displaying and changing clipper properties.
Definition: cxManageClippersWidget.h:33