QElectroTech 0.100.0-dev
|
The IndiTextPropertiesWidget class This widget is used to edit the properties of one or several independent text item. More...
#include <inditextpropertieswidget.h>
Private Slots | |
void | on_m_advanced_editor_pb_clicked () |
IndiTextPropertiesWidget::on_m_advanced_editor_pb_clicked. | |
void | on_m_break_html_pb_clicked () |
void | on_m_font_pb_clicked () |
Private Member Functions | |
void | setUpEditConnection () |
IndiTextPropertiesWidget::setUpEditConnection Disconnect the previous connection, and reconnect the connection between the editors widgets and void IndiTextPropertiesWidget::apply function. | |
void | updateUi () override |
IndiTextPropertiesWidget::updateUi. | |
Private Attributes | |
Ui::IndiTextPropertiesWidget * | ui |
QPointer< IndependentTextItem > | m_text |
QList< QPointer< IndependentTextItem > > | m_text_list |
QList< QMetaObject::Connection > | m_connect_list |
QList< QMetaObject::Connection > | m_edit_connection |
QFont | m_selected_font |
bool | m_font_is_selected = false |
Additional Inherited Members | |
Protected Member Functions inherited from PropertiesEditorWidget | |
virtual void | enableLiveEdit () |
virtual void | disableLiveEdit () |
Protected Attributes inherited from PropertiesEditorWidget | |
bool | m_live_edit |
The IndiTextPropertiesWidget class This widget is used to edit the properties of one or several independent text item.
IndiTextPropertiesWidget::IndiTextPropertiesWidget | ( | IndependentTextItem * | text = nullptr , |
QWidget * | parent = nullptr |
||
) |
IndiTextPropertiesWidget::IndiTextPropertiesWidget.
text | : the text to edit |
parent | : the parent widget of this widget |
IndiTextPropertiesWidget::IndiTextPropertiesWidget | ( | QList< IndependentTextItem * > | text_list, |
QWidget * | parent = nullptr |
||
) |
IndiTextPropertiesWidget::IndiTextPropertiesWidget.
text_list | : a list of texts to edit |
parent | : the parent widget of this widget |
|
override |
|
overridevirtual |
IndiTextPropertiesWidget::apply Apply the current edition through a QUndoCommand pushed to the undo stack of text's diagram.
Reimplemented from PropertiesEditorWidget.
|
overridevirtual |
IndiTextPropertiesWidget::associatedUndo.
Reimplemented from PropertiesEditorWidget.
|
privateslot |
|
privateslot |
|
privateslot |
|
overridevirtual |
IndiTextPropertiesWidget::setLiveEdit.
live_edit |
Reimplemented from PropertiesEditorWidget.
void IndiTextPropertiesWidget::setText | ( | IndependentTextItem * | text | ) |
IndiTextPropertiesWidget::setText.
text | : set text as edited text |
void IndiTextPropertiesWidget::setText | ( | QList< IndependentTextItem * > | text_list | ) |
|
private |
IndiTextPropertiesWidget::setUpEditConnection Disconnect the previous connection, and reconnect the connection between the editors widgets and void IndiTextPropertiesWidget::apply function.
|
overrideprivatevirtual |
IndiTextPropertiesWidget::updateUi.
Reimplemented from PropertiesEditorWidget.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |