7#ifndef KOSHAPECONTAINER_H
8#define KOSHAPECONTAINER_H
14#include "kritaflake_export.h"
18class KoShapeContainerPrivate;
91 void removeShape(
KoShape *shape);
97 int shapeCount()
const;
111 void setClipped(
const KoShape *child,
bool clipping);
125 bool isClipped(
const KoShape *child)
const;
139 void setInheritsTransform(
const KoShape *shape,
bool inherit);
153 bool inheritsTransform(
const KoShape *shape)
const;
157 void paint(QPainter &painter)
const override;
171 void update()
const override;
222 void removeShape(
KoShape *shape);
245 QScopedPointer<Private>
d;
virtual void shapeCountChanged()
KoShapeContainerModel * model() const
ShapeInterface * shapeInterface()
QScopedPointer< Private > d
virtual void paintComponent(QPainter &painter) const =0
Paint the component Implement this method to allow the shape to paint itself, just like the KoShape::...
virtual void update() const
virtual void shapeChanged(ChangeType type, KoShape *shape=0)
virtual void paint(QPainter &painter) const =0
Paint the shape fill The class extending this one is responsible for painting itself....