karbon
VSelectionDescription Class Reference
#include <vselectiondesc.h>
Inheritance diagram for VSelectionDescription:

Detailed Description
This visitors visits structures and tries to capture relevant object type info as text.There are two methods, one creates a large description like "(1 group, containing 2 objects)", and a short description giving object id, or if there is no object id just the object type, like group/path/text etc.
These texts are primarily meant for statusbar messages and object trees.
Definition at line 34 of file vselectiondesc.h.
Public Member Functions | |
VSelectionDescription () | |
virtual void | visitVSelection (VSelection &) |
virtual void | visitVGroup (VGroup &) |
virtual void | visitVPath (VPath &) |
virtual void | visitVText (VText &) |
virtual void | visitVImage (VImage &) |
QString | description () |
QString | shortDescription () |
Member Function Documentation
|
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 45 of file vselectiondesc.cc. |
|
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 58 of file vselectiondesc.cc. |
|
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 39 of file vselectiondesc.cc. |
|
Visit method for a VSelection. Pass a selection 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 30 of file vselectiondesc.cc. |
|
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 52 of file vselectiondesc.cc. |
The documentation for this class was generated from the following files: