CustusX  22.04-rc2
An IGT application
cxToolImagePreviewWidget.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 CXTOOLIMAGEPREVIEWWIDGET_H_
13 #define CXTOOLIMAGEPREVIEWWIDGET_H_
14 
15 #include "cxGuiExport.h"
16 
17 #include "cxImagePreviewWidget.h"
18 namespace cx
19 {
28 class cxGui_EXPORT ToolImagePreviewWidget : public ImagePreviewWidget
29 {
30  Q_OBJECT
31 
32 public:
33  ToolImagePreviewWidget(TrackingServicePtr trackingService, QWidget* parent);
34  virtual ~ToolImagePreviewWidget();
35 
36 public slots:
37  virtual void previewFileSlot(const QString& absoluteFilePath);
38 
39 private:
40  TrackingServicePtr mTrackingService;
41 };
42 } //namespace cx
43 #endif /* CXTOOLIMAGEPREVIEWWIDGET_H_ */
boost::shared_ptr< class TrackingService > TrackingServicePtr
Widget for displaying images.
Widget for displaying a tools image.
Namespace for all CustusX production code.