maxilase
21st April 2015, 14:08
Hello Everyone !
I am trying to create a dynamical QDocWidget, and I was expecting it could be a native function but I didn't found it in the doc...
I have a QDockWidget which is designed horizontally (QHBoxLayout), I set its parameters so that it can be docked on any Area of my mainWindow.
What I would like is that :
It could be docked really everywhere (I actually can't dock it on left and right areas)
It would automatically change its layout according to the area its docked to
Is there a function or a parameter that can do this ?
Do i have to manually create a button that would switch the layout ?
Is there any Signal emited when trying to "re-dock" a QDockWidget ?
Thank you for your help.
I am trying to create a dynamical QDocWidget, and I was expecting it could be a native function but I didn't found it in the doc...
I have a QDockWidget which is designed horizontally (QHBoxLayout), I set its parameters so that it can be docked on any Area of my mainWindow.
What I would like is that :
It could be docked really everywhere (I actually can't dock it on left and right areas)
It would automatically change its layout according to the area its docked to
Is there a function or a parameter that can do this ?
Do i have to manually create a button that would switch the layout ?
Is there any Signal emited when trying to "re-dock" a QDockWidget ?
Thank you for your help.