diff options
author | Arno <am@disconnect.de> | 2011-02-05 14:52:14 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-02-05 14:52:14 +0100 |
commit | 1cba003449f2c875b3be81a9f7c5835b183e78c8 (patch) | |
tree | c2c2ec7ddab0a6adf15bb3c245c8e49a68158aae /filestreewidget.h | |
parent | aaef34e66368a2803ae876d734809b69f0c258a2 (diff) | |
download | SheMov-1cba003449f2c875b3be81a9f7c5835b183e78c8.tar.gz SheMov-1cba003449f2c875b3be81a9f7c5835b183e78c8.tar.bz2 SheMov-1cba003449f2c875b3be81a9f7c5835b183e78c8.zip |
Show metadata when hovering
Also show metadata in snapshot when hovering over a movie file.
Diffstat (limited to 'filestreewidget.h')
-rw-r--r-- | filestreewidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/filestreewidget.h b/filestreewidget.h index 86b6a15..5b064b9 100644 --- a/filestreewidget.h +++ b/filestreewidget.h @@ -76,7 +76,9 @@ class FilesTreeView : public QTreeView { private: bool exitHover(bool exitVal = true); void doHover(const QModelIndex &idx); - const QPixmap annotateHover(const QPixmap &hoverImage, const QModelIndex &idx) const; + const QString fileNameText(const QModelIndex &idx) const; + const QString metaDataText(const QModelIndex &idx) const; + const QPixmap annotateHover(const QPixmap &hoverImage, const QString &text) const; QModelIndex mCurHover; HoverWindow *mHoverWin; bool mHoverPics; |