|
QElectroTech
0.70
|
#include <diagramcommands.h>
Public Member Functions | |
| ChangeBorderCommand (Diagram *, const BorderProperties &, const BorderProperties &, QUndoCommand *=nullptr) | |
| ~ChangeBorderCommand () override | |
| Destructeur. More... | |
| void | undo () override |
| Annule les changements apportes au schema. More... | |
| void | redo () override |
| Refait les changements apportes au schema. More... | |
Public Attributes | |
| BorderProperties | old_properties |
| properties before the change More... | |
| BorderProperties | new_properties |
| properties after the change More... | |
Private Member Functions | |
| ChangeBorderCommand (const ChangeBorderCommand &) | |
Private Attributes | |
| Diagram * | diagram |
| modified diagram More... | |
This command changes the border properties of a particular diagram.
Definition at line 280 of file diagramcommands.h.
| ChangeBorderCommand::ChangeBorderCommand | ( | Diagram * | dia, |
| const BorderProperties & | old_bp, | ||
| const BorderProperties & | new_bp, | ||
| QUndoCommand * | parent = nullptr |
||
| ) |
Constructeur
| dia | Schema modifie |
| old_bp | Anciennes proprietes du cadre du schema |
| new_bp | Nouvelles proprietes du cadre du schema |
| parent | QUndoCommand parent |
Definition at line 535 of file diagramcommands.cpp.
|
override |
Destructeur.
Definition at line 544 of file diagramcommands.cpp.
|
private |
|
override |
Refait les changements apportes au schema.
Definition at line 554 of file diagramcommands.cpp.
References diagram, and new_properties.
|
override |
Annule les changements apportes au schema.
Definition at line 548 of file diagramcommands.cpp.
References diagram, and old_properties.
|
private |
modified diagram
Definition at line 296 of file diagramcommands.h.
| BorderProperties ChangeBorderCommand::new_properties |
| BorderProperties ChangeBorderCommand::old_properties |
properties before the change
Definition at line 299 of file diagramcommands.h.
Referenced by undo().
1.8.15