From 1cba003449f2c875b3be81a9f7c5835b183e78c8 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 5 Feb 2011 14:52:14 +0100 Subject: Show metadata when hovering Also show metadata in snapshot when hovering over a movie file. --- filestreewidget.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'filestreewidget.h') 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; -- cgit v1.2.3-70-g09d2