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;
|
void updateForm() override;
|
||||||
bool setPart(CustomElementPart *part) override;
|
bool setPart(CustomElementPart *part) override;
|
||||||
|
bool setParts(QList <CustomElementPart *>) override;
|
||||||
CustomElementPart *currentPart() const override;
|
CustomElementPart *currentPart() const override;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
@@ -46,11 +47,15 @@ class TextEditor : public ElementItemEditor
|
|||||||
void on_m_color_pb_changed(const QColor &newColor);
|
void on_m_color_pb_changed(const QColor &newColor);
|
||||||
private:
|
private:
|
||||||
void setUpEditConnection();
|
void setUpEditConnection();
|
||||||
|
void setUpChangeConnection(QPointer<PartText> part);
|
||||||
|
void disconnectChangeConnection();
|
||||||
|
void disconnectEditConnection();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::TextEditor *ui;
|
Ui::TextEditor *ui;
|
||||||
|
|
||||||
QPointer <PartText> m_text;
|
QPointer <PartText> m_text;
|
||||||
|
QList<QPointer<PartText>> m_parts;
|
||||||
QList <QMetaObject::Connection> m_edit_connection;
|
QList <QMetaObject::Connection> m_edit_connection;
|
||||||
QList <QMetaObject::Connection> m_change_connection;
|
QList <QMetaObject::Connection> m_change_connection;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user