|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ELEMENT_ITEM_EDITOR_H
19 #define ELEMENT_ITEM_EDITOR_H
54 virtual bool setParts(QList <CustomElementPart *>) {
return false;}
QString element_type_name
Definition: elementitemeditor.h:63
ElementItemEditor(const ElementItemEditor &)
virtual bool setParts(QList< CustomElementPart * >)
Definition: elementitemeditor.h:54
virtual void setElementTypeName(const QString &)
Definition: elementitemeditor.cpp:54
virtual QList< CustomElementPart * > currentParts() const =0
virtual CustomElementPart * currentPart() const =0
ElementItemEditor(QETElementEditor *, QWidget *=nullptr)
Definition: elementitemeditor.cpp:27
Definition: elementitemeditor.h:34
virtual ElementScene * elementScene() const
Definition: elementitemeditor.cpp:39
virtual QETElementEditor * elementEditor() const
Definition: elementitemeditor.cpp:34
virtual void updateForm()=0
virtual bool setPart(CustomElementPart *)=0
virtual void detach()
Definition: elementitemeditor.cpp:63
~ElementItemEditor() override
Definition: elementitemeditor.h:39
The CustomElementPart class This abstract class represents a primitive of the visual representation o...
Definition: customelementpart.h:40
QETElementEditor * element_editor
Definition: elementitemeditor.h:62
virtual QString elementTypeName() const
Definition: elementitemeditor.cpp:49
The ElementScene class This class is the canvas allowing the visual edition of an electrial element....
Definition: elementscene.h:40
Definition: qetelementeditor.h:33
virtual QUndoStack & undoStack() const
Definition: elementitemeditor.cpp:44