KShare/cropeditor/drawing/eraseritem.hpp
ArsenArsen d0eaec047a Fix the encoder, add rectangles, and add undraw
undraw = way to delete drawings
2017-06-26 15:43:12 +02:00

19 lines
410 B
C++

#ifndef ERASERITEM_HPP
#define ERASERITEM_HPP
#include "drawitem.hpp"
class EraserItem : public DrawItem {
public:
EraserItem();
~EraserItem();
QString name() override {
return "Eraser";
}
void mouseDragEvent(QGraphicsSceneMouseEvent *e, CropScene *scene) override;
void mouseDragEndEvent(QGraphicsSceneMouseEvent *, CropScene *) override {
}
};
#endif // ERASERITEM_HPP