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:
blacksun
2015-02-15 10:21:32 +00:00
parent deeac895c3
commit d1819c967f
9 changed files with 385 additions and 124 deletions

View File

@@ -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();
}
/**