Maximizing a floating QDockWidget?
Hi,
Is it possible to make a QDockWidget that has a working 'maximize' icon in its title bar whenever it is floating? I've tried using setWindowFlags(Qt::WindowMaximizeButtonHint) in the constructor of a class derived from QDockWidget, but that does not seem to have any effect.
Regards
Re: Maximizing a floating QDockWidget?
Quote:
Originally Posted by
blackmarlin
Hi,
Is it possible to make a QDockWidget that has a working 'maximize' icon in its title bar whenever it is floating? I've tried using setWindowFlags(Qt::WindowMaximizeButtonHint) in the constructor of a class derived from QDockWidget, but that does not seem to have any effect.
Regards
No, I don't think that possible to make a QDockWidget that has a working 'maximize' icon in its title bar whenever it is floating. At least using setWindowFlags is not possible. Well you should try something more.