karbon
VSelection Class Reference
#include <vselection.h>
Inheritance diagram for VSelection:

Detailed Description
VSelection manages a set of selected vobjects.
Definition at line 61 of file vselection.h.
Public Member Functions | |
VSelection (VObject *parent=0L) | |
VSelection (const VSelection &selection) | |
virtual | ~VSelection () |
void | draw (VPainter *painter, double zoomFactor) const |
virtual const KoRect & | boundingBox () const |
virtual VSelection * | clone () const |
virtual void | accept (VVisitor &visitor) |
void | append () |
void | append (VObject *object) |
void | append (const VObjectList &objects) |
bool | append (const KoRect &rect, bool selectObjects=true, bool exclusive=true) |
void | take (VObject &object) |
bool | take (const KoRect &rect, bool selectObjects=true, bool exclusive=true) |
void | clear () |
const VObjectList & | objects () const |
QPtrList< VSegment > | getSegments (const KoRect &rect) |
void | selectNodes (bool select=true) |
VHandleNode | handleNode (const KoPoint &point) const |
void | showHandle (bool handle=true) |
virtual void | setSelectObjects (bool selectObjects=true) |
Static Public Member Functions | |
static void | setHandleSize (uint size) |
static uint | handleSize () |
Constructor & Destructor Documentation
|
Constructs a vselection with the specified parent.
Definition at line 35 of file vselection.cc. |
|
Constructs a vselection by copying the specified selection.
Definition at line 45 of file vselection.cc. |
|
Destroys the selection.
Definition at line 58 of file vselection.cc. |
Member Function Documentation
|
Accept a VVisitor.
Reimplemented from VObject. Definition at line 71 of file vselection.cc. |
|
Adds all objects ( selectObjects == true ) or all nodes ( selectObjects == false ) within rect to the selection.
Definition at line 154 of file vselection.cc. |
|
Adds all objects of the specified object list to the selection.
Definition at line 146 of file vselection.cc. |
|
Adds an object to the selection.
Definition at line 133 of file vselection.cc. |
|
Adds all objects to the selection.
Definition at line 121 of file vselection.cc. |
|
Calculates the tightest bounding box around the object.
Reimplemented from VObject. Definition at line 273 of file vselection.cc. |
|
Removes the references to all objects, not the objects themselves.
Definition at line 195 of file vselection.cc. |
|
Create an exact copy of this object.
Implements VObject. Definition at line 65 of file vselection.cc. |
|
Paint selected objects outline and handle.
Definition at line 213 of file vselection.cc. |
|
Returns a list of segments that have at least one control point inside the specified rect.
Definition at line 306 of file vselection.cc. |
|
Returns the handle node id, the KoPoint is inside.
Definition at line 294 of file vselection.cc. |
|
Read only access to the selected objects.
Definition at line 136 of file vselection.h. |
|
Selects or deselects all nodes.
Definition at line 318 of file vselection.cc. |
|
Toggles selection of objects/nodes.
Definition at line 173 of file vselection.h. |
|
Toggle selection handles on/off.
Definition at line 166 of file vselection.h. |
|
Removes all objects ( selectObjects == true ) or all nodes ( selectObjects == false ) within rect from the selection.
Definition at line 86 of file vselection.cc. |
|
Removes the reference to the object, not the object itself.
Definition at line 77 of file vselection.cc. |
The documentation for this class was generated from the following files: