You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
493 B

#ifndef ELLIPSEITEM_HPP
#define ELLIPSEITEM_HPP
#include "drawitem.hpp"
class EllipseItem : public DrawItem {
public:
EllipseItem() {
}
QString name() {
return "Blur";
}
~EllipseItem() {
}
void mouseDragEvent(QGraphicsSceneMouseEvent *e, CropScene *scene) override;
void mouseDragEndEvent(QGraphicsSceneMouseEvent *, CropScene *) override {
}
private:
QGraphicsEllipseItem *ellie = nullptr;
QPointF initPos;
};
#endif // ELLIPSEITEM_HPP