hello everybody
i have a dialog in which i have a checkbox and a few buttons. On press of ok button respective slot is called.I have used inherited this dialog code class and in my class, i have
Qt Code:
  1. connect(pbnOK,SIGNAL(clicked()),this,SLOT(on_pbnOK_clicked()));
To copy to clipboard, switch view to plain text mode 
what i expect here is on pressing on ok button( pbnOK) slot on_pbnOK_clicked() will be called but this is not happening.
While designing dialog i have made connection that on clicking of pbnOK should accept().
i know its very naive but i couldn't find way out

thankyou
cya
quick nitin