2017-04-29 17:35:42 +02:00
|
|
|
#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-05-09 17:26:00 +02:00
|
|
|
public:
|
|
|
|
DotItem();
|
|
|
|
~DotItem();
|
|
|
|
QString name() {
|
|
|
|
return "Dots (drag to add)";
|
|
|
|
}
|
|
|
|
void mouseDragEvent(QGraphicsSceneMouseEvent *e, CropScene *scene);
|
|
|
|
void mouseDragEndEvent(QGraphicsSceneMouseEvent *e, CropScene *scene);
|
2017-04-29 17:35:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DOTITEM_HPP
|