You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef MYRECT_H |
|
#define MYRECT_H |
|
|
|
#include <QGraphicsRectItem> |
|
#include <QObject> |
|
|
|
class MyRect: public QObject, public QGraphicsRectItem { |
|
Q_OBJECT |
|
public: |
|
void keyPressEvent(QKeyEvent* event); |
|
public slots: |
|
void spawn(); |
|
}; |
|
|
|
#endif // MYRECT_H
|
|
|