Fix bug 221

https://qelectrotech.org/bugtracker/view.php?id=221
This commit is contained in:
joshua
2021-01-28 19:25:42 +01:00
parent 20cd0366eb
commit aa66eabe7c
2 changed files with 60 additions and 140 deletions

View File

@@ -41,8 +41,8 @@ class ArcEditor : public ElementItemEditor
// attributes
private:
PartArc *part;
StyleEditor *style_;
PartArc *m_part;
StyleEditor *m_style;
QDoubleSpinBox *x, *y, *h, *v;
QSpinBox *angle, *start_angle;
bool m_locked;
@@ -59,11 +59,8 @@ class ArcEditor : public ElementItemEditor
public slots:
void updateArcS();
void updateArcA();
void updateArcRectX();
void updateArcRectY();
void updateArcRectH();
void updateArcRectV();
void updateForm() override;
void updateRect();
private:
void activeConnections(bool);