digiKam
Loading...
Searching...
No Matches
tagpropwidget.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 : 20013-07-03
7 * Description : Tag Properties widget to display tag properties
8 * when a tag or multiple tags are selected
9 *
10 * SPDX-FileCopyrightText: 2013 by Veaceslav Munteanu <veaceslav dot munteanu90 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 <QWidget>
21
22// Local includes
23
24#include "digikam_config.h"
25
26namespace Digikam
27{
28
29class Album;
30
31class TagPropWidget : public QWidget
32{
33 Q_OBJECT
34
35public:
36
43
44public:
45
46 explicit TagPropWidget(QWidget* const parent);
47 ~TagPropWidget() override;
48
49Q_SIGNALS:
50
52
53public Q_SLOTS:
54
55 void slotSelectionChanged(const QList<Album*>& albums);
56 void slotFocusTitleEdit();
57
58private Q_SLOTS:
59
60 void slotIconResetClicked();
61 void slotIconChanged();
62 void slotDataChanged();
63 void slotSaveChanges();
64 void slotDiscardChanges();
65 void slotReturnPressed();
66
67private:
68
75 void enableItems(ItemsEnable value);
76
77private:
78
79 class Private;
80 Private* const d = nullptr;
81};
82
83} // namespace Digikam
Definition tagpropwidget.h:32
~TagPropWidget() override
Definition tagpropwidget.cpp:205
ItemsEnable
Definition tagpropwidget.h:38
@ DisabledAll
Definition tagpropwidget.h:39
@ EnabledAll
Definition tagpropwidget.h:40
@ IconOnly
Definition tagpropwidget.h:41
void slotSelectionChanged(const QList< Album * > &albums)
Definition tagpropwidget.cpp:210
void slotFocusTitleEdit()
Definition tagpropwidget.cpp:296
qulonglong value
Definition itemviewutilities.cpp:585
@ Album
Definition coredbfields.h:48
Definition datefolderview.cpp:34