| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
#pragma once |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
#include <QString> |
| 20 |
#include <QRect> |
| 21 |
#include <QModelIndex> |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
#include "ditemtooltip.h" |
| 26 |
|
| 27 |
using namespace Digikam; |
| 28 |
|
| 29 |
namespace ShowFoto |
| 30 |
{ |
| 31 |
|
| 32 |
class ShowfotoFolderViewList; |
| 33 |
|
| 34 |
class ShowfotoFolderViewToolTip : public DItemToolTip |
| 35 |
{ |
| 36 |
Q_OBJECT |
| 37 |
|
| 38 |
public: |
| 39 |
|
| 40 |
explicit ShowfotoFolderViewToolTip(ShowfotoFolderViewList* const view); |
| 41 |
~ShowfotoFolderViewToolTip() override; |
| 42 |
|
| 43 |
void setIndex(const QModelIndex& index); |
| 44 |
|
| 45 |
private: |
| 46 |
|
| 47 |
QRect repositionRect() override; |
| 48 |
QString tipContents() override; |
| 49 |
|
| 50 |
private: |
| 51 |
|
| 52 |
class Private; |
| 53 |
Private* const d = nullptr; |
| 54 |
}; |
| 55 |
|
| 56 |
} |