The PrimitiveCircleGraphicsItem class.
More...
#include <primitivecirclegraphicsitem.h>
◆ ShapeMode
Enumerator |
---|
StrokeAndAreaByLayer | Both the line stroke (with its specified width) and the filled area are used as shape, if the corresponding layers are set and visible.
|
FilledOutline | Only the area within the painter path is used as shape.
|
◆ PrimitiveCircleGraphicsItem() [1/2]
◆ PrimitiveCircleGraphicsItem() [2/2]
◆ ~PrimitiveCircleGraphicsItem()
◆ setPosition()
void setPosition |
( |
const Point & |
pos | ) |
|
|
noexcept |
◆ setDiameter()
◆ setLineWidth()
◆ setLineLayer()
void setLineLayer |
( |
const std::shared_ptr< GraphicsLayer > & |
layer | ) |
|
|
noexcept |
◆ setFillLayer()
void setFillLayer |
( |
const std::shared_ptr< GraphicsLayer > & |
layer | ) |
|
|
noexcept |
◆ setShapeMode()
◆ boundingRect()
virtual QRectF boundingRect |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ shape()
QPainterPath shape |
( |
| ) |
const |
|
overridevirtualnoexcept |
◆ paint()
void paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = 0 |
|
) |
| |
|
overridevirtualnoexcept |
◆ operator=()
◆ layerEdited()
◆ updateColors()
◆ updateBoundingRectAndShape()
void updateBoundingRectAndShape |
( |
| ) |
|
|
privatenoexcept |
◆ updateVisibility()
void updateVisibility |
( |
| ) |
|
|
privatenoexcept |
◆ mLineLayer
◆ mFillLayer
◆ mShapeMode
◆ mPen
◆ mPenHighlighted
◆ mBrush
◆ mBrushHighlighted
◆ mCircleRect
◆ mBoundingRect
◆ mShape
◆ mOnLayerEditedSlot
The documentation for this class was generated from the following files: