digiKam
Loading...
Searching...
No Matches
itempropertieshistorytab.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 : 2010-06-23
7
* Description : a tab to display item editing history
8
*
9
* SPDX-FileCopyrightText: 2010 by Martin Klapetek <martin dot klapetek at gmail dot com>
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*
13
* ============================================================ */
14
15
#pragma once
16
17
// Qt includes
18
19
#include <QWidget>
20
#include <QAction>
21
#include <QModelIndex>
22
#include <QUrl>
23
24
// Local includes
25
26
#include "
digikam_export.h
"
27
#include "
dmetadata.h
"
28
29
namespace
Digikam
30
{
31
32
class
DIGIKAM_GUI_EXPORT
RemoveFilterAction
:
public
QAction
33
{
34
Q_OBJECT
35
36
public
:
37
38
explicit
RemoveFilterAction
(
const
QString& label,
39
const
QModelIndex& index,
40
QObject*
const
parent =
nullptr
);
41
~RemoveFilterAction
();
42
43
void
setIndex(
const
QModelIndex& index);
44
45
public
Q_SLOTS:
46
47
void
triggerSlot();
48
49
Q_SIGNALS:
50
51
void
actionTriggered
(QModelIndex index);
52
53
private
:
54
55
QModelIndex m_index;
56
};
57
58
// -------------------------------------------------------------------------------------
59
60
class
DIGIKAM_GUI_EXPORT
ItemPropertiesHistoryTab
:
public
QWidget
61
{
62
Q_OBJECT
63
64
public
:
65
66
explicit
ItemPropertiesHistoryTab
(QWidget*
const
parent);
67
~ItemPropertiesHistoryTab
();
68
69
void
setCurrentURL(
const
QUrl& url = QUrl());
70
71
public
Q_SLOTS:
72
73
void
showCustomContextMenu(
const
QPoint& position);
74
void
setModelData(
const
QList<DImageHistory::Entry>& entries);
75
void
disableEntry(
bool
disable);
76
77
private
:
78
79
class
Private;
80
Private*
const
d =
nullptr
;
81
};
82
83
}
// namespace Digikam
Digikam::ItemPropertiesHistoryTab
Definition
itempropertieshistorytab.h:61
Digikam::RemoveFilterAction
Definition
itempropertieshistorytab.h:33
Digikam::RemoveFilterAction::actionTriggered
void actionTriggered(QModelIndex index)
digikam_export.h
dmetadata.h
Digikam
Definition
datefolderview.cpp:34
core
libs
properties
history
itempropertieshistorytab.h
Generated by
1.9.8