QElectroTech
0.70
|
The ChangeTitleBlockCommand class This command changes the title block properties for a particular diagram. More...
#include <changetitleblockcommand.h>
Public Member Functions | |
ChangeTitleBlockCommand (Diagram *, const TitleBlockProperties &, const TitleBlockProperties &, QUndoCommand *=nullptr) | |
ChangeTitleBlockCommand::ChangeTitleBlockCommand. More... | |
~ChangeTitleBlockCommand () override | |
void | undo () override |
void | redo () override |
Private Member Functions | |
ChangeTitleBlockCommand (const ChangeTitleBlockCommand &) | |
Private Attributes | |
Diagram * | diagram |
TitleBlockProperties | old_titleblock |
TitleBlockProperties | new_titleblock |
The ChangeTitleBlockCommand class This command changes the title block properties for a particular diagram.
Definition at line 30 of file changetitleblockcommand.h.
ChangeTitleBlockCommand::ChangeTitleBlockCommand | ( | Diagram * | d, |
const TitleBlockProperties & | old_ip, | ||
const TitleBlockProperties & | new_ip, | ||
QUndoCommand * | parent = nullptr |
||
) |
ChangeTitleBlockCommand::ChangeTitleBlockCommand.
d | |
old_ip | |
new_ip | |
parent |
Definition at line 29 of file changetitleblockcommand.cpp.
|
override |
Definition at line 41 of file changetitleblockcommand.cpp.
|
private |
|
override |
Definition at line 50 of file changetitleblockcommand.cpp.
References diagram, and new_titleblock.
|
override |
Definition at line 43 of file changetitleblockcommand.cpp.
References diagram, and old_titleblock.
|
private |
Definition at line 43 of file changetitleblockcommand.h.
|
private |
Definition at line 45 of file changetitleblockcommand.h.
Referenced by redo().
|
private |
Definition at line 44 of file changetitleblockcommand.h.
Referenced by undo().