Not sure why prasad_N wrote the bit about not being Qt related, I would say it clearly is.
If you just want the button's enable state to follow the checkbox's checked state, then just connect the checkbox to the button
You can even do this in Designer, using the signal/slot mode.Qt Code:
connect(checbox, SIGNAL(toggled(bool)), button, SLOT(setEnabled(bool)));To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks