Closed swharden closed 4 years ago
I went with an XML format like this
<?xml version="1.0" encoding="utf-8"?>
<ProgramSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Version>1.0</Version>
<audioDeviceIndex>0</audioDeviceIndex>
<window>Cosine</window>
<colormap>Viridis</colormap>
<dialFrequencyIndex>5</dialFrequencyIndex>
<brightness>2</brightness>
<isWsprEnabled>true</isWsprEnabled>
<wsprLogFilePath>asdf</wsprLogFilePath>
<showBands>true</showBands>
<saveGrabs>true</saveGrabs>
<showScaleOnAllGrabs>false</showScaleOnAllGrabs>
<grabFileName>latest.png</grabFileName>
<targetWidth>1000</targetWidth>
<grabSavePxAbove>123</grabSavePxAbove>
<grabSavePxBelow>321</grabSavePxBelow>
<verticalReduction>2</verticalReduction>
<freqDisplayOffset>0</freqDisplayOffset>
<grabMessage>station information not set</grabMessage>
<ftpServerAddress>ftp://ftp.qsl.net</ftpServerAddress>
<ftpRemoteSubfolder>/</ftpRemoteSubfolder>
<ftpUsername>sampleUsername</ftpUsername>
<ftpObfuscatedPassword>c2FUGcmQFzc3tcGxldv</ftpObfuscatedPassword>
<ftpDelaySec>15</ftpDelaySec>
</ProgramSettings>
Settings is a huge value-add. I especially like the RX above/below QRSS values....
done, will be in v1.0.5
add a mechanism to customize additional settings and remember GUI state through program restarts:
Config File
Customizations