summaryrefslogtreecommitdiffstats
path: root/examples/animation/piemenu/scene.h
blob: 676f55f7f7910c0c774dfa7a7449ce58c256ca79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the $MODULE$ of the Qt Toolkit.
**
** $TROLLTECH_DUAL_LICENSE$
**
****************************************************************************/

#ifndef SCENE_H
#define SCENE_H

#include <QtGui/qgraphicsscene.h>

class Scene : public QGraphicsScene
{
    Q_OBJECT
public:
    Scene(qreal x, qreal y, qreal width, qreal height, QObject *parent = 0);
    Scene(const QRectF &sceneRect, QObject *parent = 0);
    Scene(QObject *parent = 0);
    ~Scene();

protected:
    void mousePressEvent(QGraphicsSceneMouseEvent *event);
};

#endif