2017-04-23 15:05:48 +02:00
|
|
|
#ifndef CROPVIEW_HPP
|
|
|
|
#define CROPVIEW_HPP
|
|
|
|
|
|
|
|
#include <QGraphicsView>
|
|
|
|
#include <QKeyEvent>
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
class CropView : public QGraphicsView {
|
2017-06-14 23:34:58 +02:00
|
|
|
public:
|
2017-05-09 17:26:00 +02:00
|
|
|
CropView(QGraphicsScene *scene);
|
2017-04-23 15:05:48 +02:00
|
|
|
|
2017-06-14 23:34:58 +02:00
|
|
|
protected:
|
2017-05-09 17:26:00 +02:00
|
|
|
void keyPressEvent(QKeyEvent *e) override;
|
2017-04-23 15:05:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CROPVIEW_HPP
|