digiKam
queuetooltip.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 : 2009-03-03
7  * Description : queue tool tip
8  *
9  * Copyright (C) 2009-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_BQM_QUEUE_TOOL_TIP_H
25 #define DIGIKAM_BQM_QUEUE_TOOL_TIP_H
26 
27 // Local includes
28 
29 #include "iteminfo.h"
30 #include "ditemtooltip.h"
31 
32 namespace Digikam
33 {
34 
35 class QueueListView;
36 class QueueListViewItem;
37 
38 class QueueToolTip : public DItemToolTip
39 {
40  Q_OBJECT
41 
42 public:
43 
44  explicit QueueToolTip(QueueListView* const view);
45  ~QueueToolTip() override;
46 
47  void setQueueItem(QueueListViewItem* const item);
48 
49 private:
50 
51  QRect repositionRect() override;
52  QString tipContents() override;
53 
54 private:
55 
56  class Private;
57  Private* const d;
58 };
59 
60 } // namespace Digikam
61 
62 #endif // DIGIKAM_BQM_QUEUE_TOOL_TIP_H
Definition: ditemtooltip.h:75
Definition: queuelist.h:49
Definition: queuelist.h:103
Definition: queuetooltip.h:39
~QueueToolTip() override
Definition: queuetooltip.cpp:63
QueueToolTip(QueueListView *const view)
Definition: queuetooltip.cpp:56
void setQueueItem(QueueListViewItem *const item)
Definition: queuetooltip.cpp:68
Definition: datefolderview.cpp:43