PDA

View Full Version : qt undo/redo



giugio
12th November 2012, 14:55
hello.
I have the necessity in my project of the undo/redo mechanism.
I wish use the command pattern with undo/redo(exec/unexec methods) and a stack,
There is something of already done in the qt framework ,for don't reinvent the wheel ,or is better create all from 0?
thanks.

wysota
12th November 2012, 16:31
QUndoStack, QUndoCommand and family...