24 lines
744 B
C++
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
|