ElementEditor: parttext.h code style

This commit is contained in:
damianCaceres
2020-08-13 11:47:46 +01:00
committed by Laurent Trinques
parent 3b4237f21f
commit 9bc6f7fa94

View File

@@ -20,16 +20,15 @@
#include <QtWidgets>
#include "customelementpart.h"
#include "qetapp.h"
class TextEditor;
class ElementPrimitiveDecorator;
/**
This class represents an static text primitive which may be used to compose
the drawing of an electrical element within the element editor.
*/
class PartText : public QGraphicsTextItem, public CustomElementPart
{
class PartText : public QGraphicsTextItem, public CustomElementPart {
Q_OBJECT
Q_PROPERTY(qreal real_size READ realSize WRITE setRealSize)
Q_PROPERTY(QColor color READ defaultTextColor WRITE setDefaultTextColor NOTIFY colorChanged)
Q_PROPERTY(QString text READ toPlainText WRITE setPlainText NOTIFY plainTextChanged)