[Qt-interest] Docked Widgets

Samuel Gaist samuel.gaist at edeltech.ch
Thu Mar 10 16:55:58 CET 2011


On 10 mars 2011, at 10:35, Graham Labdon wrote:

> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest

Hello,

Did you take a look at :

http://doc.qt.nokia.com/latest/qmainwindow.html#saveState

Hope it helps
Samuel


More information about the Qt-interest-old mailing list