31 virtual QSizeF getPreferredGraphicsItemSize(
void)
const override;
36 virtual void paintCustomItem(QPainter* _painter,
const QStyleOptionGraphicsItem* _opt, QWidget* _widget,
const QRectF& _rect)
override;
44 void addPoint(
const QPointF& _pt);
45 void setPoints(
const std::list<Point2DD>& _points);
46 const std::list<Point2DD>& getPoints(
void)
const;
50 void setBackgroundPainter(
Painter2D* _painter);
51 const Painter2D* getBackgroundPainter(
void)
const;
53 void setOutline(
const OutlineF& _outline);
54 const OutlineF& getOutline(
void)
const;
56 void setFillPolygon(
bool _fill);
57 bool getFillPolygon(
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
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
Definition GraphicsPolygonItem.h:15
The OutlineF class is used to describe how a outline should look like.
Definition Outline.h:161
Definition Painter2D.h:17
2D Point with double values
Definition Point2D.h:144