digiKam
dactivelabel.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 : 2014-09-12
7
* Description : A label with an active url
8
*
9
* Copyright (C) 2014-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
*
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option)
15
* any later version.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
21
*
22
* ============================================================ */
23
24
#ifndef DIGIKAM_DACTIVE_LABEL_H
25
#define DIGIKAM_DACTIVE_LABEL_H
26
27
// Qt includes
28
29
#include <QLabel>
30
#include <QUrl>
31
#include <QString>
32
#include <QImage>
33
34
// Local includes
35
36
#include "
digikam_export.h
"
37
38
namespace
Digikam
39
{
40
45
class
DIGIKAM_EXPORT
DActiveLabel
:
public
QLabel
46
{
47
Q_OBJECT
48
49
public
:
50
51
explicit
DActiveLabel
(
const
QUrl& url = QUrl(),
52
const
QString& imgPath = QString(),
53
QWidget*
const
parent =
nullptr
);
54
~
DActiveLabel
()
override
;
55
56
void
updateData(
const
QUrl& url,
const
QImage& img);
57
};
58
59
}
// namespace Digikam
60
61
#endif
// DIGIKAM_DACTIVE_LABEL_H
Digikam::DActiveLabel
Definition:
dactivelabel.h:46
digikam_export.h
Digikam
Definition:
datefolderview.cpp:43
core
libs
widgets
mainview
dactivelabel.h
Generated by
1.9.1