32 virtual QSizeF getPreferredGraphicsItemSize(
void)
const override;
37 virtual void paintCustomItem(QPainter* _painter,
const QStyleOptionGraphicsItem* _opt, QWidget* _widget,
const QRectF& _rect)
override;
44 void setArcRect(
const RectD& _rect);
45 void setArcRect(
const QRectF& _rect);
46 const RectD& getArcRect(
void)
const;
48 void setStartAngle(
double _angle);
49 double getStartAngle(
void)
const;
51 void setSpanAngle(
double _angle);
52 double getSpanAngle(
void)
const;
54 void setLineStyle(
const OutlineF& _style);
55 const OutlineF& getLineStyle(
void)
const;
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition CustomGraphicsItem.h:17
Definition GraphicsArcItem.h:16
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
The OutlineF class is used to describe how a outline should look like.
Definition Outline.h:161
Rectangle that holds the top left and bottom right corner in double values.
Definition Rect.h:234