digiKam
Loading...
Searching...
No Matches
blackframetooltip.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 : 2020-08-20
7 * Description : black frame list view tool tip
8 *
9 * SPDX-FileCopyrightText: 2020-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Local includes
18
19#include "ditemtooltip.h"
20#include "digikam_export.h"
21
22class QTreeWidgetItem;
23class QTreeWidget;
24
25namespace Digikam
26{
27
28class DIGIKAM_EXPORT BlackFrameToolTip : public DItemToolTip
29{
30 Q_OBJECT
31
32public:
33
34 explicit BlackFrameToolTip(QTreeWidget* const view);
35 ~BlackFrameToolTip() override;
36
37 void setToolTipString(const QString& tip);
38 void setItem(QTreeWidgetItem* const item);
39
40 void show();
41
42protected:
43
44 QRect repositionRect() override;
45 QString tipContents() override;
46
47private:
48
49 class Private;
50 Private* const d = nullptr;
51};
52
53} // namespace Digikam
Definition blackframetooltip.h:29
Definition ditemtooltip.h:65
Definition datefolderview.cpp:34