karbon
VStrokeCmd Class Reference
Inheritance diagram for VStrokeCmd:

Detailed Description
Definition at line 32 of file vstrokecmd.h.
Public Member Functions | |
VStrokeCmd (VDocument *doc, const VStroke *, const QString &icon="14_action") | |
VStrokeCmd (VDocument *doc, VGradient *) | |
VStrokeCmd (VDocument *doc, VPattern *) | |
VStrokeCmd (VDocument *doc, const VColor &) | |
VStrokeCmd (VDocument *doc, double) | |
VStrokeCmd (VDocument *doc, const QValueList< float > &) | |
virtual | ~VStrokeCmd () |
virtual void | execute () |
virtual void | unexecute () |
virtual bool | changesSelection () const |
virtual void | changeStroke (const VColor &) |
virtual VSelection * | getSelection () const |
Protected Types | |
enum | State { LineWidth, Color, Gradient, Pattern, Stroke, Dash } |
Protected Attributes | |
State | m_state |
VSelection * | m_selection |
VStroke | m_stroke |
QValueVector< VStroke > | m_oldstrokes |
Member Function Documentation
|
Returns if the command changes the actual document selection. This flag is checked to determine if the document has to be redrawn.
Reimplemented from VCommand. Definition at line 46 of file vstrokecmd.h. |
|
Executes the command. All the changes to the document are done here. All commands have to implement this function. Implements VCommand. Definition at line 117 of file vstrokecmd.cc. |
|
Unexecutes the command. All changes to the document have to be undone here. Reimplemented from VCommand. Definition at line 182 of file vstrokecmd.cc. |
The documentation for this class was generated from the following files: