CustusX
22.04-rc5
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxImagePreviewWidget.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 CXIMAGEPREVIEWWIDGET_H_
13
#define CXIMAGEPREVIEWWIDGET_H_
14
15
#include "
cxFileWatcherWidget.h
"
16
17
namespace
cx
18
{
19
29
class
cxResourceWidgets_EXPORT
ImagePreviewWidget
:
public
FileWatcherWidget
30
{
31
Q_OBJECT
32
33
public
:
34
ImagePreviewWidget
(QWidget* parent);
35
virtual
~
ImagePreviewWidget
();
36
37
void
setSize(
int
width,
int
height);
38
39
public
slots:
40
virtual
void
previewFileSlot(
const
QString& absoluteFilePath);
41
42
private
:
43
QLabel* mDisplayLabel;
44
};
45
46
}
/* namespace cx */
47
#endif
/* CXIMAGEPREVIEWWIDGET_H_ */
cxFileWatcherWidget.h
cx::ImagePreviewWidget
Widget for displaying images.
Definition:
cxImagePreviewWidget.h:29
cx::FileWatcherWidget
Baseclass for widgets that should watch a file.
Definition:
cxFileWatcherWidget.h:35
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
resource
widgets
cxImagePreviewWidget.h
Generated on Thu Jun 16 2022 21:30:02 for CustusX by
1.8.11