diff options
Diffstat (limited to 'client/collapser.h')
-rw-r--r-- | client/collapser.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/collapser.h b/client/collapser.h index 03d74d7..8b38359 100644 --- a/client/collapser.h +++ b/client/collapser.h @@ -30,11 +30,13 @@ #include <QWidget> #include <QTime> #include <QTimer> +#include <QScrollArea> class Collapser : public QWidget { Q_OBJECT public: - Collapser(QWidget *collapsed = NULL, QWidget *expanded = NULL, bool setcollapsed = true); + Collapser(QWidget *collapsed = NULL, QWidget *expanded = NULL, + bool setcollapsed = true, QScrollArea *scrollarea = NULL); bool isCollapsed(); void setCollapsed(bool setcollapsed); @@ -66,6 +68,8 @@ private: QWidget *collapsed; QWidget *expanded; + QScrollArea *scrollarea; + bool is_collapsed; QTime t_anim; |