[Qt-interest] Docked Widgets

Ben Swerts benswerts at telenet.be
Thu Mar 10 19:58:06 CET 2011


Hi Graham,

Check out QMainWindow::saveState and ::restoreState.

Greets,


	Ben

> Hi
> I have an app with some docked widgets.
> My requirement is have the application come up with the same 
> configuration of dock widgets when the app was last run
> 
> So I need to find the docked area occupied by the docked 
> widgets when the application closes and save in user settings 
> Then when the application is run I need to set the docked 
> widgets to their dock areas.
> 
> I can't seem to find a way of getting and setting the 
> location of the docked widgets -
> 
> Did I miss something?
> 
> Graham




More information about the Qt-interest-old mailing list