|
|
Martin wrote:
Matthieu Dazy wrote:
Martin wrote:
QMainWindow is able to store and load the toolbar/dock layout
(#saveState/#restoreState), there has to be some way to do this
programmatically as well... or so I hope :) Does someone know how to
do this?
Have you tried checking the code for the methods you just mentioned ?
Yes I have. They serialise the internal layout to/from a stream. The
layout is of type QMainWindowLayout, a non-public class, so this
approach won't work for me.
M
Btw, I don't know how to do this using sizeHints, so if someone could
give me a, well, hint on how to do that, I would be very thankful as well :)
M
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|