52 #ifndef DIALOGLINEINTERSECT_H
53 #define DIALOGLINEINTERSECT_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vmisc/def.h"
101 virtual void SaveData() Q_DECL_OVERRIDE;
The DialogLineIntersect class dialog for ToolLineIntersect. Help create point and edit option.
void SetP2Line2(const quint32 &value)
SetP2Line2 set id second point of second line.
quint32 GetP2Line1() const
GetP2Line1 return id second point of first line.
virtual void ShowVisualization() Q_DECL_OVERRIDE
quint32 GetP1Line2() const
GetP1Line2 return id first point of second line.
virtual void PointNameChanged() Q_DECL_OVERRIDE
void SetP1Line1(const quint32 &value)
SetP1Line1 set id first point of first line.
Ui::DialogLineIntersect * ui
ui keeps information about user interface
DialogLineIntersect(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogLineIntersect create dialog.
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
virtual void CheckState() Q_DECL_FINAL
CheckState check state of dialog. Enable or disable button ok.
void SetP1Line2(const quint32 &value)
SetP1Line2 set id first point of second line.
quint32 GetP2Line2() const
GetP2Line2 return id second point of second line.
virtual ~DialogLineIntersect() Q_DECL_OVERRIDE
void SetPointName(const QString &value)
SetPointName set name of point.
quint32 GetP1Line1() const
GetP1Line1 return id first point of first line.
void SetP2Line1(const quint32 &value)
SetP2Line1 set id second point of first line.
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.
bool CheckIntersecion()
CheckIntersecion check intersection of points.
void PointChanged()
P1Line1Changed changed first point of first line.
bool flagPoint
flagPoint keep state of point
The VContainer class container of all variables.