![]() |
QElectroTech
0.8-dev
|
#include <arceditor.h>


Public Slots | |
| void | updateArcS () |
| ArcEditor::updateArcS Update the start angle of the arc according to the edited value. More... | |
| void | updateArcA () |
| ArcEditor::updateArcA Update the span angle of the arc according to the edited value. More... | |
| void | updateArcRectX () |
| ArcEditor::updateArcRect Update the geometrie of the rect that define this arc according the the edited values. More... | |
| void | updateArcRectY () |
| void | updateArcRectH () |
| void | updateArcRectV () |
| void | updateForm () override |
| ArcEditor::updateForm Update the value of the widgets. More... | |
Public Member Functions | |
| ArcEditor (QETElementEditor *, PartArc *=nullptr, QWidget *=nullptr) | |
| ~ArcEditor () override | |
| Destructeur. More... | |
| bool | setPart (CustomElementPart *) override |
| ArcEditor::setPart Specifie to this editor the part to edit. Note that an editor can accept or refuse to edit a part. This editor accept only partArc. More... | |
| bool | setParts (QList< CustomElementPart * > parts) override |
| CustomElementPart * | currentPart () const override |
| ArcEditor::currentPart. More... | |
| QList< CustomElementPart * > | currentParts () const override |
Public Member Functions inherited from ElementItemEditor | |
| ElementItemEditor (QETElementEditor *, QWidget *=nullptr) | |
| ~ElementItemEditor () override | |
| virtual QETElementEditor * | elementEditor () const |
| virtual ElementScene * | elementScene () const |
| virtual QUndoStack & | undoStack () const |
| virtual QString | elementTypeName () const |
| virtual void | setElementTypeName (const QString &) |
| virtual void | detach () |
| virtual void | updateForm ()=0 |
Private Member Functions | |
| ArcEditor (const ArcEditor &) | |
| void | activeConnections (bool) |
| ArcEditor::activeConnections Enable/disable connection between editor widget and slot editingFinished True == enable | false == disable. More... | |
| void | setUpChangeConnections () |
| setUpChangeConnections Setup the connection from the arc(s) to the widget, to update it when the arc(s) are changed (moved ...) More... | |
| void | disconnectChangeConnections () |
Private Attributes | |
| PartArc * | part |
| StyleEditor * | style_ |
| QDoubleSpinBox * | x |
| QDoubleSpinBox * | y |
| QDoubleSpinBox * | h |
| QDoubleSpinBox * | v |
| QSpinBox * | angle |
| QSpinBox * | start_angle |
| bool | m_locked |
| QList< QMetaObject::Connection > | m_change_connections |
This class provides a widget to edit elliptical arcs within the element editor.
| ArcEditor::ArcEditor | ( | QETElementEditor * | editor, |
| PartArc * | arc = nullptr, |
||
| QWidget * | parent = nullptr |
||
| ) |
Constructeur
| editor | L'editeur d'element concerne |
| arc | L'arc a editer |
| parent | le Widget parent |

|
override |
Destructeur.
|
private |
|
private |
ArcEditor::activeConnections Enable/disable connection between editor widget and slot editingFinished True == enable | false == disable.
| active |


|
overridevirtual |
Implements ElementItemEditor.
|
overridevirtual |
|
private |

|
overridevirtual |
ArcEditor::setPart Specifie to this editor the part to edit. Note that an editor can accept or refuse to edit a part. This editor accept only partArc.
| new_part |
Implements ElementItemEditor.


|
overridevirtual |
|
private |
setUpChangeConnections Setup the connection from the arc(s) to the widget, to update it when the arc(s) are changed (moved ...)


|
slot |
ArcEditor::updateArcA Update the span angle of the arc according to the edited value.


|
slot |


|
slot |


|
slot |
ArcEditor::updateArcRect Update the geometrie of the rect that define this arc according the the edited values.


|
slot |


|
slot |
ArcEditor::updateArcS Update the start angle of the arc according to the edited value.


|
overrideslot |
ArcEditor::updateForm Update the value of the widgets.


|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.18