I have a QTabWidget called tabWidget. It has three tabs: \"Basic\", \"Advanced\", and \"Current Structure\". The tabs are displayed in the widget in that order
QTabWidget
You can't, not this way.
You have to iterate through all the children in the Page and disable them.
Something like this:
QList list = parentWidget->findChildren() ; foreach( QWidget* w, list ) { w->setEnabled( false ) ; }