File indexing completed on 2025-03-09 03:58:52

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2009-03-03
0007  * Description : queue tool tip
0008  *
0009  * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_BQM_QUEUE_TOOL_TIP_H
0016 #define DIGIKAM_BQM_QUEUE_TOOL_TIP_H
0017 
0018 // Local includes
0019 
0020 #include "iteminfo.h"
0021 #include "ditemtooltip.h"
0022 
0023 namespace Digikam
0024 {
0025 
0026 class QueueListView;
0027 class QueueListViewItem;
0028 
0029 class QueueToolTip : public DItemToolTip
0030 {
0031     Q_OBJECT
0032 
0033 public:
0034 
0035     explicit QueueToolTip(QueueListView* const view);
0036     ~QueueToolTip()          override;
0037 
0038     void setQueueItem(QueueListViewItem* const item);
0039 
0040 private:
0041 
0042     QRect   repositionRect() override;
0043     QString tipContents()    override;
0044 
0045 private:
0046 
0047     class Private;
0048     Private* const d;
0049 };
0050 
0051 } // namespace Digikam
0052 
0053 #endif // DIGIKAM_BQM_QUEUE_TOOL_TIP_H