/* ============================================================ * * This file is a part of digiKam project * https://www.digikam.org * * Date : 2021-08-27 * Description : Tool tip for Showfoto folder-view item. * * SPDX-FileCopyrightText: 2021-2026 by Gilles Caulier * * SPDX-License-Identifier: GPL-2.0-or-later * * ============================================================ */ #pragma once // Qt includes #include #include #include // Local includes #include "ditemtooltip.h" using namespace Digikam; namespace ShowFoto { class ShowfotoFolderViewList; class ShowfotoFolderViewToolTip : public DItemToolTip { Q_OBJECT public: explicit ShowfotoFolderViewToolTip(ShowfotoFolderViewList* const view); ~ShowfotoFolderViewToolTip() override; void setIndex(const QModelIndex& index); private: QRect repositionRect() override; QString tipContents() override; private: class Private; Private* const d = nullptr; }; } // namespace ShowFoto