digiKam
iccpreviewwidget.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam project
4
* https://www.digikam.org
5
*
6
* Date : 2006-01-12
7
* Description : a widget to display ICC profiles descriptions
8
* in file dialog preview.
9
*
10
* Copyright (C) 2006-2007 by Francisco J. Cruz <fj dot cruz at supercable dot es>
11
* Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
*
13
* This program is free software; you can redistribute it
14
* and/or modify it under the terms of the GNU General
15
* Public License as published by the Free Software Foundation;
16
* either version 2, or (at your option)
17
* any later version.
18
*
19
* This program is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
23
*
24
* ============================================================ */
25
26
#ifndef DIGIKAM_ICC_PREVIEW_WIDGET_H
27
#define DIGIKAM_ICC_PREVIEW_WIDGET_H
28
29
// Qt includes
30
31
#include <QScrollArea>
32
33
// Local includes
34
35
#include "
digikam_export.h
"
36
37
class
QUrl;
38
39
namespace
Digikam
40
{
41
42
class
ICCProfileWidget;
43
44
class
DIGIKAM_EXPORT
ICCPreviewWidget
:
public
QScrollArea
45
{
46
Q_OBJECT
47
48
public
:
49
50
explicit
ICCPreviewWidget
(QWidget*
const
parent =
nullptr
);
51
~
ICCPreviewWidget
()
override
;
52
53
public
Q_SLOTS:
54
55
void
slotShowPreview(
const
QUrl& url);
56
void
slotClearPreview();
57
58
private :
59
60
ICCProfileWidget
* m_iccProfileWidget;
61
};
62
63
}
// namespace Digikam
64
65
#endif
// DIGIKAM_ICC_PREVIEW_WIDGET_H
Digikam::ICCPreviewWidget
Definition:
iccpreviewwidget.h:45
Digikam::ICCProfileWidget
Definition:
iccprofilewidget.h:43
digikam_export.h
Digikam
Definition:
datefolderview.cpp:43
core
libs
widgets
iccprofiles
iccpreviewwidget.h
Generated by
1.9.1