Qt-interest Archive, August 2006
[Qt4.2] Examples of Undo Framework?
Message 1 in thread
I'm still getting up to speed with Qt programming and have been using
the Qt-4.2 preview, particularly because of the undo framework.
But I haven't found much in the way of example code for using
QtUndoGroup. Am I missing this?
It looks like to properly implement the call to QUndoStack::setActive
(), I should implement QWidget::changeEvent() and look for
QEvent::ActivationChange?
An example of QUndoView would also be great -- the graphics in the
documentation seem to imply an example with a drawing widget:
http://doc.trolltech.com/4.2/qundoview.html
Thanks in advance!
-Geoff
--
[ signature omitted ]