PDA

View Full Version : Detecting a action ( undo/ redo)



ankurjain
4th May 2006, 09:41
hi guys,
how can i detect a particular action performed on cell, like cut copy,paste,edit etc.
i want to store these actions in a stack to perform undo redo operations.

wysota
4th May 2006, 14:08
You should connect to signals which trigger actions if they are ones you can't control (you didn't implement them) or emit a signal from the actions that a particular action is just executed if those actions are implemented by you. You can then connect to those signals and manipulate the undo stack accordingly.

ankurjain
5th May 2006, 05:05
thanx wysota buddy,

u made it so simple .... :D