#include <KoShapeGroup.h>
Inheritance diagram for KoShapeGroup:

Public Member Functions | |
| KoShapeGroup () | |
| Constructor. | |
| ~KoShapeGroup () | |
| destructor | |
| void | paintComponent (QPainter &painter, const KoViewConverter &converter) |
| This implementation is empty since a group is itself not visible. | |
| bool | hitTest (const QPointF &position) const |
| always returns false since the group itself can't be selected or hit | |
| virtual void | saveOdf (KoShapeSavingContext &context) const |
| reimplemented from KoShape | |
| virtual bool | loadOdf (const KoXmlElement &element, KoShapeLoadingContext &context) |
| Load a shape from odf. | |
The group shape allows you to add children which will then be grouped in selections and actions.
If you have a set of shapes, that together make up a bigger shape it is often useful to group them together so the user will perceive the different shapes as actually being one. This means that if the user clicks on one object, all objects in the group will be selected at once, making the tools that works on selections alter all of them at the same time.
Note that while this object is also a shape, it is not actually visible.
| bool KoShapeGroup::loadOdf | ( | const KoXmlElement & | element, | |
| KoShapeLoadingContext & | context | |||
| ) | [virtual] |
Load a shape from odf.
| context | the KoShapeLoadingContext used for loading | |
| element | element which represents the shape in odf |
Implements KoShape.
1.4.7