QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Signals | Public Member Functions | Protected Attributes | Properties | Private Member Functions | List of all members
AbstractPartEllipse Class Reference

The AbstractPartEllipse class This is the base class for all ellipse based item like ellipse, circle, arc. This class only provide common method for edit the ellipse like rect that contain the ellipse. All coordinates is in item coordinate, except pos(), center(), centerX() and centerY() which are in parent coordinate (or scene if no parent). More...

#include <abstractpartellipse.h>

Inheritance diagram for AbstractPartEllipse:
Inheritance graph
Collaboration diagram for AbstractPartEllipse:
Collaboration graph

Signals

void rectChanged ()
 
void startAngleChanged ()
 
void spanAngleChanged ()
 

Public Member Functions

 AbstractPartEllipse (QETElementEditor *editor, QGraphicsItem *parent=nullptr)
 AbstractPartEllipse::AbstractPartEllipse Constructor.
 
 ~AbstractPartEllipse () override
 AbstractPartEllipse::~AbstractPartEllipse Destructor.
 
void startUserTransformation (const QRectF &) override
 AbstractPartEllipse::startUserTransformation Start the user-induced transformation, provided this primitive is contained within the initial_selection_rect bounding rectangle.
 
void handleUserTransformation (const QRectF &, const QRectF &) override
 AbstractPartEllipse::handleUserTransformation Handle the user-induced transformation from initial_selection_rect to new_selection_rect.
 
QRectF boundingRect () const override
 AbstractPartEllipse::boundingRect Bounding rectangle this part can fit into.
 
QRectF sceneGeometricRect () const override
 AbstractPartEllipse::sceneGeometricRect.
 
virtual QPointF sceneTopLeft () const
 AbstractPartEllipse::sceneTopLeft.
 
QRectF rect () const
 AbstractPartEllipse::rect Returns the item's ellipse geometry as a QRectF.
 
virtual void setRect (const QRectF &rect)
 AbstractPartEllipse::setRect Sets the item's ellipse geometry to rect. The rectangle's left edge defines the left edge of the ellipse, and the rectangle's top edge describes the top of the ellipse The height and width of the rectangle describe the height and width of the ellipse.
 
bool isUseless () const override
 AbstractPartEllipse::isUseless.
 
int startAngle () const
 
virtual void setStartAngle (const int &start_angle)
 AbstractPartEllipse::setStartAngle Sets the start angle for an ellipse segment to angle, which is in 16ths of a degree. This angle is used together with spanAngle() for representing an ellipse segment (a pie). By default, the start angle is 0.
 
int spanAngle () const
 
virtual void setSpanAngle (const int &span_angle)
 AbstractPartEllipse::setSpanAngle Returns the span angle of an ellipse segment in 16ths of a degree. This angle is used together with startAngle() for representing an ellipse segment (a pie). By default, this function returns 5760 (360 * 16, a full ellipse).
 
- Public Member Functions inherited from CustomElementGraphicPart
 CustomElementGraphicPart (QETElementEditor *editor, QGraphicsItem *parent=nullptr)
 CustomElementGraphicPart::CustomElementGraphicPart Default constructor. By default, item is selectable, send geometry change (Qt > 4.6), accept mouse left button and accept hover event.
 
 ~CustomElementGraphicPart () override
 CustomElementGraphicPart::~CustomElementGraphicPart Destructor.
 
LineStyle lineStyle () const
 
void setLineStyle (const LineStyle ls)
 CustomElementGraphicPart::setLineStyle Set line style to ls.
 
LineWeight lineWeight () const
 
void setLineWeight (const LineWeight lw)
 CustomElementGraphicPart::setLineWeight Set line weight to lw.
 
qreal penWeight () const
 CustomElementGraphicPart::penWeight.
 
Filling filling () const
 
void setFilling (const Filling f)
 CustomElementGraphicPart::setFilling Set filling to f.
 
Color color () const
 
void setColor (const Color c)
 CustomElementGraphicPart::setColor Set color to c.
 
bool antialiased () const
 
void setAntialiased (const bool b)
 CustomElementGraphicPart::setAntialiased Set antialias to b.
 
void setProperty (const char *name, const QVariant &value) override
 
QVariant property (const char *name) const override
 
virtual QPainterPath shadowShape () const =0
 
virtual void addHandler ()
 
virtual void removeHandler ()
 
virtual void setHandlerColor (QPointF, const QColor &)
 
virtual void resetAllHandlerColor ()
 
- Public Member Functions inherited from CustomElementPart
 CustomElementPart (QETElementEditor *editor)
 CustomElementPart Constructor.
 
virtual ~CustomElementPart ()
 ~CustomElementPart Destructor
 
virtual void fromXml (const QDomElement &)=0
 
virtual const QDomElement toXml (QDomDocument &) const =0
 
virtual QETElementEditorelementEditor () const
 
virtual void updateCurrentPartEditor () const
 
virtual ElementSceneelementScene () const
 
virtual QUndoStack & undoStack () const
 
virtual QString name () const =0
 
virtual QString xmlName () const =0
 
virtual QGraphicsItem * toItem ()
 
virtual QET::ScalingMethod preferredScalingMethod () const
 

Protected Attributes

QList< QPointF > saved_points_
 
QRectF m_rect
 
qreal m_start_angle
 
qreal m_span_angle
 
QVector< QetGraphicsHandlerItem * > m_handler_vector
 
- Protected Attributes inherited from CustomElementGraphicPart
bool m_hovered
 

Properties

int startAngle
 
int spanAngle
 
QRectF rect
 
- Properties inherited from CustomElementGraphicPart
LineStyle line_style
 
LineWeight line_weight
 
Filling filling
 
Color color
 
bool antialias
 

Private Member Functions

 AbstractPartEllipse (const AbstractPartEllipse &)
 

Additional Inherited Members

- Public Types inherited from CustomElementGraphicPart
enum  LineStyle { NormalStyle , DashedStyle , DottedStyle , DashdottedStyle }
 
enum  LineWeight {
  NoneWeight , ThinWeight , NormalWeight , UltraWeight ,
  BigWeight
}
 
enum  Filling {
  NoneFilling , BlackFilling , WhiteFilling , GreenFilling ,
  RedFilling , BlueFilling , GrayFilling , BrunFilling ,
  YellowFilling , CyanFilling , MagentaFilling , LightgrayFilling ,
  OrangeFilling , PurpleFilling , HTMLPinkPinkFilling , HTMLPinkLightPinkFilling ,
  HTMLPinkHotPinkFilling , HTMLPinkDeepPinkFilling , HTMLPinkPaleVioletRedFilling , HTMLPinkMediumVioletRedFilling ,
  HTMLRedLightSalmonFilling , HTMLRedSalmonFilling , HTMLRedDarkSalmonFilling , HTMLRedLightCoralFilling ,
  HTMLRedIndianRedFilling , HTMLRedCrimsonFilling , HTMLRedFirebrickFilling , HTMLRedDarkRedFilling ,
  HTMLRedRedFilling , HTMLOrangeOrangeRedFilling , HTMLOrangeTomatoFilling , HTMLOrangeCoralFilling ,
  HTMLOrangeDarkOrangeFilling , HTMLOrangeOrangeFilling , HTMLYellowYellowFilling , HTMLYellowLightYellowFilling ,
  HTMLYellowLemonChiffonFilling , HTMLYellowLightGoldenrodYellowFilling , HTMLYellowPapayaWhipFilling , HTMLYellowMoccasinFilling ,
  HTMLYellowPeachPuffFilling , HTMLYellowPaleGoldenrodFilling , HTMLYellowKhakiFilling , HTMLYellowDarkKhakiFilling ,
  HTMLYellowGoldFilling , HTMLBrownCornsilkFilling , HTMLBrownBlanchedAlmondFilling , HTMLBrownBisqueFilling ,
  HTMLBrownNavajoWhiteFilling , HTMLBrownWheatFilling , HTMLBrownBurlywoodFilling , HTMLBrownTanFilling ,
  HTMLBrownRosyBrownFilling , HTMLBrownSandyBrownFilling , HTMLBrownGoldenrodFilling , HTMLBrownDarkGoldenrodFilling ,
  HTMLBrownPeruFilling , HTMLBrownChocolateFilling , HTMLBrownSaddleBrownFilling , HTMLBrownSiennaFilling ,
  HTMLBrownBrownFilling , HTMLBrownMaroonFilling , HTMLGreenDarkOliveGreenFilling , HTMLGreenOliveFilling ,
  HTMLGreenOliveDrabFilling , HTMLGreenYellowGreenFilling , HTMLGreenLimeGreenFilling , HTMLGreenLimeFilling ,
  HTMLGreenLawnGreenFilling , HTMLGreenChartreuseFilling , HTMLGreenGreenYellowFilling , HTMLGreenSpringGreenFilling ,
  HTMLGreenMediumSpringGreenFilling , HTMLGreenLightGreenFilling , HTMLGreenPaleGreenFilling , HTMLGreenDarkSeaGreenFilling ,
  HTMLGreenMediumAquamarineFilling , HTMLGreenMediumSeaGreenFilling , HTMLGreenSeaGreenFilling , HTMLGreenForestGreenFilling ,
  HTMLGreenGreenFilling , HTMLGreenDarkGreenFilling , HTMLCyanAquaFilling , HTMLCyanCyanFilling ,
  HTMLCyanLightCyanFilling , HTMLCyanPaleTurquoiseFilling , HTMLCyanAquamarineFilling , HTMLCyanTurquoiseFilling ,
  HTMLCyanMediumTurquoiseFilling , HTMLCyanDarkTurquoiseFilling , HTMLCyanLightSeaGreenFilling , HTMLCyanCadetBlueFilling ,
  HTMLCyanDarkCyanFilling , HTMLCyanTealFilling , HTMLBlueLightSteelBlueFilling , HTMLBluePowderBlueFilling ,
  HTMLBlueLightBlueFilling , HTMLBlueSkyBlueFilling , HTMLBlueLightSkyBlueFilling , HTMLBlueDeepSkyBlueFilling ,
  HTMLBlueDodgerBlueFilling , HTMLBlueCornflowerBlueFilling , HTMLBlueSteelBlueFilling , HTMLBlueRoyalBlueFilling ,
  HTMLBlueBlueFilling , HTMLBlueMediumBlueFilling , HTMLBlueDarkBlueFilling , HTMLBlueNavyFilling ,
  HTMLBlueMidnightBlueFilling , HTMLPurpleLavenderFilling , HTMLPurpleThistleFilling , HTMLPurplePlumFilling ,
  HTMLPurpleVioletFilling , HTMLPurpleOrchidFilling , HTMLPurpleFuchsiaFilling , HTMLPurpleMagentaFilling ,
  HTMLPurpleMediumOrchidFilling , HTMLPurpleMediumPurpleFilling , HTMLPurpleBlueVioletFilling , HTMLPurpleDarkVioletFilling ,
  HTMLPurpleDarkOrchidFilling , HTMLPurpleDarkMagentaFilling , HTMLPurplePurpleFilling , HTMLPurpleIndigoFilling ,
  HTMLPurpleDarkSlateBlueFilling , HTMLPurpleSlateBlueFilling , HTMLPurpleMediumSlateBlueFilling , HTMLWhiteWhiteFilling ,
  HTMLWhiteSnowFilling , HTMLWhiteHoneydewFilling , HTMLWhiteMintCreamFilling , HTMLWhiteAzureFilling ,
  HTMLWhiteAliceBlueFilling , HTMLWhiteGhostWhiteFilling , HTMLWhiteWhiteSmokeFilling , HTMLWhiteSeashellFilling ,
  HTMLWhiteBeigeFilling , HTMLWhiteOldLaceFilling , HTMLWhiteFloralWhiteFilling , HTMLWhiteIvoryFilling ,
  HTMLWhiteAntiqueWhiteFilling , HTMLWhiteLinenFilling , HTMLWhiteLavenderBlushFilling , HTMLWhiteMistyRoseFilling ,
  HTMLGrayGainsboroFilling , HTMLGrayLightGrayFilling , HTMLGraySilverFilling , HTMLGrayDarkGrayFilling ,
  HTMLGrayGrayFilling , HTMLGrayDimGrayFilling , HTMLGrayLightSlateGrayFilling , HTMLGraySlateGrayFilling ,
  HTMLGrayDarkSlateGrayFilling , HTMLGrayBlackFilling , HorFilling , VerFilling ,
  BdiagFilling , FdiagFilling
}
 
enum  Color {
  BlackColor , WhiteColor , GreenColor , RedColor ,
  BlueColor , GrayColor , BrunColor , YellowColor ,
  CyanColor , MagentaColor , LightgrayColor , OrangeColor ,
  PurpleColor , HTMLPinkPinkColor , HTMLPinkLightPinkColor , HTMLPinkHotPinkColor ,
  HTMLPinkDeepPinkColor , HTMLPinkPaleVioletRedColor , HTMLPinkMediumVioletRedColor , HTMLRedLightSalmonColor ,
  HTMLRedSalmonColor , HTMLRedDarkSalmonColor , HTMLRedLightCoralColor , HTMLRedIndianRedColor ,
  HTMLRedCrimsonColor , HTMLRedFirebrickColor , HTMLRedDarkRedColor , HTMLRedRedColor ,
  HTMLOrangeOrangeRedColor , HTMLOrangeTomatoColor , HTMLOrangeCoralColor , HTMLOrangeDarkOrangeColor ,
  HTMLOrangeOrangeColor , HTMLYellowYellowColor , HTMLYellowLightYellowColor , HTMLYellowLemonChiffonColor ,
  HTMLYellowLightGoldenrodYellowColor , HTMLYellowPapayaWhipColor , HTMLYellowMoccasinColor , HTMLYellowPeachPuffColor ,
  HTMLYellowPaleGoldenrodColor , HTMLYellowKhakiColor , HTMLYellowDarkKhakiColor , HTMLYellowGoldColor ,
  HTMLBrownCornsilkColor , HTMLBrownBlanchedAlmondColor , HTMLBrownBisqueColor , HTMLBrownNavajoWhiteColor ,
  HTMLBrownWheatColor , HTMLBrownBurlywoodColor , HTMLBrownTanColor , HTMLBrownRosyBrownColor ,
  HTMLBrownSandyBrownColor , HTMLBrownGoldenrodColor , HTMLBrownDarkGoldenrodColor , HTMLBrownPeruColor ,
  HTMLBrownChocolateColor , HTMLBrownSaddleBrownColor , HTMLBrownSiennaColor , HTMLBrownBrownColor ,
  HTMLBrownMaroonColor , HTMLGreenDarkOliveGreenColor , HTMLGreenOliveColor , HTMLGreenOliveDrabColor ,
  HTMLGreenYellowGreenColor , HTMLGreenLimeGreenColor , HTMLGreenLimeColor , HTMLGreenLawnGreenColor ,
  HTMLGreenChartreuseColor , HTMLGreenGreenYellowColor , HTMLGreenSpringGreenColor , HTMLGreenMediumSpringGreenColor ,
  HTMLGreenLightGreenColor , HTMLGreenPaleGreenColor , HTMLGreenDarkSeaGreenColor , HTMLGreenMediumAquamarineColor ,
  HTMLGreenMediumSeaGreenColor , HTMLGreenSeaGreenColor , HTMLGreenForestGreenColor , HTMLGreenGreenColor ,
  HTMLGreenDarkGreenColor , HTMLCyanAquaColor , HTMLCyanCyanColor , HTMLCyanLightCyanColor ,
  HTMLCyanPaleTurquoiseColor , HTMLCyanAquamarineColor , HTMLCyanTurquoiseColor , HTMLCyanMediumTurquoiseColor ,
  HTMLCyanDarkTurquoiseColor , HTMLCyanLightSeaGreenColor , HTMLCyanCadetBlueColor , HTMLCyanDarkCyanColor ,
  HTMLCyanTealColor , HTMLBlueLightSteelBlueColor , HTMLBluePowderBlueColor , HTMLBlueLightBlueColor ,
  HTMLBlueSkyBlueColor , HTMLBlueLightSkyBlueColor , HTMLBlueDeepSkyBlueColor , HTMLBlueDodgerBlueColor ,
  HTMLBlueCornflowerBlueColor , HTMLBlueSteelBlueColor , HTMLBlueRoyalBlueColor , HTMLBlueBlueColor ,
  HTMLBlueMediumBlueColor , HTMLBlueDarkBlueColor , HTMLBlueNavyColor , HTMLBlueMidnightBlueColor ,
  HTMLPurpleLavenderColor , HTMLPurpleThistleColor , HTMLPurplePlumColor , HTMLPurpleVioletColor ,
  HTMLPurpleOrchidColor , HTMLPurpleFuchsiaColor , HTMLPurpleMagentaColor , HTMLPurpleMediumOrchidColor ,
  HTMLPurpleMediumPurpleColor , HTMLPurpleBlueVioletColor , HTMLPurpleDarkVioletColor , HTMLPurpleDarkOrchidColor ,
  HTMLPurpleDarkMagentaColor , HTMLPurplePurpleColor , HTMLPurpleIndigoColor , HTMLPurpleDarkSlateBlueColor ,
  HTMLPurpleSlateBlueColor , HTMLPurpleMediumSlateBlueColor , HTMLWhiteWhiteColor , HTMLWhiteSnowColor ,
  HTMLWhiteHoneydewColor , HTMLWhiteMintCreamColor , HTMLWhiteAzureColor , HTMLWhiteAliceBlueColor ,
  HTMLWhiteGhostWhiteColor , HTMLWhiteWhiteSmokeColor , HTMLWhiteSeashellColor , HTMLWhiteBeigeColor ,
  HTMLWhiteOldLaceColor , HTMLWhiteFloralWhiteColor , HTMLWhiteIvoryColor , HTMLWhiteAntiqueWhiteColor ,
  HTMLWhiteLinenColor , HTMLWhiteLavenderBlushColor , HTMLWhiteMistyRoseColor , HTMLGrayGainsboroColor ,
  HTMLGrayLightGrayColor , HTMLGraySilverColor , HTMLGrayDarkGrayColor , HTMLGrayGrayColor ,
  HTMLGrayDimGrayColor , HTMLGrayLightSlateGrayColor , HTMLGraySlateGrayColor , HTMLGrayDarkSlateGrayColor ,
  HTMLGrayBlackColor , NoneColor
}
 
- Static Public Member Functions inherited from CustomElementGraphicPart
static void drawCross (const QPointF &center, QPainter *painter)
 CustomElementGraphicPart::drawCross Draw a cross at pos center.
 
- Protected Member Functions inherited from CustomElementGraphicPart
void stylesToXml (QDomElement &) const
 CustomElementGraphicPart::stylesToXml Write the current style to xml element. The style are stored like this: name-of-style:value;name-of-style:value Each style separate by ; and name-style/value are separate by :
 
void stylesFromXml (const QDomElement &)
 CustomElementGraphicPart::stylesFromXml Read the style used by this, from a xml element.
 
void resetStyles ()
 CustomElementGraphicPart::resetStyles Reset the current style to default, same style of default constructor.
 
void applyStylesToQPainter (QPainter &) const
 CustomElementGraphicPart::applyStylesToQPainter Apply the current style to the QPainter.
 
void drawShadowShape (QPainter *painter)
 CustomElementGraphicPart::drawShadowShape Draw a transparent blue shadow arround the shape of this item. The QPainterPathStroker used to draw shadows have a width of SHADOWS_HEIGHT Be carefull if penWeight of this item is to 0 the outline of strock is bigger of 0.5.
 
void hoverEnterEvent (QGraphicsSceneHoverEvent *event) override
 CustomElementGraphicPart::hoverEnterEvent Reimplemented from QGraphicsObject. Set m_hovered to true.
 
void hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override
 CustomElementGraphicPart::hoverLeaveEvent Reimplemented from QGraphicsObject. Set m_hovered to false.
 
void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
- Protected Member Functions inherited from CustomElementPart
QList< QPointF > mapPoints (const QRectF &, const QRectF &, const QList< QPointF > &)
 

Detailed Description

The AbstractPartEllipse class This is the base class for all ellipse based item like ellipse, circle, arc. This class only provide common method for edit the ellipse like rect that contain the ellipse. All coordinates is in item coordinate, except pos(), center(), centerX() and centerY() which are in parent coordinate (or scene if no parent).

In several points, this class is a copy of QGraphicsEllipseItem with some change, (the use of Q_PROPERTY) to be easily used with Element editor.

Constructor & Destructor Documentation

◆ AbstractPartEllipse() [1/2]

AbstractPartEllipse::AbstractPartEllipse ( QETElementEditor editor,
QGraphicsItem *  parent = nullptr 
)

AbstractPartEllipse::AbstractPartEllipse Constructor.

Parameters
editor: QETElementEditor of this part
parent: parent item

◆ ~AbstractPartEllipse()

AbstractPartEllipse::~AbstractPartEllipse ( )
override

◆ AbstractPartEllipse() [2/2]

AbstractPartEllipse::AbstractPartEllipse ( const AbstractPartEllipse )
private

Member Function Documentation

◆ boundingRect()

QRectF AbstractPartEllipse::boundingRect ( ) const
override

AbstractPartEllipse::boundingRect Bounding rectangle this part can fit into.

Returns
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleUserTransformation()

void AbstractPartEllipse::handleUserTransformation ( const QRectF &  initial_selection_rect,
const QRectF &  new_selection_rect 
)
overridevirtual

AbstractPartEllipse::handleUserTransformation Handle the user-induced transformation from initial_selection_rect to new_selection_rect.

Parameters
initial_selection_rect
new_selection_rect

Implements CustomElementPart.

Here is the call graph for this function:

◆ isUseless()

bool AbstractPartEllipse::isUseless ( ) const
overridevirtual

AbstractPartEllipse::isUseless.

Returns
true if this part is irrelevant and does not deserve to be Retained / registered. An ellipse is relevant when is rect is not null.

Implements CustomElementPart.

◆ rect()

QRectF AbstractPartEllipse::rect ( ) const

AbstractPartEllipse::rect Returns the item's ellipse geometry as a QRectF.

◆ rectChanged

void AbstractPartEllipse::rectChanged ( )
signal
Here is the caller graph for this function:

◆ sceneGeometricRect()

QRectF AbstractPartEllipse::sceneGeometricRect ( ) const
overridevirtual

AbstractPartEllipse::sceneGeometricRect.

Returns
the minimum, margin-less rectangle this part can fit into in scene coordinates. It is different from boundingRect() because it is not supposed to imply any margin, and it is different from shape because it is a regular rectangle, not a complex shape.

Implements CustomElementPart.

Reimplemented in PartArc.

Here is the call graph for this function:

◆ sceneTopLeft()

QPointF AbstractPartEllipse::sceneTopLeft ( ) const
virtual

AbstractPartEllipse::sceneTopLeft.

Returns
return the top left of rectangle, in scene coordinate
Here is the caller graph for this function:

◆ setRect()

void AbstractPartEllipse::setRect ( const QRectF &  rect)
virtual

AbstractPartEllipse::setRect Sets the item's ellipse geometry to rect. The rectangle's left edge defines the left edge of the ellipse, and the rectangle's top edge describes the top of the ellipse The height and width of the rectangle describe the height and width of the ellipse.

Parameters
rect

Reimplemented in PartArc, and PartEllipse.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSpanAngle()

void AbstractPartEllipse::setSpanAngle ( const int &  span_angle)
virtual

AbstractPartEllipse::setSpanAngle Returns the span angle of an ellipse segment in 16ths of a degree. This angle is used together with startAngle() for representing an ellipse segment (a pie). By default, this function returns 5760 (360 * 16, a full ellipse).

Parameters
span_angle

Reimplemented in PartArc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStartAngle()

void AbstractPartEllipse::setStartAngle ( const int &  start_angle)
virtual

AbstractPartEllipse::setStartAngle Sets the start angle for an ellipse segment to angle, which is in 16ths of a degree. This angle is used together with spanAngle() for representing an ellipse segment (a pie). By default, the start angle is 0.

Parameters
start_angle

Reimplemented in PartArc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ spanAngle()

int AbstractPartEllipse::spanAngle ( ) const
inline

◆ spanAngleChanged

void AbstractPartEllipse::spanAngleChanged ( )
signal
Here is the caller graph for this function:

◆ startAngle()

int AbstractPartEllipse::startAngle ( ) const
inline

◆ startAngleChanged

void AbstractPartEllipse::startAngleChanged ( )
signal
Here is the caller graph for this function:

◆ startUserTransformation()

void AbstractPartEllipse::startUserTransformation ( const QRectF &  initial_selection_rect)
overridevirtual

AbstractPartEllipse::startUserTransformation Start the user-induced transformation, provided this primitive is contained within the initial_selection_rect bounding rectangle.

Parameters
initial_selection_rect

Implements CustomElementPart.

Member Data Documentation

◆ m_handler_vector

QVector<QetGraphicsHandlerItem *> AbstractPartEllipse::m_handler_vector
protected

◆ m_rect

QRectF AbstractPartEllipse::m_rect
protected

◆ m_span_angle

qreal AbstractPartEllipse::m_span_angle
protected

◆ m_start_angle

qreal AbstractPartEllipse::m_start_angle
protected

◆ saved_points_

QList<QPointF> AbstractPartEllipse::saved_points_
protected

Property Documentation

◆ rect

QRectF AbstractPartEllipse::rect
readwrite

◆ spanAngle

int AbstractPartEllipse::spanAngle
readwrite

◆ startAngle

int AbstractPartEllipse::startAngle
readwrite

The documentation for this class was generated from the following files: