Hello.
Qt have:
but how can I set maximum undo/redo steps? Is it possible at all?
Printable View
Hello.
Qt have:
but how can I set maximum undo/redo steps? Is it possible at all?
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.
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?