karbon
VLayer Class Reference
#include <vlayer.h>
Inheritance diagram for VLayer:

Detailed Description
VLayer manages a set of vobjects.It keeps the objects from bottom to top in a list, ie. objects higher in the list are drawn above lower objects. Objects in a layer can be manipulated and worked on independant of objects in other layers.
Definition at line 36 of file vlayer.h.
Public Member Functions | |
VLayer (VObject *parent, VState state=normal) | |
VLayer (const VLayer &layer) | |
virtual | ~VLayer () |
virtual DCOPObject * | dcopObject () |
virtual void | draw (VPainter *painter, const KoRect *rect=0L) const |
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 VLayer * | clone () const |
virtual void | accept (VVisitor &visitor) |
void | bringToFront (const VObject &object) |
void | upwards (const VObject &object) |
void | downwards (const VObject &object) |
void | sendToBack (const VObject &object) |
void | setSelected (bool state) |
bool | selected () |
Constructor & Destructor Documentation
|
Constructs a new layer object that is child of parent and has the given state.
|
|
Copy constructor.
|
Member Function Documentation
|
Accept a VVisitor.
Reimplemented from VGroup. |
|
Moves the object to the top of the list. When the object is at the top this method has no effect.
|
|
Create an exact copy of this object.
Reimplemented from VGroup. |
|
Returns pointer to internal DCOP object. If no internal DCOP object exist yet, it is created. Reimplemented from VObject. |
|
Moves the object one step down the list. When the object is at the bottom this method has no effect.
|
|
Draw the object to a painting device.
Reimplemented from VGroup. |
|
Load this object's state from xml and initialize this object accordingly.
Reimplemented from VGroup. |
|
Save this object's state to xml.
Reimplemented from VGroup. |
|
Save this object's state to OpenDocument.
Reimplemented from VGroup. |
|
Returns the selection state of the layer.
|
|
Moves the object to the end of the list. When the object is at the bottom this method has no effect.
|
|
Selects or unselects the layer.
|
|
Moves the object one step up the list. When the object is at the top this method has no effect.
|
The documentation for this class was generated from the following files: