[Qt-interest] Undo Action

Kavindra Palaraja kdpalara at trolltech.com
Tue Dec 9 11:04:22 CET 2008


Ankit Agarwal wrote:
> Hi,
> I have an application that has a graphics scene. Most of the
> operations are done on the graphics scene.
> Actions are like, changing the state of the graphics item, adding new
> graphics item, showing and hiding graphics item.
>
> My requirement: I need to implement Undo actions in the application.
> The user can go back upto 3 actions he performed.
>
> How can i achive this?

Hi Ankit,

The documentation is your friend :) You can refer to:
http://doc.trolltech.com/4.4/tools-undoframework.html

Good luck,
Kavindra.



More information about the Qt-interest-old mailing list