Hello,
On the Qt 4.4 documentation, it states that if you set a parent widget (such as a QMainWindow) to disabled using setEnabled( false ), all children widgets are implicitly disabled.
Using this call, is there a way to keep one children widget enabled?
I know I can do something like this:
Qt Code:
QList<QWidget*> list = parentWidget->findChildren<QWidget*>() ; { w->setEnabled( false ) ; } childWidget->setEnabled( true ) ;To copy to clipboard, switch view to plain text mode
But then I lose the existing enabled/disabled state of the widgets.
Thanks!
Bookmarks