[Qt-interest] Docked Widgets

Alan Ezust alan.ezust at gmail.com
Thu Mar 10 20:03:36 CET 2011


See these functions:

QByteArray QMainWindow::saveState ( int version = 0 ) const
bool QMainWindow::restoreState ( const QByteArray & state, int version = 0 )



On Thu, Mar 10, 2011 at 1:35 AM, Graham Labdon
<Graham.Labdon at avalonsciences.com> 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
>



More information about the Qt-interest-old mailing list