KShare/cropeditor/cropview.hpp

16 lines
261 B
C++
Raw Normal View History

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:
CropView(QGraphicsScene *scene);
2017-04-23 15:05:48 +02:00
2017-06-14 23:34:58 +02:00
protected:
void keyPressEvent(QKeyEvent *e) override;
2017-04-23 15:05:48 +02:00
};
#endif // CROPVIEW_HPP