I have QGroupBox and widgets inside one. If I want to disable all these widgets I write
Qt Code:
  1. mygroupBox->SetEnabled(false);
To copy to clipboard, switch view to plain text mode 
If I want to enable all widgets I write
Qt Code:
  1. mygroupBox->SetEnabled(true);
To copy to clipboard, switch view to plain text mode 

But if the groupbox is disabled initially (for ex I set this in QtCreator) then I can not enable it in run-time.