pl01
2nd May 2013, 14:06
Hi,
I use QT 5.0.2 and have a main window that contains several QDockWidgets.
Once the application close, I call
settings.setValue("windowState", saveState());
settings.setValue("geometry", geometry());
And once I open it I call :
restoreState(settings.value("windowState").toByteArray());
restoreGeometry(settings.value("geometry").toByteArray());
But my dock widgets "size" is not correctly restored !
So, does someone has an idea of the problem ? and how to solve it ?
Thanks
BTW : I have take a look on google for a work around... and play with several "possible solution", but no way :-(
I use QT 5.0.2 and have a main window that contains several QDockWidgets.
Once the application close, I call
settings.setValue("windowState", saveState());
settings.setValue("geometry", geometry());
And once I open it I call :
restoreState(settings.value("windowState").toByteArray());
restoreGeometry(settings.value("geometry").toByteArray());
But my dock widgets "size" is not correctly restored !
So, does someone has an idea of the problem ? and how to solve it ?
Thanks
BTW : I have take a look on google for a work around... and play with several "possible solution", but no way :-(