1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : camera icon view tool tip
9
* Copyright (C) 2008-2011 by Gilles Caulier <caulier dot gilles at gmail dot com>
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)
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.
22
* ============================================================ */
24
#ifndef CAMERAICONVIEWTOOLTIP_H
25
#define CAMERAICONVIEWTOOLTIP_H
29
#include "camiteminfo.h"
30
#include "ditemtooltip.h"
38
class CameraIconViewToolTip : public DItemToolTip
42
CameraIconViewToolTip(CameraIconView* view);
43
~CameraIconViewToolTip();
45
void setIconItem(CameraIconItem* iconItem);
47
QString fillTipContents(const CamItemInfo& info) const;
51
QRect repositionRect();
52
QString tipContents();
56
class CameraIconViewToolTipPriv;
57
CameraIconViewToolTipPriv* const d;
60
} // namespace Digikam
62
#endif /* CAMERAICONVIEWTOOLTIP_H */