|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef INDITEXTPROPERTIESWIDGET_H
19 #define INDITEXTPROPERTIESWIDGET_H
42 void setText (QList<IndependentTextItem *> text_list);
44 void apply()
override;
58 Ui::IndiTextPropertiesWidget *
ui;
59 QPointer <IndependentTextItem>
m_text;
67 #endif // INDITEXTPROPERTIESWIDGET_H
QList< QMetaObject::Connection > m_edit_connection
Definition: inditextpropertieswidget.h:62
void updateUi() override
IndiTextPropertiesWidget::updateUi.
Definition: inditextpropertieswidget.cpp:346
~IndiTextPropertiesWidget() override
IndiTextPropertiesWidget::~IndiTextPropertiesWidget.
Definition: inditextpropertieswidget.cpp:60
IndiTextPropertiesWidget(IndependentTextItem *text=nullptr, QWidget *parent=nullptr)
IndiTextPropertiesWidget::IndiTextPropertiesWidget.
Definition: inditextpropertieswidget.cpp:32
QFont m_selected_font
Definition: inditextpropertieswidget.h:63
QPointer< IndependentTextItem > m_text
Definition: inditextpropertieswidget.h:59
QList< QMetaObject::Connection > m_connect_list
Definition: inditextpropertieswidget.h:61
void apply() override
IndiTextPropertiesWidget::apply Apply the current edition through a QUndoCommand pushed to the undo s...
Definition: inditextpropertieswidget.cpp:118
Ui::IndiTextPropertiesWidget * ui
Definition: inditextpropertieswidget.h:58
bool m_font_is_selected
Definition: inditextpropertieswidget.h:64
QUndoCommand * associatedUndo() const override
IndiTextPropertiesWidget::associatedUndo.
Definition: inditextpropertieswidget.cpp:170
void on_m_font_pb_clicked()
Definition: inditextpropertieswidget.cpp:442
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
void fontChanged(QFont font)
QList< QPointer< IndependentTextItem > > m_text_list
Definition: inditextpropertieswidget.h:60
QUndoStack & undoStack()
Diagram::undoStack.
Definition: diagram.h:397
void setAnimated(bool animate=true, bool first_time=true)
QPropertyUndoCommand::setAnimated.
Definition: qpropertyundocommand.cpp:103
void on_m_break_html_pb_clicked()
Definition: inditextpropertieswidget.cpp:430
Definition: autonumberingdockwidget.h:25
void setText(IndependentTextItem *text)
IndiTextPropertiesWidget::setText.
Definition: inditextpropertieswidget.cpp:68
The ChangeDiagramTextCommand class This commad modifies a text item.
Definition: diagramcommands.h:206
void setUpEditConnection()
IndiTextPropertiesWidget::setUpEditConnection Disconnect the previous connection, and reconnect the c...
Definition: inditextpropertieswidget.cpp:322
Definition: independenttextitem.h:28
The IndiTextPropertiesWidget class This widget is used to edit the properties of one or several indep...
Definition: inditextpropertieswidget.h:34
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition: qpropertyundocommand.h:34
bool setLiveEdit(bool live_edit) override
IndiTextPropertiesWidget::setLiveEdit.
Definition: inditextpropertieswidget.cpp:147
void on_m_advanced_editor_pb_clicked()
IndiTextPropertiesWidget::on_m_advanced_editor_pb_clicked.
Definition: inditextpropertieswidget.cpp:424
QIcon tr
Definition: qeticons.cpp:206
void textEdited(const QString &old_str, const QString &new_str)