|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
46 QDoubleSpinBox *
x, *
y, *
h, *
v;
55 bool setParts(QList <CustomElementPart *> parts)
override;
QList< QMetaObject::Connection > m_change_connections
Definition: arceditor.h:50
void enableAnimation(bool animate=true)
QPropertyUndoCommand::enableAnimation True to enable animation.
Definition: qpropertyundocommand.cpp:92
void updateArcA()
ArcEditor::updateArcA Update the span angle of the arc according to the edited value.
Definition: arceditor.cpp:181
StyleEditor * style_
Definition: arceditor.h:45
ArcEditor(QETElementEditor *, PartArc *=nullptr, QWidget *=nullptr)
Definition: arceditor.cpp:30
QList< CustomElementPart * > currentParts() const override
Definition: styleeditor.cpp:543
QUndoStack & undoStack()
ElementScene::undoStack.
Definition: elementscene.cpp:603
~ArcEditor() override
Destructeur.
Definition: arceditor.cpp:78
QDoubleSpinBox * y
Definition: arceditor.h:46
QList< CustomElementPart * > currentParts() const override
Definition: arceditor.cpp:147
void updateArcS()
ArcEditor::updateArcS Update the start angle of the arc according to the edited value.
Definition: arceditor.cpp:155
QDoubleSpinBox * x
Definition: arceditor.h:46
Definition: arceditor.h:32
QDoubleSpinBox * h
Definition: arceditor.h:46
The PartArc class This class represents an elliptical arc primitive which may be used to compose the ...
Definition: partarc.h:32
void setUpChangeConnections()
setUpChangeConnections Setup the connection from the arc(s) to the widget, to update it when the arc(...
Definition: arceditor.cpp:80
void updateForm() override
ArcEditor::updateForm Update the value of the widgets.
Definition: arceditor.cpp:306
bool setPart(CustomElementPart *) override
ArcEditor::setPart Specifie to this editor the part to edit. Note that an editor can accept or refuse...
Definition: arceditor.cpp:104
Definition: styleeditor.h:35
PartArc * part
Definition: arceditor.h:44
Definition: elementitemeditor.h:34
QSpinBox * angle
Definition: arceditor.h:47
virtual ElementScene * elementScene() const
Definition: elementitemeditor.cpp:39
QDoubleSpinBox * v
Definition: arceditor.h:46
CustomElementPart * currentPart() const override
ArcEditor::currentPart.
Definition: arceditor.cpp:143
void updateArcRectH()
Definition: arceditor.cpp:256
void updateArcRectV()
Definition: arceditor.cpp:279
ArcEditor(const ArcEditor &)
bool setParts(QList< CustomElementPart * >) override
StyleEditor::setParts Set several parts to edit by this editor. Note : editor can accept or refuse to...
Definition: styleeditor.cpp:510
QSpinBox * start_angle
Definition: arceditor.h:47
The CustomElementPart class This abstract class represents a primitive of the visual representation o...
Definition: customelementpart.h:40
void disconnectChangeConnections()
Definition: arceditor.cpp:89
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition: qpropertyundocommand.h:34
bool m_locked
Definition: arceditor.h:48
void activeConnections(bool)
ArcEditor::activeConnections Enable/disable connection between editor widget and slot editingFinished...
Definition: arceditor.cpp:326
QIcon tr
Definition: qeticons.cpp:206
bool setParts(QList< CustomElementPart * > parts) override
Definition: arceditor.cpp:129
Definition: qetelementeditor.h:33
void updateArcRectX()
ArcEditor::updateArcRect Update the geometrie of the rect that define this arc according the the edit...
Definition: arceditor.cpp:206
QVariant property(const char *name) const override
Definition: customelementgraphicpart.h:297
void updateArcRectY()
Definition: arceditor.cpp:230