mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Element editor : Editor can change several primitive style in same time. Just select several primitive and edit it with the style editor widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3716 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -331,14 +331,22 @@ ChangePartCommand::ChangePartCommand(
|
||||
ChangePartCommand::~ChangePartCommand() {
|
||||
}
|
||||
|
||||
/// Annule le changement
|
||||
void ChangePartCommand::undo() {
|
||||
/**
|
||||
* @brief ChangePartCommand::undo
|
||||
*/
|
||||
void ChangePartCommand::undo()
|
||||
{
|
||||
cep -> setProperty(property, old_value);
|
||||
ElementEditionCommand::undo();
|
||||
}
|
||||
|
||||
/// Refait le changement
|
||||
void ChangePartCommand::redo() {
|
||||
/**
|
||||
* @brief ChangePartCommand::redo
|
||||
*/
|
||||
void ChangePartCommand::redo()
|
||||
{
|
||||
cep -> setProperty(property, new_value);
|
||||
ElementEditionCommand::redo();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user