Hello.
Qt have:
but how can I set maximum undo/redo steps? Is it possible at all?Qt Code:
To copy to clipboard, switch view to plain text mode
Hello.
Qt have:
but how can I set maximum undo/redo steps? Is it possible at all?Qt Code:
To copy to clipboard, switch view to plain text mode
You can probably hack into the undo/redo framework using QObject::findChild() but first you have to check in Qt's source code what to look for. There is no simple call in the API to do what you want directly.
lukass (30th October 2010)
Does searching QUndoStack among children work for you? I tried but this did not work for me. Or is there any trick that I missed?
Bookmarks