QElectroTech 0.100.0-dev
|
#include <arceditor.h>
Public Slots | |
void | updateArcS () |
ArcEditor::updateArcS Update the start angle of the arc according to the edited value. | |
void | updateArcA () |
ArcEditor::updateArcA Update the span angle of the arc according to the edited value. | |
void | updateForm () override |
ArcEditor::updateForm Update the value of the widgets. | |
void | updateRect () |
Public Member Functions | |
ArcEditor (QETElementEditor *, PartArc *=nullptr, QWidget *=nullptr) | |
~ArcEditor () override | |
Destructeur. | |
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. | |
bool | setParts (QList< CustomElementPart * > parts) override |
CustomElementPart * | currentPart () const override |
ArcEditor::currentPart. | |
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. | |
void | setUpChangeConnections () |
setUpChangeConnections Setup the connection from the arc(s) to the widget, to update it when the arc(s) are changed (moved ...) | |
void | disconnectChangeConnections () |
Private Attributes | |
PartArc * | m_part |
StyleEditor * | m_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 |
ArcEditor::updateArcS Update the start angle of the arc according to the edited value.
|
overrideslot |
ArcEditor::updateForm Update the value of the widgets.
|
slot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |