digiKam
Loading...
Searching...
No Matches
showfotostackviewtooltip.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 : 2021-09-27
7 * Description : Tool tip for Showfoto stack view item.
8 *
9 * SPDX-FileCopyrightText: 2021-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// Qt includes
18
19#include <QString>
20#include <QRect>
21#include <QModelIndex>
22
23// Local includes
24
25#include "ditemtooltip.h"
26#include "showfotoiteminfo.h"
27
28using namespace Digikam;
29
30namespace ShowFoto
31{
32
33class ShowfotoStackViewList;
34
36{
37 Q_OBJECT
38
39public:
40
43
44 void setIndex(const QModelIndex& index);
45
46private:
47
48 QRect repositionRect() override;
49 QString tipContents() override;
50
51private:
52
53 class Private;
54 Private* const d = nullptr;
55};
56
57} // namespace ShowFoto
Definition ditemtooltip.h:65
Definition showfotostackviewlist.h:36
Definition showfotostackviewtooltip.h:36
void setIndex(const QModelIndex &index)
Definition showfotostackviewtooltip.cpp:51
~ShowfotoStackViewToolTip() override
Definition showfotostackviewtooltip.cpp:46
Definition datefolderview.cpp:34
Definition showfotofolderviewbar.cpp:43