52 #ifndef DIALOGENDLINE_H
53 #define DIALOGENDLINE_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vmisc/def.h"
99 virtual void ShowDialog(
bool click) Q_DECL_OVERRIDE;
123 virtual void SaveData() Q_DECL_OVERRIDE;
124 virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
The DialogEndLine class dialog for ToolEndLine. Help create point and edit option.
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE
closeEvent handle when dialog cloded
void FormulaTextChanged()
FormulaTextChanged when formula text changes for validation and calc.
void EvalAngle()
EvalAngle calculate value of angle.
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 DeployFormulaTextEdit()
DeployFormulaTextEdit grow or shrink formula input.
void SetPointName(const QString &value)
SetPointName set name of point.
void SetAngle(const QString &value)
SetAngle set angle of line.
QString formulaAngle
angle angle of line
virtual ~DialogEndLine() Q_DECL_OVERRIDE
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
void setLineType(const QString &value)
setLineType set type of line
DialogEndLine(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogEndLine create dialog.
void SetFormula(const QString &value)
SetFormula set string of formula.
void SetBasePointId(const quint32 &value)
SetBasePointId set id base point of line.
void DeployAngleTextEdit()
int formulaBaseHeight
formulaBaseHeight base height defined by dialogui
quint32 GetBasePointId() const
GetBasePointId return id base point of line.
void setLineColor(const QString &value)
setLineColor set color of the line
QString getLineWeight() const
getLineWeight return weight of the lines
QString getLineColor() const
getLineColor get the color of line
void setLineWeight(const QString &value)
setLineWeight set weight of the lines
virtual void ShowVisualization() Q_DECL_OVERRIDE
QString formulaLength
formula formula
QString GetFormula() const
GetFormula return string of formula.
Ui::DialogEndLine * ui
ui keeps information about user interface
int formulaBaseHeightAngle
virtual void ShowDialog(bool click) Q_DECL_OVERRIDE
DialogEndLine::ShowDialog show dialog after finish working with visual part.
QString GetAngle() const
GetAngle return formula angle of line.
QString getLineType() const
getLineType return type of line
The VContainer class container of all variables.