valentina_old/tools/vtoolsimplepoint.h

26 lines
816 B
C
Raw Normal View History

2013-07-13 12:51:31 +02:00
#ifndef VTOOLSIMPLEPOINT_H
#define VTOOLSIMPLEPOINT_H
#include "../container/vcontainer.h"
#include "../xml/vdomdocument.h"
2013-07-17 13:38:11 +02:00
#include "vtoolpoint.h"
2013-07-28 00:18:06 +02:00
#include "../dialogs/dialogsinglepoint.h"
2013-07-13 12:51:31 +02:00
2013-07-17 13:38:11 +02:00
class VToolSimplePoint : public VToolPoint
2013-07-13 12:51:31 +02:00
{
Q_OBJECT
public:
VToolSimplePoint (VDomDocument *doc, VContainer *data, qint64 id,
Tool::Enum typeCreation, QGraphicsItem * parent = 0 );
public slots:
2013-07-17 13:38:11 +02:00
virtual void FullUpdateFromFile();
2013-07-28 00:18:06 +02:00
virtual void FullUpdateFromGui(int result);
2013-07-13 12:51:31 +02:00
protected:
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
2013-07-17 13:38:11 +02:00
virtual void AddToFile();
2013-07-13 12:51:31 +02:00
private:
2013-07-28 00:18:06 +02:00
QSharedPointer<DialogSinglePoint> dialogSinglePoint;
2013-07-13 12:51:31 +02:00
};
#endif // VTOOLSIMPLEPOINT_H