oss-slu / Mouser

GNU General Public License v3.0
1 stars 7 forks source link

implementing preference setting to serial port setting page #198

Closed stanleyyang2001 closed 7 months ago

stanleyyang2001 commented 7 months ago

Fixes #190

What was changed?

A new file that contains the preferred configuration for serial port setting is added. Functions related to preference configuration is added so that when Mouser application is started the serial port setting is automatically set to the preferred configuration.

Why was it changed?

Preference configuration is set so that user don't have to manually set the serial port setting every time they open the program.

How was it changed?

A file was added to the preference directory in setting/serial ports that will contain the preference configuration for the serial port setting page. Implementation in the class SerialPortSetting is applied such that it checks if there's a file in the preference directory that contains the file name of the preferred configuration. Other function are yet to be implemented.

Screenshots that show the changes (if applicable):

loganwyas commented 7 months ago

@stanleyyang2001 What's the progress on this?