PDA

View Full Version : I need to send a message to parent dialog



santhoshv84
3rd July 2008, 09:44
Hi all,

I am having two dialogs. From the child dialog i need to send a message to the parent dialog when i click a button from the child.

Thanks in advance...

mcosta
3rd July 2008, 11:16
Simply you can connect the clicked() signal of the button to a parent slot.
This work only if the child dialog is a modeless dialog (you have to use show() and not exec())