#include <vselectiondesc.h>
Public Member Functions | |
| virtual void | visitVSelection (VSelection &) |
| virtual void | visitVGroup (VGroup &) |
| virtual void | visitVPath (VPath &) |
| virtual void | visitVText (VText &) |
| virtual void | visitVImage (VImage &) |
| TQString | description () |
| TQString | shortDescription () |
| Public Member Functions inherited from VVisitor | |
| VVisitor () | |
| virtual bool | visit (VObject &object) |
| virtual void | visitVObject (VObject &object) |
| virtual void | visitVDocument (VDocument &document) |
| virtual void | visitVLayer (VLayer &layer) |
| virtual void | visitVSubpath (VSubpath &path) |
| bool | success () const |
Additional Inherited Members | |
| Protected Member Functions inherited from VVisitor | |
| virtual | ~VVisitor () |
| void | setSuccess (bool success=true) |
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.
Constructor & Destructor Documentation
◆ VSelectionDescription()
|
inline |
Definition at line 37 of file vselectiondesc.h.
Member Function Documentation
◆ description()
|
inline |
Definition at line 45 of file vselectiondesc.h.
◆ shortDescription()
|
inline |
Definition at line 46 of file vselectiondesc.h.
◆ visitVGroup()
|
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 45 of file vselectiondesc.cpp.
◆ visitVImage()
|
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 58 of file vselectiondesc.cpp.
◆ visitVPath()
|
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 39 of file vselectiondesc.cpp.
◆ visitVSelection()
|
virtual |
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.cpp.
◆ visitVText()
|
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 52 of file vselectiondesc.cpp.
The documentation for this class was generated from the following files:
