summaryrefslogtreecommitdiff
path: root/client/collapser.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/collapser.h')
-rw-r--r--client/collapser.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/client/collapser.h b/client/collapser.h
index 8b38359..2b1ad3c 100644
--- a/client/collapser.h
+++ b/client/collapser.h
@@ -30,7 +30,9 @@
#include <QWidget>
#include <QTime>
#include <QTimer>
+
#include <QScrollArea>
+#include <QPixmap>
class Collapser : public QWidget {
Q_OBJECT
@@ -65,6 +67,17 @@ protected:
// void timerEvent(QTimerEvent *);
private:
+ class Placeholder : public QWidget {
+ public:
+ QPixmap pixmap;
+ void grab(QWidget *w);
+
+ protected:
+ void paintEvent(QPaintEvent*);
+ };
+
+ Placeholder placeholder;
+
QWidget *collapsed;
QWidget *expanded;