1 #ifndef KINETICLAYOUT_H
2 #define KINETICLAYOUT_H
4 #include <QGraphicsWidget>
5 #include <QPropertyAnimation>
6 #include <QGraphicsSceneMouseEvent>
8 #include "kineticscroll.h"
10 class KineticView
: public QGraphicsWidget
, KineticScrolling
15 KineticView(QGraphicsWidget
*parent
= 0);
18 void setWidget( QGraphicsWidget
*item
);
21 QGraphicsWidget
* mWindow
;
22 QGraphicsWidget
*mViewPort
;
25 virtual bool event ( QEvent
* event
);
28 void setScrollValue( int value
);