18 #ifndef STYLE_EDITOR_H 19 #define STYLE_EDITOR_H 57 bool setParts(QList<CustomElementPart *>)
override;
72 void makeUndo(
const QString &undo_text,
const char *property_name,
const QVariant &new_value);
CustomElementGraphicPart * part
bool setPart(CustomElementPart *) override
StyleEditor::setPart Set the part to edit by this editor. Note : editor can accept or refuse to edit ...
QList< CustomElementGraphicPart * > m_part_list
QComboBox * outline_color
void updateForm() override
StyleEditor::updateForm Update the edition form according to the value of edited part(s) ...
bool setParts(QList< CustomElementPart *>) override
StyleEditor::setParts Set several parts to edit by this editor. Note : editor can accept or refuse to...
void updatePartAntialiasing()
Update antialiasing with undo command.
void updatePartColor()
Update color with undo command.
static bool isStyleEditable(QList< CustomElementPart *> cep_list)
StyleEditor::isStyleEditable.
QComboBox * filling_color
The CustomElementGraphicPart class This class is the base for all home-made primitive like line...
QList< CustomElementPart * > m_cep_list
void updatePartFilling()
Update color filling with undo command.
QVBoxLayout * main_layout
void updatePartLineStyle()
Update style with undo command.
void updatePartLineWeight()
Update weight with undo command.
void makeUndo(const QString &undo_text, const char *property_name, const QVariant &new_value)
StyleEditor(QETElementEditor *, CustomElementGraphicPart *=nullptr, QWidget *=nullptr)
~StyleEditor() override
Destructeur.
CustomElementPart * currentPart() const override
void activeConnections(bool)