With
mainWindow->enable(false);

i can disable all widgets on it. But i want one of the widgets NOT to be disabled. Any ideas?
Of course i can disable them one by one, but it is lot of (inefficient) code.