ElementEditor: partterminal.h code style

This commit is contained in:
damianCaceres
2020-08-13 11:22:46 +01:00
committed by Laurent Trinques
parent 0bae33e3f5
commit ac5ec020a6

View File

@@ -23,19 +23,15 @@
#include "terminaldata.h" #include "terminaldata.h"
/** /**
This class represents a terminal which may be used to compose the drawing of This class represents a terminal which may be used to compose the drawing of
an electrical element within the element editor. an electrical element within the element editor.
*/ */
class PartTerminal : public CustomElementGraphicPart class PartTerminal : public CustomElementGraphicPart {
{
Q_OBJECT Q_OBJECT
Q_PROPERTY(Qet::Orientation orientation READ orientation WRITE setOrientation) Q_PROPERTY(Qet::Orientation orientation READ orientation WRITE setOrientation)
Q_PROPERTY(QString name READ name WRITE setName) Q_PROPERTY(QString name READ name WRITE setName)
public: public:
// constructors, destructor // constructors, destructor
PartTerminal(QETElementEditor *editor, QGraphicsItem *parent = nullptr); PartTerminal(QETElementEditor *editor, QGraphicsItem *parent = nullptr);