View Full Version : how does qt remember toolbar locations
ravas
11th July 2015, 19:36
When we move toolbars to different areas Qt remembers their locations the next time we start the program.
How does this work?
wysota
11th July 2015, 20:31
Likely it saves them to a config.
ravas
13th July 2015, 18:34
Does anyone know where Qt saves the toolbar locations?
Ginsengelf
14th July 2015, 07:04
Hi, QMainWindow::saveState works well together with QSettings to save your GUI setup.
Ginsengelf
ravas
14th July 2015, 20:03
Thanks! I think I found it (forked open source project).
RS_SETTINGS->writeEntry("/DockWindows", QVariant (saveState()));
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.