KoShapeGroup Class Reference

Provide grouping for shapes. More...

#include <KoShapeGroup.h>

Inheritance diagram for KoShapeGroup:

KoShapeContainer KoShape List of all members.

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.

Detailed Description

Provide grouping for shapes.

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.


Member Function Documentation

bool KoShapeGroup::loadOdf ( const KoXmlElement element,
KoShapeLoadingContext context 
) [virtual]

Load a shape from odf.

Parameters:
context the KoShapeLoadingContext used for loading
element element which represents the shape in odf
Returns:
false if loading failed

Implements KoShape.


The documentation for this class was generated from the following files:
Generated on Sun Jul 20 22:37:16 2008 for libs/flake by  doxygen 1.4.7