karbon
VSelectObjects Class Reference
#include <vselectobjects.h>

Detailed Description
This visitor visits a selection and selects objects that are contained in a paramater selection rectangle.For composites it makes a more accurate test, if the selection rectangle intersects with any part of the composite, it is selected. Also this visitor can be used to deselect objects.
Definition at line 38 of file vselectobjects.h.
Public Member Functions | |
VSelectObjects (VObjectList &selection, bool select=true) | |
VSelectObjects (VObjectList &selection, const KoRect &rect, bool select=true) | |
VSelectObjects (VObjectList &selection, const KoPoint &point, bool select=true, bool insideGroups=false) | |
virtual void | visitVGroup (VGroup &group) |
virtual void | visitVPath (VPath &composite) |
virtual void | visitVText (VText &text) |
virtual void | visitVImage (VImage &img) |
virtual void | visitVLayer (VLayer &layer) |
Member Function Documentation
void VSelectObjects::visitVGroup | ( | VGroup & | group | ) | [virtual] |
Visit method for a VGroup.
Pass a group of objects to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.
Reimplemented from VVisitor.
Definition at line 260 of file vselectobjects.cc.
void VSelectObjects::visitVPath | ( | VPath & | composite | ) | [virtual] |
Visit method for a VPath.
Pass a composite path to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.
Reimplemented from VVisitor.
Definition at line 28 of file vselectobjects.cc.
void VSelectObjects::visitVText | ( | VText & | text | ) | [virtual] |
Visit method for a VText.
Pass some text to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.
Reimplemented from VVisitor.
Definition at line 222 of file vselectobjects.cc.
virtual void VSelectObjects::visitVImage | ( | VImage & | img | ) | [inline, virtual] |
Visit method for a VImage.
Pass an image to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.
Reimplemented from VVisitor.
Definition at line 53 of file vselectobjects.h.
void VSelectObjects::visitVLayer | ( | VLayer & | layer | ) | [virtual] |
Visit method for a VLayer.
Pass a layer to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.
Reimplemented from VVisitor.
Definition at line 206 of file vselectobjects.cc.
The documentation for this class was generated from the following files: