52 #ifndef DIALOGCUTARC_H
53 #define DIALOGCUTARC_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vmisc/def.h"
103 virtual void SaveData() Q_DECL_OVERRIDE;
104 virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
The DialogCutArc class dialog for ToolCutArc.
virtual ~DialogCutArc() Q_DECL_OVERRIDE
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE
closeEvent handle when dialog cloded
void FormulaTextChanged()
FormulaTextChanged when formula text changes for validation and calc.
virtual void ShowVisualization() Q_DECL_OVERRIDE
DialogCutArc(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogCutArc create dialog.
void DeployFormulaTextEdit()
DeployFormulaTextEdit grow or shrink formula input.
void SetFormula(const QString &value)
SetFormula set string with formula length.
void SetPointName(const QString &value)
SetPointName set name point on arc.
quint32 getArcId() const
getArcId return id of arc
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 formula
formula string with formula
Ui::DialogCutArc * ui
ui keeps information about user interface
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
QString GetFormula() const
GetFormula return string with formula length.
void setArcId(const quint32 &value)
setArcId set id of arc
int formulaBaseHeight
formulaBaseHeight base height defined by dialogui
The VContainer class container of all variables.