PDA

View Full Version : dialog button connected into mainwindow



ditsikts
26th October 2011, 20:47
I want when push dialog's button to run a function of mainwindow
Dialog object called inDlg
dialog's button called submitInsert
Can I connect dialog's button into mainwindow?

stampede
26th October 2011, 23:17
Can I connect dialog's button into mainwindow?
You can.
You can also connect the dialog's button to a dialog's signal, and connect this signal to mainWindow slot, it seems more OOP.