PDA

View Full Version : Execute event in calling window



rdjenner
23rd February 2011, 18:54
I have a window a that calls window b. Whne window b is closed, I want to call an event in window a that will clear the screen and ready it for input again. Can I do this?

stampede
23rd February 2011, 23:50
One of possible solutions - reimplement closeEvent in window b, in this closeEvent emit a clear() signal connected to clearScreen() slot in window a.

rdjenner
24th February 2011, 16:28
That worked exactly as I needed. Thank you.