valentina/tools/vtoolsimplepoint.h

22 lines
538 B
C
Raw Normal View History

2013-07-13 12:51:31 +02:00
#ifndef VTOOLSIMPLEPOINT_H
#define VTOOLSIMPLEPOINT_H
2013-08-05 10:37:56 +02:00
#include <QGraphicsEllipseItem>
#include <QGraphicsLineItem>
2013-07-13 12:51:31 +02:00
2013-08-05 10:37:56 +02:00
#include "../options.h"
#include "vabstracttool.h"
class VToolSimplePoint: public VAbstractTool, public QGraphicsEllipseItem
2013-07-13 12:51:31 +02:00
{
Q_OBJECT
public:
2013-08-05 10:37:56 +02:00
VToolSimplePoint(VDomDocument *doc, VContainer *data, qint64 id, QGraphicsItem * parent = 0);
2013-07-13 12:51:31 +02:00
public slots:
2013-08-05 10:37:56 +02:00
virtual void ChangedActivDraw(const QString newName);
2013-07-13 12:51:31 +02:00
protected:
2013-08-05 10:37:56 +02:00
virtual void RefreshGeometry();
2013-07-13 12:51:31 +02:00
};
#endif // VTOOLSIMPLEPOINT_H