not1mm 24.10.8__py3-none-any.whl → 24.10.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- not1mm/__main__.py +94 -11
- not1mm/data/configuration.ui +585 -0
- not1mm/lib/settings.py +53 -0
- not1mm/lib/version.py +1 -1
- not1mm/plugins/cq_ww_cw.py +108 -0
- not1mm/plugins/cq_ww_rtty.py +134 -16
- not1mm/plugins/cq_ww_ssb.py +108 -0
- {not1mm-24.10.8.dist-info → not1mm-24.10.11.dist-info}/METADATA +61 -2
- {not1mm-24.10.8.dist-info → not1mm-24.10.11.dist-info}/RECORD +13 -13
- {not1mm-24.10.8.dist-info → not1mm-24.10.11.dist-info}/LICENSE +0 -0
- {not1mm-24.10.8.dist-info → not1mm-24.10.11.dist-info}/WHEEL +0 -0
- {not1mm-24.10.8.dist-info → not1mm-24.10.11.dist-info}/entry_points.txt +0 -0
- {not1mm-24.10.8.dist-info → not1mm-24.10.11.dist-info}/top_level.txt +0 -0
not1mm/data/configuration.ui
CHANGED
@@ -1620,6 +1620,591 @@
|
|
1620
1620
|
</item>
|
1621
1621
|
</layout>
|
1622
1622
|
</widget>
|
1623
|
+
<widget class="QWidget" name="options_tab">
|
1624
|
+
<attribute name="title">
|
1625
|
+
<string>Options</string>
|
1626
|
+
</attribute>
|
1627
|
+
<layout class="QGridLayout" name="gridLayout_10">
|
1628
|
+
<item row="6" column="2">
|
1629
|
+
<widget class="QComboBox" name="esm_mycall">
|
1630
|
+
<item>
|
1631
|
+
<property name="text">
|
1632
|
+
<string>F1</string>
|
1633
|
+
</property>
|
1634
|
+
</item>
|
1635
|
+
<item>
|
1636
|
+
<property name="text">
|
1637
|
+
<string>F2</string>
|
1638
|
+
</property>
|
1639
|
+
</item>
|
1640
|
+
<item>
|
1641
|
+
<property name="text">
|
1642
|
+
<string>F3</string>
|
1643
|
+
</property>
|
1644
|
+
</item>
|
1645
|
+
<item>
|
1646
|
+
<property name="text">
|
1647
|
+
<string>F4</string>
|
1648
|
+
</property>
|
1649
|
+
</item>
|
1650
|
+
<item>
|
1651
|
+
<property name="text">
|
1652
|
+
<string>F5</string>
|
1653
|
+
</property>
|
1654
|
+
</item>
|
1655
|
+
<item>
|
1656
|
+
<property name="text">
|
1657
|
+
<string>F6</string>
|
1658
|
+
</property>
|
1659
|
+
</item>
|
1660
|
+
<item>
|
1661
|
+
<property name="text">
|
1662
|
+
<string>F7</string>
|
1663
|
+
</property>
|
1664
|
+
</item>
|
1665
|
+
<item>
|
1666
|
+
<property name="text">
|
1667
|
+
<string>F8</string>
|
1668
|
+
</property>
|
1669
|
+
</item>
|
1670
|
+
<item>
|
1671
|
+
<property name="text">
|
1672
|
+
<string>F9</string>
|
1673
|
+
</property>
|
1674
|
+
</item>
|
1675
|
+
<item>
|
1676
|
+
<property name="text">
|
1677
|
+
<string>F10</string>
|
1678
|
+
</property>
|
1679
|
+
</item>
|
1680
|
+
<item>
|
1681
|
+
<property name="text">
|
1682
|
+
<string>F11</string>
|
1683
|
+
</property>
|
1684
|
+
</item>
|
1685
|
+
<item>
|
1686
|
+
<property name="text">
|
1687
|
+
<string>F12</string>
|
1688
|
+
</property>
|
1689
|
+
</item>
|
1690
|
+
<item>
|
1691
|
+
<property name="text">
|
1692
|
+
<string>DISABLED</string>
|
1693
|
+
</property>
|
1694
|
+
</item>
|
1695
|
+
</widget>
|
1696
|
+
</item>
|
1697
|
+
<item row="0" column="1">
|
1698
|
+
<widget class="QCheckBox" name="use_esm">
|
1699
|
+
<property name="text">
|
1700
|
+
<string>Enable ESM</string>
|
1701
|
+
</property>
|
1702
|
+
</widget>
|
1703
|
+
</item>
|
1704
|
+
<item row="4" column="1">
|
1705
|
+
<widget class="QLabel" name="label_24">
|
1706
|
+
<property name="text">
|
1707
|
+
<string>AGN</string>
|
1708
|
+
</property>
|
1709
|
+
</widget>
|
1710
|
+
</item>
|
1711
|
+
<item row="3" column="2">
|
1712
|
+
<widget class="QComboBox" name="esm_qrz">
|
1713
|
+
<item>
|
1714
|
+
<property name="text">
|
1715
|
+
<string>F1</string>
|
1716
|
+
</property>
|
1717
|
+
</item>
|
1718
|
+
<item>
|
1719
|
+
<property name="text">
|
1720
|
+
<string>F2</string>
|
1721
|
+
</property>
|
1722
|
+
</item>
|
1723
|
+
<item>
|
1724
|
+
<property name="text">
|
1725
|
+
<string>F3</string>
|
1726
|
+
</property>
|
1727
|
+
</item>
|
1728
|
+
<item>
|
1729
|
+
<property name="text">
|
1730
|
+
<string>F4</string>
|
1731
|
+
</property>
|
1732
|
+
</item>
|
1733
|
+
<item>
|
1734
|
+
<property name="text">
|
1735
|
+
<string>F5</string>
|
1736
|
+
</property>
|
1737
|
+
</item>
|
1738
|
+
<item>
|
1739
|
+
<property name="text">
|
1740
|
+
<string>F6</string>
|
1741
|
+
</property>
|
1742
|
+
</item>
|
1743
|
+
<item>
|
1744
|
+
<property name="text">
|
1745
|
+
<string>F7</string>
|
1746
|
+
</property>
|
1747
|
+
</item>
|
1748
|
+
<item>
|
1749
|
+
<property name="text">
|
1750
|
+
<string>F8</string>
|
1751
|
+
</property>
|
1752
|
+
</item>
|
1753
|
+
<item>
|
1754
|
+
<property name="text">
|
1755
|
+
<string>F9</string>
|
1756
|
+
</property>
|
1757
|
+
</item>
|
1758
|
+
<item>
|
1759
|
+
<property name="text">
|
1760
|
+
<string>F10</string>
|
1761
|
+
</property>
|
1762
|
+
</item>
|
1763
|
+
<item>
|
1764
|
+
<property name="text">
|
1765
|
+
<string>F11</string>
|
1766
|
+
</property>
|
1767
|
+
</item>
|
1768
|
+
<item>
|
1769
|
+
<property name="text">
|
1770
|
+
<string>F12</string>
|
1771
|
+
</property>
|
1772
|
+
</item>
|
1773
|
+
<item>
|
1774
|
+
<property name="text">
|
1775
|
+
<string>DISABLED</string>
|
1776
|
+
</property>
|
1777
|
+
</item>
|
1778
|
+
</widget>
|
1779
|
+
</item>
|
1780
|
+
<item row="0" column="0">
|
1781
|
+
<spacer name="horizontalSpacer_14">
|
1782
|
+
<property name="orientation">
|
1783
|
+
<enum>Qt::Horizontal</enum>
|
1784
|
+
</property>
|
1785
|
+
<property name="sizeHint" stdset="0">
|
1786
|
+
<size>
|
1787
|
+
<width>40</width>
|
1788
|
+
<height>20</height>
|
1789
|
+
</size>
|
1790
|
+
</property>
|
1791
|
+
</spacer>
|
1792
|
+
</item>
|
1793
|
+
<item row="5" column="2">
|
1794
|
+
<widget class="QComboBox" name="esm_hiscall">
|
1795
|
+
<item>
|
1796
|
+
<property name="text">
|
1797
|
+
<string>F1</string>
|
1798
|
+
</property>
|
1799
|
+
</item>
|
1800
|
+
<item>
|
1801
|
+
<property name="text">
|
1802
|
+
<string>F2</string>
|
1803
|
+
</property>
|
1804
|
+
</item>
|
1805
|
+
<item>
|
1806
|
+
<property name="text">
|
1807
|
+
<string>F3</string>
|
1808
|
+
</property>
|
1809
|
+
</item>
|
1810
|
+
<item>
|
1811
|
+
<property name="text">
|
1812
|
+
<string>F4</string>
|
1813
|
+
</property>
|
1814
|
+
</item>
|
1815
|
+
<item>
|
1816
|
+
<property name="text">
|
1817
|
+
<string>F5</string>
|
1818
|
+
</property>
|
1819
|
+
</item>
|
1820
|
+
<item>
|
1821
|
+
<property name="text">
|
1822
|
+
<string>F6</string>
|
1823
|
+
</property>
|
1824
|
+
</item>
|
1825
|
+
<item>
|
1826
|
+
<property name="text">
|
1827
|
+
<string>F7</string>
|
1828
|
+
</property>
|
1829
|
+
</item>
|
1830
|
+
<item>
|
1831
|
+
<property name="text">
|
1832
|
+
<string>F8</string>
|
1833
|
+
</property>
|
1834
|
+
</item>
|
1835
|
+
<item>
|
1836
|
+
<property name="text">
|
1837
|
+
<string>F9</string>
|
1838
|
+
</property>
|
1839
|
+
</item>
|
1840
|
+
<item>
|
1841
|
+
<property name="text">
|
1842
|
+
<string>F10</string>
|
1843
|
+
</property>
|
1844
|
+
</item>
|
1845
|
+
<item>
|
1846
|
+
<property name="text">
|
1847
|
+
<string>F11</string>
|
1848
|
+
</property>
|
1849
|
+
</item>
|
1850
|
+
<item>
|
1851
|
+
<property name="text">
|
1852
|
+
<string>F12</string>
|
1853
|
+
</property>
|
1854
|
+
</item>
|
1855
|
+
<item>
|
1856
|
+
<property name="text">
|
1857
|
+
<string>DISABLED</string>
|
1858
|
+
</property>
|
1859
|
+
</item>
|
1860
|
+
</widget>
|
1861
|
+
</item>
|
1862
|
+
<item row="3" column="1">
|
1863
|
+
<widget class="QLabel" name="label_23">
|
1864
|
+
<property name="text">
|
1865
|
+
<string>QRZ</string>
|
1866
|
+
</property>
|
1867
|
+
</widget>
|
1868
|
+
</item>
|
1869
|
+
<item row="4" column="2">
|
1870
|
+
<widget class="QComboBox" name="esm_agn">
|
1871
|
+
<item>
|
1872
|
+
<property name="text">
|
1873
|
+
<string>F1</string>
|
1874
|
+
</property>
|
1875
|
+
</item>
|
1876
|
+
<item>
|
1877
|
+
<property name="text">
|
1878
|
+
<string>F2</string>
|
1879
|
+
</property>
|
1880
|
+
</item>
|
1881
|
+
<item>
|
1882
|
+
<property name="text">
|
1883
|
+
<string>F3</string>
|
1884
|
+
</property>
|
1885
|
+
</item>
|
1886
|
+
<item>
|
1887
|
+
<property name="text">
|
1888
|
+
<string>F4</string>
|
1889
|
+
</property>
|
1890
|
+
</item>
|
1891
|
+
<item>
|
1892
|
+
<property name="text">
|
1893
|
+
<string>F5</string>
|
1894
|
+
</property>
|
1895
|
+
</item>
|
1896
|
+
<item>
|
1897
|
+
<property name="text">
|
1898
|
+
<string>F6</string>
|
1899
|
+
</property>
|
1900
|
+
</item>
|
1901
|
+
<item>
|
1902
|
+
<property name="text">
|
1903
|
+
<string>F7</string>
|
1904
|
+
</property>
|
1905
|
+
</item>
|
1906
|
+
<item>
|
1907
|
+
<property name="text">
|
1908
|
+
<string>F8</string>
|
1909
|
+
</property>
|
1910
|
+
</item>
|
1911
|
+
<item>
|
1912
|
+
<property name="text">
|
1913
|
+
<string>F9</string>
|
1914
|
+
</property>
|
1915
|
+
</item>
|
1916
|
+
<item>
|
1917
|
+
<property name="text">
|
1918
|
+
<string>F10</string>
|
1919
|
+
</property>
|
1920
|
+
</item>
|
1921
|
+
<item>
|
1922
|
+
<property name="text">
|
1923
|
+
<string>F11</string>
|
1924
|
+
</property>
|
1925
|
+
</item>
|
1926
|
+
<item>
|
1927
|
+
<property name="text">
|
1928
|
+
<string>F12</string>
|
1929
|
+
</property>
|
1930
|
+
</item>
|
1931
|
+
<item>
|
1932
|
+
<property name="text">
|
1933
|
+
<string>DISABLED</string>
|
1934
|
+
</property>
|
1935
|
+
</item>
|
1936
|
+
</widget>
|
1937
|
+
</item>
|
1938
|
+
<item row="0" column="2">
|
1939
|
+
<spacer name="horizontalSpacer_12">
|
1940
|
+
<property name="orientation">
|
1941
|
+
<enum>Qt::Horizontal</enum>
|
1942
|
+
</property>
|
1943
|
+
<property name="sizeHint" stdset="0">
|
1944
|
+
<size>
|
1945
|
+
<width>40</width>
|
1946
|
+
<height>20</height>
|
1947
|
+
</size>
|
1948
|
+
</property>
|
1949
|
+
</spacer>
|
1950
|
+
</item>
|
1951
|
+
<item row="2" column="1">
|
1952
|
+
<widget class="QLabel" name="label_22">
|
1953
|
+
<property name="text">
|
1954
|
+
<string>Exchange</string>
|
1955
|
+
</property>
|
1956
|
+
</widget>
|
1957
|
+
</item>
|
1958
|
+
<item row="5" column="1">
|
1959
|
+
<widget class="QLabel" name="label_25">
|
1960
|
+
<property name="text">
|
1961
|
+
<string>His Call</string>
|
1962
|
+
</property>
|
1963
|
+
</widget>
|
1964
|
+
</item>
|
1965
|
+
<item row="1" column="2">
|
1966
|
+
<widget class="QComboBox" name="esm_cq">
|
1967
|
+
<item>
|
1968
|
+
<property name="text">
|
1969
|
+
<string>F1</string>
|
1970
|
+
</property>
|
1971
|
+
</item>
|
1972
|
+
<item>
|
1973
|
+
<property name="text">
|
1974
|
+
<string>F2</string>
|
1975
|
+
</property>
|
1976
|
+
</item>
|
1977
|
+
<item>
|
1978
|
+
<property name="text">
|
1979
|
+
<string>F3</string>
|
1980
|
+
</property>
|
1981
|
+
</item>
|
1982
|
+
<item>
|
1983
|
+
<property name="text">
|
1984
|
+
<string>F4</string>
|
1985
|
+
</property>
|
1986
|
+
</item>
|
1987
|
+
<item>
|
1988
|
+
<property name="text">
|
1989
|
+
<string>F5</string>
|
1990
|
+
</property>
|
1991
|
+
</item>
|
1992
|
+
<item>
|
1993
|
+
<property name="text">
|
1994
|
+
<string>F6</string>
|
1995
|
+
</property>
|
1996
|
+
</item>
|
1997
|
+
<item>
|
1998
|
+
<property name="text">
|
1999
|
+
<string>F7</string>
|
2000
|
+
</property>
|
2001
|
+
</item>
|
2002
|
+
<item>
|
2003
|
+
<property name="text">
|
2004
|
+
<string>F8</string>
|
2005
|
+
</property>
|
2006
|
+
</item>
|
2007
|
+
<item>
|
2008
|
+
<property name="text">
|
2009
|
+
<string>F9</string>
|
2010
|
+
</property>
|
2011
|
+
</item>
|
2012
|
+
<item>
|
2013
|
+
<property name="text">
|
2014
|
+
<string>F10</string>
|
2015
|
+
</property>
|
2016
|
+
</item>
|
2017
|
+
<item>
|
2018
|
+
<property name="text">
|
2019
|
+
<string>F11</string>
|
2020
|
+
</property>
|
2021
|
+
</item>
|
2022
|
+
<item>
|
2023
|
+
<property name="text">
|
2024
|
+
<string>F12</string>
|
2025
|
+
</property>
|
2026
|
+
</item>
|
2027
|
+
<item>
|
2028
|
+
<property name="text">
|
2029
|
+
<string>DISABLED</string>
|
2030
|
+
</property>
|
2031
|
+
</item>
|
2032
|
+
</widget>
|
2033
|
+
</item>
|
2034
|
+
<item row="1" column="1">
|
2035
|
+
<widget class="QLabel" name="label_2l">
|
2036
|
+
<property name="text">
|
2037
|
+
<string>CQ</string>
|
2038
|
+
</property>
|
2039
|
+
</widget>
|
2040
|
+
</item>
|
2041
|
+
<item row="1" column="3">
|
2042
|
+
<spacer name="horizontalSpacer_13">
|
2043
|
+
<property name="orientation">
|
2044
|
+
<enum>Qt::Horizontal</enum>
|
2045
|
+
</property>
|
2046
|
+
<property name="sizeHint" stdset="0">
|
2047
|
+
<size>
|
2048
|
+
<width>40</width>
|
2049
|
+
<height>20</height>
|
2050
|
+
</size>
|
2051
|
+
</property>
|
2052
|
+
</spacer>
|
2053
|
+
</item>
|
2054
|
+
<item row="2" column="2">
|
2055
|
+
<widget class="QComboBox" name="esm_exch">
|
2056
|
+
<item>
|
2057
|
+
<property name="text">
|
2058
|
+
<string>F1</string>
|
2059
|
+
</property>
|
2060
|
+
</item>
|
2061
|
+
<item>
|
2062
|
+
<property name="text">
|
2063
|
+
<string>F2</string>
|
2064
|
+
</property>
|
2065
|
+
</item>
|
2066
|
+
<item>
|
2067
|
+
<property name="text">
|
2068
|
+
<string>F3</string>
|
2069
|
+
</property>
|
2070
|
+
</item>
|
2071
|
+
<item>
|
2072
|
+
<property name="text">
|
2073
|
+
<string>F4</string>
|
2074
|
+
</property>
|
2075
|
+
</item>
|
2076
|
+
<item>
|
2077
|
+
<property name="text">
|
2078
|
+
<string>F5</string>
|
2079
|
+
</property>
|
2080
|
+
</item>
|
2081
|
+
<item>
|
2082
|
+
<property name="text">
|
2083
|
+
<string>F6</string>
|
2084
|
+
</property>
|
2085
|
+
</item>
|
2086
|
+
<item>
|
2087
|
+
<property name="text">
|
2088
|
+
<string>F7</string>
|
2089
|
+
</property>
|
2090
|
+
</item>
|
2091
|
+
<item>
|
2092
|
+
<property name="text">
|
2093
|
+
<string>F8</string>
|
2094
|
+
</property>
|
2095
|
+
</item>
|
2096
|
+
<item>
|
2097
|
+
<property name="text">
|
2098
|
+
<string>F9</string>
|
2099
|
+
</property>
|
2100
|
+
</item>
|
2101
|
+
<item>
|
2102
|
+
<property name="text">
|
2103
|
+
<string>F10</string>
|
2104
|
+
</property>
|
2105
|
+
</item>
|
2106
|
+
<item>
|
2107
|
+
<property name="text">
|
2108
|
+
<string>F11</string>
|
2109
|
+
</property>
|
2110
|
+
</item>
|
2111
|
+
<item>
|
2112
|
+
<property name="text">
|
2113
|
+
<string>F12</string>
|
2114
|
+
</property>
|
2115
|
+
</item>
|
2116
|
+
<item>
|
2117
|
+
<property name="text">
|
2118
|
+
<string>DISABLED</string>
|
2119
|
+
</property>
|
2120
|
+
</item>
|
2121
|
+
</widget>
|
2122
|
+
</item>
|
2123
|
+
<item row="6" column="1">
|
2124
|
+
<widget class="QLabel" name="label_26">
|
2125
|
+
<property name="text">
|
2126
|
+
<string>My Call</string>
|
2127
|
+
</property>
|
2128
|
+
</widget>
|
2129
|
+
</item>
|
2130
|
+
<item row="7" column="1">
|
2131
|
+
<widget class="QLabel" name="label_15">
|
2132
|
+
<property name="text">
|
2133
|
+
<string>QSO B4</string>
|
2134
|
+
</property>
|
2135
|
+
</widget>
|
2136
|
+
</item>
|
2137
|
+
<item row="7" column="2">
|
2138
|
+
<widget class="QComboBox" name="esm_qsob4">
|
2139
|
+
<item>
|
2140
|
+
<property name="text">
|
2141
|
+
<string>F1</string>
|
2142
|
+
</property>
|
2143
|
+
</item>
|
2144
|
+
<item>
|
2145
|
+
<property name="text">
|
2146
|
+
<string>F2</string>
|
2147
|
+
</property>
|
2148
|
+
</item>
|
2149
|
+
<item>
|
2150
|
+
<property name="text">
|
2151
|
+
<string>F3</string>
|
2152
|
+
</property>
|
2153
|
+
</item>
|
2154
|
+
<item>
|
2155
|
+
<property name="text">
|
2156
|
+
<string>F4</string>
|
2157
|
+
</property>
|
2158
|
+
</item>
|
2159
|
+
<item>
|
2160
|
+
<property name="text">
|
2161
|
+
<string>F5</string>
|
2162
|
+
</property>
|
2163
|
+
</item>
|
2164
|
+
<item>
|
2165
|
+
<property name="text">
|
2166
|
+
<string>F6</string>
|
2167
|
+
</property>
|
2168
|
+
</item>
|
2169
|
+
<item>
|
2170
|
+
<property name="text">
|
2171
|
+
<string>F7</string>
|
2172
|
+
</property>
|
2173
|
+
</item>
|
2174
|
+
<item>
|
2175
|
+
<property name="text">
|
2176
|
+
<string>F8</string>
|
2177
|
+
</property>
|
2178
|
+
</item>
|
2179
|
+
<item>
|
2180
|
+
<property name="text">
|
2181
|
+
<string>F9</string>
|
2182
|
+
</property>
|
2183
|
+
</item>
|
2184
|
+
<item>
|
2185
|
+
<property name="text">
|
2186
|
+
<string>F10</string>
|
2187
|
+
</property>
|
2188
|
+
</item>
|
2189
|
+
<item>
|
2190
|
+
<property name="text">
|
2191
|
+
<string>F11</string>
|
2192
|
+
</property>
|
2193
|
+
</item>
|
2194
|
+
<item>
|
2195
|
+
<property name="text">
|
2196
|
+
<string>F12</string>
|
2197
|
+
</property>
|
2198
|
+
</item>
|
2199
|
+
<item>
|
2200
|
+
<property name="text">
|
2201
|
+
<string>DISABLED</string>
|
2202
|
+
</property>
|
2203
|
+
</item>
|
2204
|
+
</widget>
|
2205
|
+
</item>
|
2206
|
+
</layout>
|
2207
|
+
</widget>
|
1623
2208
|
</widget>
|
1624
2209
|
</item>
|
1625
2210
|
</layout>
|
not1mm/lib/settings.py
CHANGED
@@ -23,6 +23,12 @@ class Settings(QtWidgets.QDialog):
|
|
23
23
|
self.usecwdaemon_radioButton.clicked.connect(self.set_cwdaemon_port_hint)
|
24
24
|
self.usepywinkeyer_radioButton.clicked.connect(self.set_winkeyer_port_hint)
|
25
25
|
self.usecwviacat_radioButton.clicked.connect(self.set_catforcw_port_hint)
|
26
|
+
self.cwport_field.setToolTip(
|
27
|
+
"Usually 6789 for cwdaemon and 8000 for pywinkeyer."
|
28
|
+
)
|
29
|
+
self.rigcontrolport_field.setToolTip(
|
30
|
+
"Usually 4532 for rigctld and 12345 for flrig."
|
31
|
+
)
|
26
32
|
self.preference = pref
|
27
33
|
if sd:
|
28
34
|
self.devices = sd.query_devices()
|
@@ -32,6 +38,44 @@ class Settings(QtWidgets.QDialog):
|
|
32
38
|
|
33
39
|
def setup(self):
|
34
40
|
"""setup dialog"""
|
41
|
+
|
42
|
+
self.use_esm.setChecked(bool(self.preference.get("use_esm")))
|
43
|
+
|
44
|
+
value = self.preference.get("esm_agn", "DISABLED")
|
45
|
+
index = self.esm_agn.findText(value)
|
46
|
+
if index != -1:
|
47
|
+
self.esm_agn.setCurrentIndex(index)
|
48
|
+
|
49
|
+
value = self.preference.get("esm_cq", "DISABLED")
|
50
|
+
index = self.esm_cq.findText(value)
|
51
|
+
if index != -1:
|
52
|
+
self.esm_cq.setCurrentIndex(index)
|
53
|
+
|
54
|
+
value = self.preference.get("esm_exch", "DISABLED")
|
55
|
+
index = self.esm_exch.findText(value)
|
56
|
+
if index != -1:
|
57
|
+
self.esm_exch.setCurrentIndex(index)
|
58
|
+
|
59
|
+
value = self.preference.get("esm_hiscall", "DISABLED")
|
60
|
+
index = self.esm_hiscall.findText(value)
|
61
|
+
if index != -1:
|
62
|
+
self.esm_hiscall.setCurrentIndex(index)
|
63
|
+
|
64
|
+
value = self.preference.get("esm_mycall", "DISABLED")
|
65
|
+
index = self.esm_mycall.findText(value)
|
66
|
+
if index != -1:
|
67
|
+
self.esm_mycall.setCurrentIndex(index)
|
68
|
+
|
69
|
+
value = self.preference.get("esm_qrz", "DISABLED")
|
70
|
+
index = self.esm_qrz.findText(value)
|
71
|
+
if index != -1:
|
72
|
+
self.esm_qrz.setCurrentIndex(index)
|
73
|
+
|
74
|
+
value = self.preference.get("esm_qsob4", "DISABLED")
|
75
|
+
index = self.esm_qsob4.findText(value)
|
76
|
+
if index != -1:
|
77
|
+
self.esm_qsob4.setCurrentIndex(index)
|
78
|
+
|
35
79
|
for device in self.devices:
|
36
80
|
if device.get("max_output_channels"):
|
37
81
|
self.sounddevice.addItem(device.get("name"))
|
@@ -144,6 +188,15 @@ class Settings(QtWidgets.QDialog):
|
|
144
188
|
"""
|
145
189
|
Write preferences to json file.
|
146
190
|
"""
|
191
|
+
self.preference["use_esm"] = self.use_esm.isChecked()
|
192
|
+
self.preference["esm_cq"] = self.esm_cq.currentText()
|
193
|
+
self.preference["esm_agn"] = self.esm_agn.currentText()
|
194
|
+
self.preference["esm_exch"] = self.esm_exch.currentText()
|
195
|
+
self.preference["esm_hiscall"] = self.esm_hiscall.currentText()
|
196
|
+
self.preference["esm_mycall"] = self.esm_mycall.currentText()
|
197
|
+
self.preference["esm_qrz"] = self.esm_qrz.currentText()
|
198
|
+
self.preference["esm_qsob4"] = self.esm_qsob4.currentText()
|
199
|
+
|
147
200
|
self.preference["sounddevice"] = self.sounddevice.currentText()
|
148
201
|
self.preference["useqrz"] = self.useqrz_radioButton.isChecked()
|
149
202
|
# self.preference["usehamdb"] = self.usehamdb_radioButton.isChecked()
|
not1mm/lib/version.py
CHANGED