KShare/cropeditor/drawing/eraseritem.hpp
2017-07-08 21:40:09 +02:00

19 lines
409 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 *, CropScene *scene) override;
void mouseDragEndEvent(QGraphicsSceneMouseEvent *, CropScene *) override {
}
};
#endif // ERASERITEM_HPP