18 #ifndef DYNAMICELEMENTTEXTITEMEDITOR_H 19 #define DYNAMICELEMENTTEXTITEMEDITOR_H 41 QString
title()
const override {
return tr(
"Textes");}
43 void apply()
override;
60 Ui::DynamicElementTextItemEditor *
ui;
64 #endif // DYNAMICELEMENTTEXTITEMEDITOR_H The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
QUndoCommand * associatedUndo() const override
PropertiesEditorWidget::associatedUndo By default, return a nullptr.
bool setLiveEdit(bool live_edit) override
PropertiesEditorWidget::setLiveEdit Set the editor in live edit mode. When an editor is in live edit ...
void setElement(Element *element) override
Ui::DynamicElementTextItemEditor * ui
void on_m_remove_selection_clicked()
DynamicElementTextItemEditor::on_m_remove_selection_clicked Remove the selected item.
~DynamicElementTextItemEditor() override
void on_m_add_text_clicked()
DynamicElementTextItemEditor::on_m_add_text_clicked Add a new dynamic text.
DynamicElementTextModel * m_model
void on_m_add_group_clicked()
DynamicElementTextItemEditor::on_m_add_group_clicked Add a new group.
void setCurrentGroup(ElementTextItemGroup *group)
DynamicElementTextItemEditor::setCurrentGroup Expand and select the item for group ...
void on_m_tree_view_clicked(const QModelIndex &index)
DynamicElementTextItemEditor(Element *element, QWidget *parent=nullptr)
The ElementTextItemGroup class This class represent a group of element text Texts in the group can be...
void setCurrentText(DynamicElementTextItem *text)
DynamicElementTextItemEditor::setCurrentText Expand and select the item for text .
void on_m_import_pb_clicked()
void on_m_export_pb_clicked()
QString title() const override
PropertiesEditorWidget::title.
The DynamicElementTextModel class A model to use with QtView. This model display and can edit the val...