NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxVolumeInfoWidget.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 CXVOLUMEINFOWIDGET_H_
13 #define CXVOLUMEINFOWIDGET_H_
14 
15 #include "cxGuiExport.h"
16 
17 #include "cxInfoWidget.h"
18 
19 #include "cxForwardDeclarations.h"
20 #include "cxDataInterface.h"
21 
22 #include <QTableWidget>
23 
24 namespace cx
25 {
26 
34 class cxGui_EXPORT VolumeInfoWidget : public InfoWidget
35 {
36  Q_OBJECT
37 
38 public:
39  VolumeInfoWidget(PatientModelServicePtr patientModelService, QWidget* parent);
40  virtual ~VolumeInfoWidget();
41 
42 protected slots:
43  void updateSlot();
44 
45 private:
46  void addWidgets();
47 
48  StringPropertyParentFramePtr mParentFrameAdapter;
51  StringPropertyDataModalityPtr mModalityAdapter;
52  StringPropertyImageTypePtr mImageTypeAdapter;
53  ActiveImageProxyPtr mActiveImageProxy;
54  PatientModelServicePtr mPatientModelService;
55  ActiveDataPtr mActiveData;
56 };
57 
58 }//namespace cx
59 
60 
61 
62 #endif /* CXVOLUMEINFOWIDGET_H_ */
cx::StringPropertyParentFramePtr
boost::shared_ptr< class StringPropertyParentFrame > StringPropertyParentFramePtr
Definition: cxDataInterface.h:140
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::StringPropertyDataNameEditablePtr
boost::shared_ptr< class StringPropertyDataNameEditable > StringPropertyDataNameEditablePtr
Definition: cxDataInterface.h:190
cxForwardDeclarations.h
cx::StringPropertyDataUidEditablePtr
boost::shared_ptr< class StringPropertyDataUidEditable > StringPropertyDataUidEditablePtr
Definition: cxDataInterface.h:217
cx::StringPropertyDataModalityPtr
boost::shared_ptr< class StringPropertyDataModality > StringPropertyDataModalityPtr
Definition: cxDataInterface.h:242
cx::ActiveImageProxyPtr
boost::shared_ptr< class ActiveImageProxy > ActiveImageProxyPtr
Definition: cxDataInterface.h:29
cxDataInterface.h
cx::PatientModelServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Definition: cxLogicManager.h:25
cx::StringPropertyImageTypePtr
boost::shared_ptr< class StringPropertyImageType > StringPropertyImageTypePtr
Definition: cxDataInterface.h:270
cxInfoWidget.h
cx::InfoWidget
Definition: cxInfoWidget.h:34
cx::VolumeInfoWidget
Widget for displaying various volume information.
Definition: cxVolumeInfoWidget.h:34
cx::ActiveDataPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
Definition: cxColorWidget.h:21