52 #ifndef DIALOGHEIGHT_H
53 #define DIALOGHEIGHT_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vmisc/def.h"
108 virtual void SaveData() Q_DECL_OVERRIDE;
The DialogHeight class dialog for ToolHeight. Help create point and edit option.
virtual void ShowVisualization() Q_DECL_OVERRIDE
DialogHeight(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogHeight create dialog.
QString getLineType() const
getLineType return type of line
virtual ~DialogHeight() Q_DECL_OVERRIDE
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
void SetP1LineId(const quint32 &value)
SetP1LineId set id first point of line.
void setLineColor(const QString &value)
void setLineWeight(const QString &value)
setLineWeight set weight of the lines
void SetPointName(const QString &value)
SetPointName set name of point.
Ui::DialogHeight * ui
ui keeps information about user interface
void SetP2LineId(const quint32 &value)
SetP2LineId set id second point of line.
QString getLineWeight() const
getLineWeight return weight of the lines
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.
void setLineType(const QString &value)
setLineType set type of line
quint32 GetP1LineId() const
GetP1LineId return id first point of line.
quint32 GetBasePointId() const
GetBasePointId return id base point of height.
QString getLineColor() const
void SetBasePointId(const quint32 &value)
SetBasePointId set id base point of height.
virtual void PointNameChanged() Q_DECL_OVERRIDE
quint32 GetP2LineId() const
GetP2LineId return id second point of line.
The VContainer class container of all variables.