digiKam
Loading...
Searching...
No Matches
itempropertiestxtlabel.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 : 2008-11-05
7
* Description : simple text labels to display item
8
* properties meta infos
9
*
10
* SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
*
12
* SPDX-License-Identifier: GPL-2.0-or-later
13
*
14
* ============================================================ */
15
16
#pragma once
17
18
// Qt includes
19
20
#include <QLabel>
21
#include <QString>
22
#include <QListWidget>
23
#include <QTextBrowser>
24
25
// Local includes
26
27
#include "
dexpanderbox.h
"
28
#include "
digikam_export.h
"
29
30
namespace
Digikam
31
{
32
33
class
DIGIKAM_EXPORT
DTextLabelName
:
public
DAdjustableLabel
34
{
35
Q_OBJECT
36
37
public
:
38
39
explicit
DTextLabelName
(
const
QString& name, QWidget*
const
parent =
nullptr
);
40
~DTextLabelName
()
override
;
41
};
42
43
// -------------------------------------------------------------------
44
45
class
DIGIKAM_EXPORT
DTextLabelValue
:
public
DAdjustableLabel
46
{
47
Q_OBJECT
48
49
public
:
50
51
explicit
DTextLabelValue
(
const
QString&
value
, QWidget*
const
parent =
nullptr
);
52
~DTextLabelValue
()
override
;
53
};
54
55
// -------------------------------------------------------------------
56
57
class
DIGIKAM_EXPORT
DTextBrowser
:
public
QTextBrowser
58
{
59
Q_OBJECT
60
61
public
:
62
63
explicit
DTextBrowser
(
const
QString& text, QWidget*
const
parent =
nullptr
);
64
~DTextBrowser
()
override
;
65
66
void
setLinesNumber(
int
l);
67
};
68
69
// -------------------------------------------------------------------
70
71
class
DIGIKAM_EXPORT
DTextList
:
public
QListWidget
72
{
73
Q_OBJECT
74
75
public
:
76
77
explicit
DTextList
(
const
QStringList& list, QWidget*
const
parent =
nullptr
);
78
~DTextList
()
override
;
79
80
void
setLinesNumber(
int
l);
81
};
82
83
}
// namespace Digikam
Digikam::DAdjustableLabel
Definition
dexpanderbox.h:56
Digikam::DTextBrowser
Definition
itempropertiestxtlabel.h:58
Digikam::DTextLabelName
Definition
itempropertiestxtlabel.h:34
Digikam::DTextLabelValue
Definition
itempropertiestxtlabel.h:46
Digikam::DTextList
Definition
itempropertiestxtlabel.h:72
dexpanderbox.h
digikam_export.h
value
qulonglong value
Definition
itemviewutilities.cpp:585
Digikam
Definition
datefolderview.cpp:34
core
libs
properties
itempropertiestxtlabel.h
Generated by
1.9.8