summaryrefslogtreecommitdiffstats
path: root/examples/animation/stickman/graphicsview.h
blob: 9ea2cfb37395657b59093427f60b499e029520a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef GRAPHICSVIEW_H
#define GRAPHICSVIEW

#include <QtGui/QGraphicsView>

class GraphicsView: public QGraphicsView
{
    Q_OBJECT
public:
    GraphicsView(QWidget *parent = 0);

protected:
    void keyPressEvent(QKeyEvent *);

signals:
    void keyPressed(int key);
};

#endif