|
Krita Source Code Documentation
|
Inheritance diagram for ShapeGroupContainerModel:Private Attributes | |
| KoShapeGroup * | m_group |
Additional Inherited Members | |
Protected Member Functions inherited from KoShapeContainerModel | |
| KoShapeContainerModel (const KoShapeContainerModel &rhs) | |
Definition at line 25 of file KoShapeGroup.cpp.
|
inline |
Definition at line 28 of file KoShapeGroup.cpp.
|
inlineoverride |
Definition at line 29 of file KoShapeGroup.cpp.
|
inline |
Definition at line 31 of file KoShapeGroup.cpp.
Add a shape to this models store.
| shape | the shape to be managed in the container. |
Implements KoShapeContainerModel.
Definition at line 37 of file KoShapeGroup.cpp.
References SimpleShapeContainerModel::add(), KoShapeGroup::invalidateSizeCache(), and m_group.
|
inlineoverridevirtual |
This method is called when one of the shape shapes has been modified. When a shape is rotated, moved or scaled/skewed this method will be called to inform the container of such a change. The change has already happened at the time this method is called. The base implementation notifies the grand parent of the shape that there was a change in a shape. A reimplementation if this function should call this method when overriding the function.
| shape | the shape that has been changed |
| type | this enum shows which change the shape has had. |
Reimplemented from KoShapeContainerModel.
Definition at line 49 of file KoShapeGroup.cpp.
References KoShapeContainerModel::childChanged(), KoShape::ClipMaskChanged, KoShape::ClipPathChanged, KoShape::GenericMatrixChange, KoShapeGroup::invalidateSizeCache(), m_group, KoShape::ParameterChanged, KoShape::PositionChanged, KoShape::RotationChanged, KoShape::ScaleChanged, KoShape::ShearChanged, and KoShape::SizeChanged.
Remove a shape to be completely separated from the model.
| shape | the shape to be removed. |
Implements KoShapeContainerModel.
Definition at line 43 of file KoShapeGroup.cpp.
References KoShapeGroup::invalidateSizeCache(), m_group, and SimpleShapeContainerModel::remove().
|
private |
Definition at line 71 of file KoShapeGroup.cpp.