21#include "../elementitemeditor.h"
28#ifdef BUILD_WITHOUT_KF5
30#include <KColorButton>
43 bool setParts(QList <CustomElementPart *>)
override;
68#ifdef BUILD_WITHOUT_KF5
The CustomElementPart class This abstract class represents a primitive of the visual representation o...
Definition customelementpart.h:40
Definition elementitemeditor.h:34
Definition qetelementeditor.h:39
Definition texteditor.h:34
QPointer< PartText > m_text
Definition texteditor.h:58
void updateForm() override
TextEditor::updateForm Update the gui.
Definition texteditor.cpp:51
QLineEdit * m_line_edit
Definition texteditor.h:66
void disconnectEditConnection()
Definition texteditor.cpp:93
void setUpWidget(QWidget *parent=nullptr)
Definition texteditor.cpp:293
KColorButton * m_color_pb
Definition texteditor.h:70
void setUpChangeConnection(QPointer< PartText > part)
Definition texteditor.cpp:73
QSpinBox * m_rotation_sb
Definition texteditor.h:63
QList< QMetaObject::Connection > m_edit_connection
Definition texteditor.h:60
QList< PartText * > m_parts
Definition texteditor.h:59
QList< CustomElementPart * > currentParts() const override
Definition texteditor.cpp:162
CustomElementPart * currentPart() const override
TextEditor::currentPart.
Definition texteditor.cpp:157
QList< QMetaObject::Connection > m_change_connection
Definition texteditor.h:61
void disconnectChangeConnection()
Definition texteditor.cpp:85
QPushButton * m_font_pb
Definition texteditor.h:67
void on_m_color_pb_changed(const QColor &newColor)
TextEditor::on_m_color_pb_changed.
Definition texteditor.cpp:281
QSpinBox * m_size_sb
Definition texteditor.h:65
void on_m_font_pb_clicked()
TextEditor::on_m_font_pb_clicked.
Definition texteditor.cpp:254
bool setPart(CustomElementPart *part) override
TextEditor::setPart Set the current text to edit. Set part to nullptr to clear the current text.
Definition texteditor.cpp:108
~TextEditor() override
TextEditor::~TextEditor.
Definition texteditor.cpp:45
void setUpEditConnection()
TextEditor::setUpEditConnection Setup the connection between the widgets of this editor and the undo ...
Definition texteditor.cpp:176
QSpinBox * m_x_sb
Definition texteditor.h:64
bool setParts(QList< CustomElementPart * >) override
Definition texteditor.cpp:127
QSpinBox * m_y_sb
Definition texteditor.h:62