PDA

View Full Version : QMainWindow without central wiidget, is it bad ?



Alundra
29th June 2015, 01:36
Hi,
I changed the QMainWindow to not have a central widget and to use "setDockNestingEnabled( true )" to have full control of the docks.
Is it bad to not have a central widget ? I don't see any problem but I prefer ask to know if internally it's bad.
Thanks

anda_skoa
29th June 2015, 10:45
I doubt there is a problem despite this being a very uncommon setup.
But if you don't want to risk it, why not simply set an empty widget?

Cheers,
_