52 #ifndef DIALOGSINGLEPOINT_H
53 #define DIALOGSINGLEPOINT_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
88 virtual void SaveData() Q_DECL_OVERRIDE;
The DialogSinglePoint class dialog for ToolSinglePoint. Help create point and edit option.
DialogSinglePoint(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogSinglePoint create dialog.
QPointF GetPoint() const
getPoint return point
void SetData(const QString &name, const QPointF &point)
setData set name and point
void mousePress(const QPointF &scenePos)
mousePress get mouse position
QPointF point
point data of point
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
Ui::DialogSinglePoint * ui
ui keeps information about user interface
virtual ~DialogSinglePoint() Q_DECL_OVERRIDE
The VContainer class container of all variables.