valentina/tools/vtoolsimplepoint.h
2013-07-25 15:00:51 +03:00

24 lines
744 B
C++

#ifndef VTOOLSIMPLEPOINT_H
#define VTOOLSIMPLEPOINT_H
#include "../container/vcontainer.h"
#include "../xml/vdomdocument.h"
#include "vtoolpoint.h"
class VToolSimplePoint : public VToolPoint
{
Q_OBJECT
public:
VToolSimplePoint (VDomDocument *doc, VContainer *data, qint64 id,
Tool::Enum typeCreation, QGraphicsItem * parent = 0 );
public slots:
virtual void FullUpdateFromFile();
protected:
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
virtual void AddToFile();
private:
void FullUpdateFromGui(const QString& name, qreal x, qreal y);
};
#endif // VTOOLSIMPLEPOINT_H