50 #include <qcompilerdetection.h>
51 #include <QMetaObject>
56 #include "../vmisc/def.h"
100 virtual void SaveData() Q_DECL_OVERRIDE;
The DialogLine class dialog for ToolLine. Help create line and edit option.
virtual void ShowVisualization() Q_DECL_OVERRIDE
virtual void PointNameChanged() Q_DECL_OVERRIDE
virtual ~DialogLine() Q_DECL_OVERRIDE
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
QString getLineWeight() const
getLineWeight return weight of the lines
void setFirstPoint(const quint32 &value)
setFirstPoint set id first point
DialogLine(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogLine create dialog.
QString getLineColor() const
quint32 getFirstPoint() const
getFirstPoint return id first point
virtual void ChosenObject(quint32 id, const SceneObject &type) Q_DECL_OVERRIDE
ChoosedObject gets id and type of selected object. Save right data and ignore wrong.
QString getLineType() const
getLineType return type of line
void setLineName()
setLineName set the name of the line
void setLineType(const QString &value)
setLineType set type of line
Ui::DialogLine * ui
ui keeps information about user interface
void setLineWeight(const QString &value)
setLineWeight set weight of the lines
void setLineColor(const QString &value)
void setSecondPoint(const quint32 &value)
setSecondPoint set id second point
quint32 getSecondPoint() const
getSecondPoint return id second point
The VContainer class container of all variables.