digiKam
Loading...
Searching...
No Matches
tagfilterview.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 : 2000-12-05
7 * Description : filter view for the right sidebar
8 *
9 * SPDX-FileCopyrightText: 2009-2010 by Johannes Wienke <languitar at semipol dot de>
10 * SPDX-FileCopyrightText: 2010-2011 by Andi Clemens <andi dot clemens at gmail dot com>
11 * SPDX-FileCopyrightText: 2011-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
12 *
13 * SPDX-License-Identifier: GPL-2.0-or-later
14 *
15 * ============================================================ */
16
17#pragma once
18
19// Qt includes
20
21#include <QWidget>
22
23// Local includes
24
25#include "tagcheckview.h"
26
27namespace Digikam
28{
29
30class TagModel;
31
38{
39 Q_OBJECT
40
41public:
42
49 explicit TagFilterView(QWidget* const parent, TagModel* const tagFilterModel);
50
54 ~TagFilterView() override;
55
56private Q_SLOTS:
57
58 void slotDeleteTagByContextMenu(TAlbum* tag);
59
60protected:
61
62 void addCustomContextMenuActions(ContextMenuHelper& cmh, Album* album) override;
63 void handleCustomContextMenuAction(QAction* action, const AlbumPointer<Album>& album) override;
64
65private:
66
67 class Private;
68 Private* const d = nullptr;
69};
70
71} // nameSpace Digikam
Definition albumpointer.h:38
Abstract base class for all album types.
Definition album.h:57
A helper class to add actions and special menus to the context menu.
Definition contextmenuhelper.h:70
Definition album.h:421
Definition tagcheckview.h:34
Definition tagfilterview.h:38
void addCustomContextMenuActions(ContextMenuHelper &cmh, Album *album) override
Definition tagfilterview.cpp:80
~TagFilterView() override
Definition tagfilterview.cpp:75
void handleCustomContextMenuAction(QAction *action, const AlbumPointer< Album > &album) override
Definition tagfilterview.cpp:117
Definition albummodel.h:57
Definition datefolderview.cpp:34