diff options
Diffstat (limited to 'client/collapser.h')
-rw-r--r-- | client/collapser.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/client/collapser.h b/client/collapser.h index 2b1ad3c..9702351 100644 --- a/client/collapser.h +++ b/client/collapser.h @@ -69,11 +69,19 @@ protected: private: class Placeholder : public QWidget { public: - QPixmap pixmap; - void grab(QWidget *w); + QPixmap pixmap_from; + QPixmap pixmap_to; + + void grab_from(QWidget *w); + void grab_to(QWidget *w); + + void setWeight(double weight); protected: void paintEvent(QPaintEvent*); + + private: + double weight; }; Placeholder placeholder; |