NorMIT-nav
22.09
An IGT application
cxDICOMThumbnailListWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Library: CTK
4
5
Copyright (c) Kitware Inc.
6
7
Licensed under the Apache License, Version 2.0 (the "License");
8
you may not use this file except in compliance with the License.
9
You may obtain a copy of the License at
10
11
http://www.apache.org/licenses/LICENSE-2.0.txt
12
13
Unless required by applicable law or agreed to in writing, software
14
distributed under the License is distributed on an "AS IS" BASIS,
15
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
See the License for the specific language governing permissions and
17
limitations under the License.
18
19
=========================================================================*/
20
21
#ifndef __ctkDICOMThumbnailListWidget_h
22
#define __ctkDICOMThumbnailListWidget_h
23
24
#include "org_custusx_dicom_Export.h"
25
26
#include "ctkDICOMWidgetsExport.h"
27
#include "ctkThumbnailListWidget.h"
28
29
class
QModelIndex;
30
class
ctkThumbnailWidget;
31
class
ctkDICOMDatabase;
32
33
namespace
cx
34
{
35
class
DICOMThumbnailListWidgetPrivate;
36
45
class
org_custusx_dicom_EXPORT
DICOMThumbnailListWidget
:
public
ctkThumbnailListWidget
46
{
47
Q_OBJECT
48
public
:
49
typedef
ctkThumbnailListWidget
Superclass
;
50
explicit
DICOMThumbnailListWidget
(QWidget* parent=0);
51
virtual
~
DICOMThumbnailListWidget
();
52
53
void
setDatabaseDirectory(
const
QString& directory);
54
void
setDatabase(QSharedPointer<ctkDICOMDatabase> database);
55
56
// void selectThumbnailFromIndex(const QModelIndex& index);
57
58
private
:
59
Q_DECLARE_PRIVATE(
DICOMThumbnailListWidget
);
60
Q_DISABLE_COPY(
DICOMThumbnailListWidget
);
61
62
public
Q_SLOTS:
63
void
addThumbnails(
const
QModelIndex& index);
64
};
65
66
}
// namespace cx
67
68
#endif
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::DICOMThumbnailListWidget::Superclass
ctkThumbnailListWidget Superclass
Definition:
cxDICOMThumbnailListWidget.h:49
cx::DICOMThumbnailListWidget
Definition:
cxDICOMThumbnailListWidget.h:45
CX
source
plugins
org.custusx.dicom
widgets
cxDICOMThumbnailListWidget.h
Generated on Tue Sep 13 2022 11:06:14 for NorMIT-nav by
1.8.17