KShare/cropeditor/cropview.hpp

17 lines
269 B
C++
Raw Normal View History

2017-04-23 15:05:48 +02:00
#ifndef CROPVIEW_HPP
#define CROPVIEW_HPP
#include <QGraphicsView>
#include <QKeyEvent>
class CropView : public QGraphicsView
{
public:
CropView(QGraphicsScene *scene);
protected:
void keyPressEvent(QKeyEvent *e) override;
};
#endif // CROPVIEW_HPP