summaryrefslogtreecommitdiffstats
path: root/hoverwindow.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-13 19:31:16 +0100
committerArno <am@disconnect.de>2010-12-13 19:31:16 +0100
commitc7bffca4cfc626c62c0eae6bc6b06d92cb2a8340 (patch)
treedcc9a9b47f05690052896d5747018ee087b5437e /hoverwindow.h
parent0336e3e0e2eb02f9ad8925f1def081d6e46d750b (diff)
downloadSheMov-c7bffca4cfc626c62c0eae6bc6b06d92cb2a8340.tar.gz
SheMov-c7bffca4cfc626c62c0eae6bc6b06d92cb2a8340.tar.bz2
SheMov-c7bffca4cfc626c62c0eae6bc6b06d92cb2a8340.zip
Set caption for HoverWindow
Implement a caption for HoverWindow. Used to show the filename when hovering.
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 af2f084..6e94a3e 100644
--- a/hoverwindow.h
+++ b/hoverwindow.h
@@ -23,6 +23,7 @@ class HoverWindow : public QWidget {
void setContent(const QString &parent, const QStringList &children);
void setPixmap(const QPixmap &pm, bool scale = true);
void setData(const QList<QVariant> &data);
+ void setCaption(const QString &caption);
int pixmapHeight() const;
void setPos();
QPoint hoverOffset() const { return mHoverOffset; }