32 virtual QSizeF getPreferredGraphicsItemSize(
void)
const override;
37 virtual void paintCustomItem(QPainter* _painter,
const QStyleOptionGraphicsItem* _opt, QWidget* _widget,
const QRectF& _rect)
override;
46 void setBackgroundPainter(
Painter2D* _painter);
47 const Painter2D* getBackgroundPainter(
void)
const;
49 void setOutline(
const OutlineF& _outline);
50 const OutlineF& getOutline(
void)
const;
52 void setFillShape(
bool _fill);
53 bool getFillShape(
void)
const;
57 void setOutlinePath(
const Path2DF& _path);
60 const Path2DF& getOutlinePath(
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 GraphicsShapeItem.h:16
The OutlineF class is used to describe how a outline should look like.
Definition Outline.h:161
Definition Painter2D.h:17
The Path2DF class describes a path consisting of different types of lines.
Definition Path2D.h:116