labscript-suite / runmanager

𝗿𝘂𝗻𝗺𝗮𝗻𝗮𝗴𝗲𝗿 is an intuitive graphical interface for controlling 𝘭𝘢𝘣𝘴𝘤𝘳𝘪𝘱𝘵 𝘴𝘶𝘪𝘵𝘦 experiments. Includes multi-dimensional parameter scans and a remote programming interface for automation.
http://labscriptsuite.org
Other
3 stars 45 forks source link

Saving and restoration of window size & location #41

Open philipstarkey opened 7 years ago

philipstarkey commented 7 years ago

Original report (archived issue) by Shaun Johnstone (Bitbucket: shjohnst, GitHub: shjohnst).


When runmanager is restarted, it defaults to its original size, with the "output" window docked to the main window. Usually we use it snapped to half a window, with the output window popped out taking up the other half. Is it possible to have runmanager remember how it was displayed before closing, so that it can re-open in the user's preferred configuration automatically?

philipstarkey commented 7 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


Certainly possible. Qt has some things for remembering these settings (i.e it gives you long strings of bytes that represent current GUI state that you can save and load) without having to do them all manually, some would still be manual though. But yep, sounds fair enough.