summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/padnavigator/splashitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/padnavigator/splashitem.h')
-rw-r--r--examples/graphicsview/padnavigator/splashitem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/graphicsview/padnavigator/splashitem.h b/examples/graphicsview/padnavigator/splashitem.h
index e2655ec..982bbe2 100644
--- a/examples/graphicsview/padnavigator/splashitem.h
+++ b/examples/graphicsview/padnavigator/splashitem.h
@@ -40,6 +40,7 @@
****************************************************************************/
#include <QtCore/qobject.h>
+#include <QtCore/qtimeline.h>
#include <QtGui/qgraphicswidget.h>
class SplashItem : public QGraphicsWidget
@@ -52,6 +53,11 @@ public:
protected:
void keyPressEvent(QKeyEvent *event);
+private Q_SLOTS:
+ void setValue(qreal value);
+
private:
+ QTimeLine *timeLine;
QString text;
+ qreal opacity;
};