mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 13:20:52 +01:00
Mod doc set style de same
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
class QetGraphicsHandlerItem;
|
||||
|
||||
/**
|
||||
* This class represents a rectangle primitive which may be used to compose the
|
||||
* drawing of an electrical element within the element editor.
|
||||
* All coordinates is in item coordinate, except pos()
|
||||
This class represents a rectangle primitive which may be used to compose the
|
||||
drawing of an electrical element within the element editor.
|
||||
All coordinates is in item coordinate, except pos()
|
||||
*/
|
||||
class PartRectangle : public CustomElementGraphicPart
|
||||
{
|
||||
@@ -52,9 +52,9 @@ class PartRectangle : public CustomElementGraphicPart
|
||||
public:
|
||||
enum { Type = UserType + 1109 };
|
||||
/**
|
||||
* Enable the use of qgraphicsitem_cast to safely cast a QGraphicsItem into a PartRectangle.
|
||||
* @return the QGraphicsItem type
|
||||
*/
|
||||
Enable the use of qgraphicsitem_cast to safely cast a QGraphicsItem into a PartRectangle.
|
||||
@return the QGraphicsItem type
|
||||
*/
|
||||
int type () const override { return Type; }
|
||||
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget * = nullptr) override;
|
||||
QString name () const override { return(QObject::tr("rectangle", "element part name")); }
|
||||
|
||||
Reference in New Issue
Block a user