From bf5ccbe56631ac516751a9f194b643f77fdedf82 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 16 Oct 2010 14:08:16 +0200 Subject: Hover for FilesTreeWidget Hovering over a cover item in FilesTreeWidget shows a HoverWindow with the scaled image under the cursor. --- hoverwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hoverwindow.h') diff --git a/hoverwindow.h b/hoverwindow.h index b020124..6991d0b 100644 --- a/hoverwindow.h +++ b/hoverwindow.h @@ -18,6 +18,7 @@ class HoverWindow : public QWidget { explicit HoverWindow(QWidget *parent = 0, Qt::WindowFlags f = Qt::FramelessWindowHint); void setContent(const QString &parent, const QStringList &children); void setPixmap(const QPixmap &pm); + int pixmapHeight() const; private: QLabel *mLabel; -- cgit v1.2.3-70-g09d2