SymbolEditor
1.3.0
|
Change the pen join style command. More...
#include <Commands.h>
Public Member Functions | |
ChangeJoinStyleCommand (Editor *editor, Qt::PenJoinStyle from, Qt::PenJoinStyle to) | |
virtual | ~ChangeJoinStyleCommand () |
virtual void | undo () |
virtual void | redo () |
Private Attributes | |
Editor * | m_editor |
Qt::PenJoinStyle | m_from |
Qt::PenJoinStyle | m_to |
Change the pen join style command.
Implement changing the line join style for the current symbol.
The original style is stored for a possible undo.
Definition at line 417 of file Commands.h.
ChangeJoinStyleCommand::ChangeJoinStyleCommand | ( | Editor * | editor, |
Qt::PenJoinStyle | from, | ||
Qt::PenJoinStyle | to | ||
) |
Constructor
editor | a pointer to the Editor |
from | a Qt::PenJoinStyle value representing the original setting |
to | a Qt::PenJoinStyle value representing the new setting |
Definition at line 778 of file Commands.cpp.
|
virtual |
Destructor
Definition at line 790 of file Commands.cpp.
|
virtual |
Redo the change pen join style command.
Definition at line 807 of file Commands.cpp.
|
virtual |
Undo the change pen join style command.
Definition at line 798 of file Commands.cpp.
|
private |
pointer to the Editor
Definition at line 427 of file Commands.h.
|
private |
original setting
Definition at line 428 of file Commands.h.
|
private |
new setting
Definition at line 429 of file Commands.h.