![]() |
QElectroTech
0.8-dev
|
The ChangeBorderCommand class This command changes the border properties of a particular diagram. More...
#include <diagramcommands.h>
Inherits QUndoCommand.

Public Member Functions | |
| ChangeBorderCommand (Diagram *, const BorderProperties &, const BorderProperties &, QUndoCommand *=nullptr) | |
| ChangeBorderCommand::ChangeBorderCommand Constructeur. More... | |
| ~ChangeBorderCommand () override | |
| ChangeBorderCommand::~ChangeBorderCommand Destructeur. More... | |
| void | undo () override |
| ChangeBorderCommand::undo Annule les changements apportes au schema. More... | |
| void | redo () override |
| ChangeBorderCommand::redo 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... | |
The ChangeBorderCommand class This command changes the border properties of a particular diagram.
| ChangeBorderCommand::ChangeBorderCommand | ( | Diagram * | dia, |
| const BorderProperties & | old_bp, | ||
| const BorderProperties & | new_bp, | ||
| QUndoCommand * | parent = nullptr |
||
| ) |
ChangeBorderCommand::ChangeBorderCommand Constructeur.
| dia | Schema modifie |
| old_bp | Anciennes proprietes du cadre du schema |
| new_bp | Nouvelles proprietes du cadre du schema |
| parent | QUndoCommand parent |
|
override |
ChangeBorderCommand::~ChangeBorderCommand Destructeur.
|
private |
|
override |
ChangeBorderCommand::redo Refait les changements apportes au schema.
|
override |
ChangeBorderCommand::undo Annule les changements apportes au schema.
|
private |
modified diagram
| BorderProperties ChangeBorderCommand::new_properties |
properties after the change
| BorderProperties ChangeBorderCommand::old_properties |
properties before the change
1.8.18