|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ABSTRACTPARTELLIPSE_H
19 #define ABSTRACTPARTELLIPSE_H
87 #endif // ABSTRACTPARTELLIPSE_H
AbstractPartEllipse(QETElementEditor *editor, QGraphicsItem *parent=nullptr)
AbstractPartEllipse::AbstractPartEllipse Constructor.
Definition: abstractpartellipse.cpp:26
AbstractPartEllipse(const AbstractPartEllipse &)
virtual void setSpanAngle(const int &span_angle)
AbstractPartEllipse::setSpanAngle Returns the span angle of an ellipse segment in 16ths of a degree....
Definition: abstractpartellipse.cpp:163
The CustomElementGraphicPart class This class is the base for all home-made primitive like line,...
Definition: customelementgraphicpart.h:36
qreal m_start_angle
Definition: abstractpartellipse.h:82
~AbstractPartEllipse() override
AbstractPartEllipse::~AbstractPartEllipse Destructor.
Definition: abstractpartellipse.cpp:37
QList< QPointF > saved_points_
Definition: abstractpartellipse.h:80
QRectF boundingRect() const override
AbstractPartEllipse::boundingRect Bounding rectangle this part can fit into.
Definition: abstractpartellipse.cpp:70
virtual void setRect(const QRectF &rect)
AbstractPartEllipse::setRect Sets the item's ellipse geometry to rect. The rectangle's left edge defi...
Definition: abstractpartellipse.cpp:119
qreal m_span_angle
Definition: abstractpartellipse.h:83
bool isUseless() const override
AbstractPartEllipse::isUseless.
Definition: abstractpartellipse.cpp:134
virtual QPointF sceneTopLeft() const
AbstractPartEllipse::sceneTopLeft.
Definition: abstractpartellipse.cpp:98
int startAngle
Definition: abstractpartellipse.h:42
void handleUserTransformation(const QRectF &, const QRectF &) override
AbstractPartEllipse::handleUserTransformation Handle the user-induced transformation from initial_sel...
Definition: abstractpartellipse.cpp:59
The AbstractPartEllipse class This is the base class for all ellipse based item like ellipse,...
Definition: abstractpartellipse.h:40
QVector< QetGraphicsHandlerItem * > m_handler_vector
Definition: abstractpartellipse.h:84
int spanAngle() const
Definition: abstractpartellipse.h:76
The QetGraphicsHandlerItem class This graphics item represents a point, destined to be used as an han...
Definition: qetgraphicshandleritem.h:37
void startUserTransformation(const QRectF &) override
AbstractPartEllipse::startUserTransformation Start the user-induced transformation,...
Definition: abstractpartellipse.cpp:45
QRectF rect
Definition: abstractpartellipse.h:44
#define SHADOWS_HEIGHT
Definition: customelementgraphicpart.h:37
QList< QPointF > mapPoints(const QRectF &, const QRectF &, const QList< QPointF > &)
Definition: customelementpart.cpp:69
QRectF sceneGeometricRect() const override
AbstractPartEllipse::sceneGeometricRect.
Definition: abstractpartellipse.cpp:90
int spanAngle
Definition: abstractpartellipse.h:43
qreal penWeight() const
CustomElementGraphicPart::penWeight.
Definition: customelementgraphicpart.cpp:109
int startAngle() const
Definition: abstractpartellipse.h:73
QRectF m_rect
Definition: abstractpartellipse.h:81
virtual void setStartAngle(const int &start_angle)
AbstractPartEllipse::setStartAngle Sets the start angle for an ellipse segment to angle,...
Definition: abstractpartellipse.cpp:147
Definition: qetelementeditor.h:33