Element editor -> properties: user can edit subtype for master.

Change the properties is now managed by undo command


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3157 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-06-20 20:10:09 +00:00
parent ba04d35288
commit 60748954b6
6 changed files with 96 additions and 10 deletions

View File

@@ -349,4 +349,17 @@ class ScalePartsCommand : public ElementEditionCommand {
bool first_redo;
};
class ChangePropertiesCommand : public ElementEditionCommand {
public:
ChangePropertiesCommand (ElementScene *scene, QString type, DiagramContext info, QUndoCommand *parent=0);
virtual ~ChangePropertiesCommand ();
virtual void undo();
virtual void redo();
private:
QList <QString> m_type;
QList <DiagramContext> m_info;
};
#endif