52 #ifndef DIALOGBISECTOR_H
53 #define DIALOGBISECTOR_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vmisc/def.h"
120 virtual void SaveData() Q_DECL_OVERRIDE;
121 virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
The DialogBisector class dialog for ToolBisector. Help create point and edit option.
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE
closeEvent handle when dialog cloded
void setLineType(const QString &value)
setLineType set type of line
quint32 GetFirstPointId() const
GetFirstPointId return id of first point.
virtual void ShowVisualization() Q_DECL_OVERRIDE
void DeployFormulaTextEdit()
DeployFormulaTextEdit grow or shrink formula input.
quint32 GetSecondPointId() const
GetSecondPointId return id of second point.
void setLineColor(const QString &value)
void SetSecondPointId(const quint32 &value)
SetSecondPointId set id of second point.
quint32 GetThirdPointId() const
GetThirdPointId return id of third point.
QString GetFormula() const
GetFormula return string of formula.
QString formula
formula formula
QString getLineColor() const
getLineColor get the color of line
void setLineWeight(const QString &value)
setLineWeight set 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.
DialogBisector(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogBisector create dialog.
virtual void PointNameChanged() Q_DECL_OVERRIDE
void SetFirstPointId(const quint32 &value)
SetFirstPointId set id of first point.
QString getLineWeight() const
getLineWeight return weight of the lines
void SetThirdPointId(const quint32 &value)
SetThirdPointId set id of third point.
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
void FormulaTextChanged()
FormulaTextChanged when formula text changes for validation and calc.
int formulaBaseHeight
formulaBaseHeight base height defined by dialogui
void SetPointName(const QString &value)
SetPointName set name of point.
QString getLineType() const
getLineType return type of line
Ui::DialogBisector * ui
ui keeps information about user interface
void SetFormula(const QString &value)
SetFormula set string of formula.
virtual ~DialogBisector() Q_DECL_OVERRIDE
The VContainer class container of all variables.