28#ifdef BUILD_WITHOUT_KF
30#include <KColorButton>
43 bool setParts(QList <CustomElementPart *>)
override;
68#ifdef BUILD_WITHOUT_KF
The CustomElementPart class This abstract class represents a primitive of the visual representation o...
Definition customelementpart.h:40
ElementItemEditor(QETElementEditor *, QWidget *=nullptr)
Definition elementitemeditor.cpp:27
Definition qetelementeditor.h:39
QPointer< PartText > m_text
Definition texteditor.h:58
void updateForm() override
TextEditor::updateForm Update the gui.
Definition texteditor.cpp:52
QLineEdit * m_line_edit
Definition texteditor.h:66
void disconnectEditConnection()
Definition texteditor.cpp:94
void setUpWidget(QWidget *parent=nullptr)
Definition texteditor.cpp:294
KColorButton * m_color_pb
Definition texteditor.h:70
void setUpChangeConnection(QPointer< PartText > part)
Definition texteditor.cpp:74
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:163
CustomElementPart * currentPart() const override
TextEditor::currentPart.
Definition texteditor.cpp:158
QList< QMetaObject::Connection > m_change_connection
Definition texteditor.h:61
void disconnectChangeConnection()
Definition texteditor.cpp:86
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:282
QSpinBox * m_size_sb
Definition texteditor.h:65
TextEditor(QETElementEditor *editor, PartText *text=nullptr, QWidget *parent=nullptr)
TextEditor::TextEditor Default constructor.
Definition texteditor.cpp:33
void on_m_font_pb_clicked()
TextEditor::on_m_font_pb_clicked.
Definition texteditor.cpp:255
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:109
~TextEditor() override
TextEditor::~TextEditor.
Definition texteditor.cpp:46
void setUpEditConnection()
TextEditor::setUpEditConnection Setup the connection between the widgets of this editor and the undo ...
Definition texteditor.cpp:177
QSpinBox * m_x_sb
Definition texteditor.h:64
bool setParts(QList< CustomElementPart * >) override
Definition texteditor.cpp:128
QSpinBox * m_y_sb
Definition texteditor.h:62