mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Fix indentation code
This commit is contained in:
@@ -38,38 +38,38 @@ class RectangleEditor : public ElementItemEditor
|
||||
|
||||
public:
|
||||
explicit RectangleEditor(QETElementEditor *editor, PartRectangle *rect = nullptr, QWidget *parent = nullptr);
|
||||
~RectangleEditor() override;
|
||||
~RectangleEditor() override;
|
||||
|
||||
bool setPart(CustomElementPart *part) override;
|
||||
bool setParts(QList <CustomElementPart *> parts) override;
|
||||
CustomElementPart *currentPart() const override;
|
||||
QList<CustomElementPart*> currentParts() const override;
|
||||
QPointF editedTopLeft () const;
|
||||
bool setPart(CustomElementPart *part) override;
|
||||
bool setParts(QList <CustomElementPart *> parts) override;
|
||||
CustomElementPart *currentPart() const override;
|
||||
QList<CustomElementPart*> currentParts() const override;
|
||||
QPointF editedTopLeft () const;
|
||||
|
||||
public slots:
|
||||
void updateForm() override;
|
||||
void updateForm() override;
|
||||
private:
|
||||
void editingFinished();
|
||||
void activeConnections(bool active);
|
||||
void xPosChanged();
|
||||
void yPosChanged();
|
||||
void widthChanged();
|
||||
void heightChanged();
|
||||
void xRadiusChanged();
|
||||
void yRadiusChanged();
|
||||
/*!
|
||||
* \brief setUpChangeConnections
|
||||
* Setup the connection from the rectangles(s) to the widget, to update it when the rectangles(s) are changed (moved ...)
|
||||
*/
|
||||
void setUpChangeConnections();
|
||||
void disconnectChangeConnections();
|
||||
void editingFinished();
|
||||
void activeConnections(bool active);
|
||||
void xPosChanged();
|
||||
void yPosChanged();
|
||||
void widthChanged();
|
||||
void heightChanged();
|
||||
void xRadiusChanged();
|
||||
void yRadiusChanged();
|
||||
/*!
|
||||
* \brief setUpChangeConnections
|
||||
* Setup the connection from the rectangles(s) to the widget, to update it when the rectangles(s) are changed (moved ...)
|
||||
*/
|
||||
void setUpChangeConnections();
|
||||
void disconnectChangeConnections();
|
||||
|
||||
private:
|
||||
bool m_locked = false;
|
||||
StyleEditor *m_style;
|
||||
PartRectangle *m_part;
|
||||
Ui::RectangleEditor *ui;
|
||||
QList <QMetaObject::Connection> m_change_connections;
|
||||
bool m_locked = false;
|
||||
StyleEditor *m_style;
|
||||
PartRectangle *m_part;
|
||||
Ui::RectangleEditor *ui;
|
||||
QList <QMetaObject::Connection> m_change_connections;
|
||||
};
|
||||
|
||||
#endif // RECTANGLEEDITOR_H
|
||||
|
||||
Reference in New Issue
Block a user