mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
Fix indentation code
This commit is contained in:
@@ -46,14 +46,14 @@ class LineEditor : public ElementItemEditor
|
||||
QComboBox *end1_type, *end2_type;
|
||||
QDoubleSpinBox*end1_length, *end2_length;
|
||||
bool m_locked;
|
||||
QList <QMetaObject::Connection> m_change_connections;
|
||||
QList <QMetaObject::Connection> m_change_connections;
|
||||
|
||||
// methods
|
||||
public:
|
||||
bool setPart(CustomElementPart *) override;
|
||||
bool setParts(QList <CustomElementPart *> parts) override;
|
||||
bool setParts(QList <CustomElementPart *> parts) override;
|
||||
CustomElementPart *currentPart() const override;
|
||||
QList<CustomElementPart*> currentParts() const override;
|
||||
QList<CustomElementPart*> currentParts() const override;
|
||||
QPointF editedP1() const;
|
||||
QPointF editedP2() const;
|
||||
|
||||
@@ -62,19 +62,19 @@ class LineEditor : public ElementItemEditor
|
||||
void updateLineEndLength1();
|
||||
void updateLineEndType2();
|
||||
void updateLineEndLength2();
|
||||
void lineEditingFinishedX1();
|
||||
void lineEditingFinishedY1();
|
||||
void lineEditingFinishedX2();
|
||||
void lineEditingFinishedY2();
|
||||
void lineEditingFinishedX1();
|
||||
void lineEditingFinishedY1();
|
||||
void lineEditingFinishedX2();
|
||||
void lineEditingFinishedY2();
|
||||
void updateForm() override;
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
void activeConnections(bool);
|
||||
/*!
|
||||
* \brief setUpChangeConnections
|
||||
* Setup the connection from the line(s) to the widget, to update it when the line(s) are changed (moved ...)
|
||||
*/
|
||||
void setUpChangeConnections();
|
||||
void disconnectChangeConnections();
|
||||
/*!
|
||||
* \brief setUpChangeConnections
|
||||
* Setup the connection from the line(s) to the widget, to update it when the line(s) are changed (moved ...)
|
||||
*/
|
||||
void setUpChangeConnections();
|
||||
void disconnectChangeConnections();
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user