28 Q_ASSERT(shapeData != 0);
KoShapeUserData * userData() const
virtual QSizeF size() const
Get the size of the shape in pt.
ChangeType
Used by shapeChanged() to select which change was made.
@ ContentChanged
the content of the shape changed e.g. a new image inside a pixmap/text change inside a textshape
@ SizeChanged
used after a setSize()
virtual void setSize(const QSizeF &size)
Resize the shape.
bool isClipped(const KoShape *shape) const override
QList< KoShape * > shapes() const override
void containerChanged(KoShapeContainer *container, KoShape::ChangeType type) override
bool inheritsTransform(const KoShape *shape) const override
int count() const override
void setInheritsTransform(const KoShape *shape, bool inherit) override
void setClipped(const KoShape *shape, bool clipping) override
~KoTosContainerModel() override
void remove(KoShape *shape) override
void add(KoShape *shape) override
ResizeBehavior resizeBehavior() const
@ TextFollowsPreferredTextRect
The size/position of the text area will follow the preferredTextRect property.