Hi,

you can derive your own UndoCommand class from QUndoCommand. There overwrite 
the virtual functions undo and redo so as to not run the commands during the 
push (i.e. the first time they get called).

- Michael.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to