mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
forgotten to commit texteditor
This commit is contained in:
committed by
Laurent Trinques
parent
1c04ea0efb
commit
8ffe50715d
@@ -39,6 +39,7 @@ class TextEditor : public ElementItemEditor
|
||||
|
||||
void updateForm() override;
|
||||
bool setPart(CustomElementPart *part) override;
|
||||
bool setParts(QList <CustomElementPart *>) override;
|
||||
CustomElementPart *currentPart() const override;
|
||||
|
||||
private slots:
|
||||
@@ -46,11 +47,15 @@ class TextEditor : public ElementItemEditor
|
||||
void on_m_color_pb_changed(const QColor &newColor);
|
||||
private:
|
||||
void setUpEditConnection();
|
||||
void setUpChangeConnection(QPointer<PartText> part);
|
||||
void disconnectChangeConnection();
|
||||
void disconnectEditConnection();
|
||||
|
||||
private:
|
||||
Ui::TextEditor *ui;
|
||||
|
||||
QPointer <PartText> m_text;
|
||||
QList<QPointer<PartText>> m_parts;
|
||||
QList <QMetaObject::Connection> m_edit_connection;
|
||||
QList <QMetaObject::Connection> m_change_connection;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user