diff -r 56cd8111b7f7 -r 41300fa6a67c examples/effects/blurpicker/blurpicker.h --- a/examples/effects/blurpicker/blurpicker.h Tue Jan 26 12:42:25 2010 +0200 +++ b/examples/effects/blurpicker/blurpicker.h Tue Feb 02 00:43:10 2010 +0200 @@ -44,31 +44,31 @@ #include #include -#include +#include #include "blureffect.h" class BlurPicker: public QGraphicsView { Q_OBJECT + Q_PROPERTY(qreal index READ index WRITE setIndex) public: BlurPicker(QWidget *parent = 0); + qreal index() const; + void setIndex(qreal); + protected: void keyPressEvent(QKeyEvent *event); -private slots: - void updateIconPositions(); - private: void setupScene(); private: qreal m_index; - QGraphicsScene m_scene; QList m_icons; - QTimeLine m_timeLine; + QPropertyAnimation m_animation; }; #endif // BLURPICKER_H