HolyLab / Imagine

A graphical interface for recording with OCPI microscopes.
1 stars 1 forks source link

config files #12

Closed Cody-G closed 7 years ago

Cody-G commented 8 years ago

It would be great to allow users to load a config file to populate important fields in the GUI. Configuration could could either be extracted from a devoted text file (some support for this is already hidden inside imagine using javascript) or from a .imagine header. I'm not sure which will be the better way to go, but I'm leaning toward a devoted config file.

kdw503 commented 7 years ago

void Imagine::on_actionSave_Configuration_triggered() void Imagine::on_actionLoad_Configuration_triggered() are implemented using QSettings class and connected to "Load Configuration" and "Save Configuration" in File menu.

timholy commented 7 years ago

Very nice!

A GitHub tip: if your commit message includes something like "fixes #12" in it, GitHub will close the issue automatically, and include a link to the commit that fixed it.

kdw503 commented 7 years ago

Thank you for this nice tip!