CustusX  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_ */
boost::shared_ptr< class StringPropertyDataUidEditable > StringPropertyDataUidEditablePtr
boost::shared_ptr< class StringPropertyParentFrame > StringPropertyParentFramePtr
boost::shared_ptr< class StringPropertyImageType > StringPropertyImageTypePtr
boost::shared_ptr< class StringPropertyDataNameEditable > StringPropertyDataNameEditablePtr
boost::shared_ptr< class ActiveImageProxy > ActiveImageProxyPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
Definition: cxColorWidget.h:21
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class StringPropertyDataModality > StringPropertyDataModalityPtr
Widget for displaying various volume information.
Namespace for all CustusX production code.