KShare/cropeditor/drawing/dotitem.hpp

19 lines
404 B
C++
Raw Normal View History

#ifndef DOTITEM_HPP
#define DOTITEM_HPP
#include "../cropscene.hpp"
#include "drawitem.hpp"
2017-05-06 13:21:12 +02:00
class DotItem : public DrawItem {
2017-06-14 23:34:58 +02:00
public:
DotItem();
~DotItem();
QString name() {
return "Dots (drag to add)";
}
void mouseDragEvent(QGraphicsSceneMouseEvent *e, CropScene *scene);
void mouseDragEndEvent(QGraphicsSceneMouseEvent *e, CropScene *scene);
};
#endif // DOTITEM_HPP