#include <texteditor.h>
◆ TextEditor()
TextEditor::TextEditor Default constructor.
- Parameters
-
editor | : the element editor who use this editor |
text | : the text to edit |
parent | : the parent widget |
◆ ~TextEditor()
TextEditor::~TextEditor |
( |
| ) |
|
|
override |
◆ currentPart()
◆ currentParts()
◆ disconnectChangeConnection()
void TextEditor::disconnectChangeConnection |
( |
| ) |
|
|
private |
◆ disconnectEditConnection()
void TextEditor::disconnectEditConnection |
( |
| ) |
|
|
private |
◆ on_m_color_pb_changed
void TextEditor::on_m_color_pb_changed |
( |
const QColor & |
newColor | ) |
|
|
privateslot |
◆ on_m_font_pb_clicked
void TextEditor::on_m_font_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ setPart()
TextEditor::setPart Set the current text to edit. Set part to nullptr to clear the current text.
- Parameters
-
- Returns
- if part is a partext or nullptr, else return false
Implements ElementItemEditor.
◆ setParts()
◆ setUpChangeConnection()
void TextEditor::setUpChangeConnection |
( |
QPointer< PartText > |
part | ) |
|
|
private |
◆ setUpEditConnection()
void TextEditor::setUpEditConnection |
( |
| ) |
|
|
private |
◆ setUpWidget()
void TextEditor::setUpWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
private |
◆ updateForm()
void TextEditor::updateForm |
( |
| ) |
|
|
overridevirtual |
◆ m_change_connection
QList<QMetaObject::Connection> TextEditor::m_change_connection |
|
private |
◆ m_color_pb
KColorButton* TextEditor::m_color_pb |
|
private |
◆ m_edit_connection
QList<QMetaObject::Connection> TextEditor::m_edit_connection |
|
private |
◆ m_font_pb
QPushButton* TextEditor::m_font_pb |
|
private |
◆ m_line_edit
QLineEdit* TextEditor::m_line_edit |
|
private |
◆ m_parts
◆ m_rotation_sb
QSpinBox* TextEditor::m_rotation_sb |
|
private |
◆ m_size_sb
QSpinBox* TextEditor::m_size_sb |
|
private |
◆ m_text
◆ m_x_sb
QSpinBox* TextEditor::m_x_sb |
|
private |
◆ m_y_sb
QSpinBox* TextEditor::m_y_sb |
|
private |
The documentation for this class was generated from the following files: