summaryrefslogtreecommitdiffstats
path: root/hoverwindow.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-10-16 14:08:16 +0200
committerArno <am@disconnect.de>2010-10-16 14:08:16 +0200
commitbf5ccbe56631ac516751a9f194b643f77fdedf82 (patch)
treef5a4227e7ad222c87197c529c29629ee17c3631f /hoverwindow.h
parentf10a0a63e699288f1288c193c49795cae9cb3b40 (diff)
downloadSheMov-bf5ccbe56631ac516751a9f194b643f77fdedf82.tar.gz
SheMov-bf5ccbe56631ac516751a9f194b643f77fdedf82.tar.bz2
SheMov-bf5ccbe56631ac516751a9f194b643f77fdedf82.zip
Hover for FilesTreeWidget
Hovering over a cover item in FilesTreeWidget shows a HoverWindow with the scaled image under the cursor.
Diffstat (limited to 'hoverwindow.h')
-rw-r--r--hoverwindow.h1
1 files changed, 1 insertions, 0 deletions
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;