Quote Originally Posted by aamer4yu View Post
does ur cod reach the slot ?
Are you using your own slot ? or is it the default slot : on_XXXX_clicked() ?

BTW, how do you plan to enable it again ? bec you wont be able to click a disabled button
the setEnabled() kind of functions do not reflect the change till the slot is complete and control goes back to event loop. and as explained below by others, if the only thing you have to do is to disable/enable the button, best is to connect it to the button's slot

cheers!