31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
#ifndef VTOOLSINGLEPOINT_H
|
|
#define VTOOLSINGLEPOINT_H
|
|
|
|
#include "container/vcontainer.h"
|
|
#include "xml/vdomdocument.h"
|
|
#include "dialogs/dialogsinglepoint.h"
|
|
#include "vtoolpoint.h"
|
|
|
|
class VToolSinglePoint : public VToolPoint
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
VToolSinglePoint (VDomDocument *doc, VContainer *data, qint64 id,
|
|
Tool::Enum typeCreation, QGraphicsItem * parent = 0 );
|
|
virtual void setDialog();
|
|
public slots:
|
|
virtual void FullUpdateFromFile();
|
|
virtual void FullUpdateFromGui(int result);
|
|
virtual void ChangedActivDraw(const QString newName);
|
|
signals:
|
|
void FullUpdateTree();
|
|
protected:
|
|
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
|
|
virtual void AddToFile();
|
|
QVariant itemChange ( GraphicsItemChange change, const QVariant &value );
|
|
private:
|
|
QSharedPointer<DialogSinglePoint> dialogSinglePoint;
|
|
};
|
|
|
|
#endif // VTOOLSINGLEPOINT_H
|