karbon
VGroup Class Reference
#include <vgroup.h>
Inheritance diagram for VGroup:

Detailed Description
Base class for all sort of VObject conglomerats.Definition at line 34 of file vgroup.h.
Public Member Functions | |
| VGroup (VObject *parent, VState state=normal) | |
| VGroup (const VGroup &group) | |
| virtual | ~VGroup () |
| virtual void | draw (VPainter *painter, const KoRect *rect=0L) const |
| virtual const KoRect & | boundingBox () const |
| virtual void | setStroke (const VStroke &stroke) |
| virtual void | setFill (const VFill &fill) |
| virtual void | setState (const VState state) |
| virtual void | save (QDomElement &element) const |
| virtual void | saveOasis (KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyles, int &index) const |
| virtual void | load (const QDomElement &element) |
| virtual bool | loadOasis (const QDomElement &element, KoOasisLoadingContext &context) |
| virtual VGroup * | clone () const |
| virtual void | accept (VVisitor &visitor) |
| void | take (const VObject &object) |
| void | append (VObject *object) |
| virtual void | insertInfrontOf (VObject *newObject, VObject *oldObject) |
| void | clear () |
| const VObjectList & | objects () const |
Protected Attributes | |
| VObjectList | m_objects |
Constructor & Destructor Documentation
| VGroup::VGroup | ( | const VGroup & | group | ) |
| VGroup::~VGroup | ( | ) | [virtual] |
Member Function Documentation
| void VGroup::draw | ( | VPainter * | painter, | |
| const KoRect * | rect = 0L | |||
| ) | const [virtual] |
Draw the object to a painting device.
- Parameters:
-
painter abstraction that is used to render to a painting device. rect represents the visible rectangular area. If this object doesn't intersect with this area it is not drawn.
Reimplemented from VObject.
Reimplemented in VClipGroup, and VLayer.
| const KoRect & VGroup::boundingBox | ( | ) | const [virtual] |
| void VGroup::setStroke | ( | const VStroke & | stroke | ) | [virtual] |
| void VGroup::setFill | ( | const VFill & | fill | ) | [virtual] |
| void VGroup::setState | ( | const VState | state | ) | [virtual] |
| void VGroup::save | ( | QDomElement & | element | ) | const [virtual] |
Save this object's state to xml.
- Parameters:
-
element the DOM element to which the attributes are saved
Reimplemented from VObject.
Reimplemented in VClipGroup, and VLayer.
| void VGroup::saveOasis | ( | KoStore * | store, | |
| KoXmlWriter * | docWriter, | |||
| KoGenStyles & | mainStyles, | |||
| int & | index | |||
| ) | const [virtual] |
| void VGroup::load | ( | const QDomElement & | element | ) | [virtual] |
Load this object's state from xml and initialize this object accordingly.
- Parameters:
-
element the DOM element from which the attributes are read
Reimplemented from VObject.
Reimplemented in VClipGroup, and VLayer.
| bool VGroup::loadOasis | ( | const QDomElement & | element, | |
| KoOasisLoadingContext & | context | |||
| ) | [virtual] |
| VGroup * VGroup::clone | ( | ) | const [virtual] |
Create an exact copy of this object.
- Returns:
- the exact object copy
Implements VObject.
Reimplemented in VClipGroup, and VLayer.
| void VGroup::accept | ( | VVisitor & | ) | [virtual] |
| void VGroup::take | ( | const VObject & | object | ) |
| void VGroup::append | ( | VObject * | object | ) |
| void VGroup::clear | ( | ) |
| const VObjectList& VGroup::objects | ( | ) | const [inline] |
Member Data Documentation
VObjectList VGroup::m_objects [protected] |
The documentation for this class was generated from the following files:

