56 bool setParts(QList<CustomElementPart *>)
override;
72 void makeUndo(
const QString &undo_text,
const char *property_name,
const QVariant &new_value);
The CustomElementGraphicPart class This class is the base for all home-made primitive like line,...
Definition customelementgraphicpart.h:36
The CustomElementPart class This abstract class represents a primitive of the visual representation o...
Definition customelementpart.h:40
Definition elementitemeditor.h:34
Definition qetelementeditor.h:39
Definition styleeditor.h:35
QList< CustomElementPart * > m_cep_list
Definition styleeditor.h:49
QComboBox * outline_color
Definition styleeditor.h:51
CustomElementPart * currentPart() const override
Definition styleeditor.cpp:551
QList< CustomElementGraphicPart * > m_part_list
Definition styleeditor.h:48
void makeUndo(const QString &undo_text, const char *property_name, const QVariant &new_value)
Definition styleeditor.cpp:599
QComboBox * size_weight
Definition styleeditor.h:51
QComboBox * filling_color
Definition styleeditor.h:51
QComboBox * line_style
Definition styleeditor.h:51
void updateForm() override
StyleEditor::updateForm Update the edition form according to the value of edited part(s)
Definition styleeditor.cpp:446
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:522
void updatePartLineWeight()
Update weight with undo command.
Definition styleeditor.cpp:431
QCheckBox * antialiasing
Definition styleeditor.h:50
void updatePartFilling()
Update color filling with undo command.
Definition styleeditor.cpp:437
CustomElementGraphicPart * part
Definition styleeditor.h:47
static bool isStyleEditable(QList< CustomElementPart * > cep_list)
StyleEditor::isStyleEditable.
Definition styleeditor.cpp:567
StyleEditor(const StyleEditor &)
void updatePartLineStyle()
Update style with undo command.
Definition styleeditor.cpp:425
QList< CustomElementPart * > currentParts() const override
Definition styleeditor.cpp:556
void updatePartAntialiasing()
Update antialiasing with undo command.
Definition styleeditor.cpp:413
~StyleEditor() override
Destructeur.
Definition styleeditor.cpp:408
bool setPart(CustomElementPart *) override
StyleEditor::setPart Set the part to edit by this editor. Note : editor can accept or refuse to edit ...
Definition styleeditor.cpp:492
void activeConnections(bool)
Definition styleeditor.cpp:583
void updatePartColor()
Update color with undo command.
Definition styleeditor.cpp:419