labscript-suite-oldfinal1 / runmanager

runmanager is a graphical user interface (GUI) used to aid the compilation of labscript experiment scripts into hardware instructions to be executed on the hardware. Experiment parameters can be adjusted in the GUI, and lists of parameters can be used to create sequences of experiments, and scan over complex parameter spaces.
BSD 2-Clause "Simplified" License
0 stars 0 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.