digiKam
Loading...
Searching...
No Matches
albumselectiontreeview.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 : 2005-05-06
7 * Description : Albums folder view.
8 *
9 * SPDX-FileCopyrightText: 2005-2006 by Joern Ahrens <joern dot ahrens at kdemail dot net>
10 * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
11 * SPDX-FileCopyrightText: 2009-2011 by Andi Clemens <andi dot clemens at gmail dot com>
12 * SPDX-FileCopyrightText: 2009-2011 by Johannes Wienke <languitar at semipol dot de>
13 *
14 * SPDX-License-Identifier: GPL-2.0-or-later
15 *
16 * ============================================================ */
17
18#pragma once
19
20// Qt includes
21
22#include <QTreeView>
23
24// Local includes
25
26#include "albummodel.h"
27#include "albumtreeview.h"
29
30namespace Digikam
31{
32
40{
41 Q_OBJECT
42
43public:
44
45 AlbumSelectionTreeView(QWidget* const parent,
46 AlbumModel* const model,
47 AlbumModificationHelper* const albumModificationHelper);
48 ~AlbumSelectionTreeView() override;
49
53 void setEnableToolTips(bool enable);
54
55Q_SIGNALS:
56
62 void signalFindDuplicates(const QList<PAlbum*>& albums);
63
64private Q_SLOTS:
65
66 void slotFindDuplicates();
67 void slotScanForFaces();
68 void slotRepairHiddenItems();
69 void slotRebuildThumbs();
70
71private:
72
78 bool viewportEvent(QEvent* event) override;
79
80private:
81
82 class Private;
83 Private* const d = nullptr;
84};
85
86} // namespace Digikam
Definition albummodel.h:30
Definition albummodificationhelper.h:36
Definition albumselectiontreeview.h:40
void signalFindDuplicates(const QList< PAlbum * > &albums)
void setEnableToolTips(bool enable)
Definition albumselectiontreeview.cpp:262
~AlbumSelectionTreeView() override
Definition albumselectiontreeview.cpp:256
Definition albumtreeview.h:27
Definition datefolderview.cpp:34