not1mm 24.10.6__tar.gz → 24.10.8__tar.gz

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.
Files changed (171) hide show
  1. {not1mm-24.10.6 → not1mm-24.10.8}/PKG-INFO +2 -1
  2. {not1mm-24.10.6 → not1mm-24.10.8}/README.md +1 -0
  3. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/__main__.py +9 -9
  4. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/settings.py +36 -5
  5. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/version.py +1 -1
  6. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm.egg-info/PKG-INFO +2 -1
  7. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm.egg-info/top_level.txt +0 -1
  8. {not1mm-24.10.6 → not1mm-24.10.8}/pyproject.toml +2 -2
  9. {not1mm-24.10.6 → not1mm-24.10.8}/LICENSE +0 -0
  10. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/__init__.py +0 -0
  11. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/bandmap.py +0 -0
  12. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/checkwindow.py +0 -0
  13. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/JetBrainsMono-ExtraLight.ttf +0 -0
  14. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/MASTER.SCP +0 -0
  15. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/about.ui +0 -0
  16. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/alpha bravo charlie delta.txt +0 -0
  17. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/bandmap.ui +0 -0
  18. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/check.png +0 -0
  19. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/checkwindow.ui +0 -0
  20. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/configuration.ui +0 -0
  21. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/contests.sql +0 -0
  22. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/cty.json +0 -0
  23. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/cwmacros.txt +0 -0
  24. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/donors.html +0 -0
  25. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/editcontact.ui +0 -0
  26. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/editmacro.ui +0 -0
  27. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/greendot.png +0 -0
  28. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/k6gte-not1mm.desktop +0 -0
  29. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/k6gte.not1mm-128.png +0 -0
  30. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/k6gte.not1mm-32.png +0 -0
  31. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/k6gte.not1mm-64.png +0 -0
  32. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/logwindow.ui +0 -0
  33. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/logwindowx.ui +0 -0
  34. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/main.ui +0 -0
  35. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/new_contest.ui +0 -0
  36. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/not1mm.html +0 -0
  37. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/opon.ui +0 -0
  38. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/0.wav +0 -0
  39. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/1.wav +0 -0
  40. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/2.wav +0 -0
  41. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/3.wav +0 -0
  42. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/4.wav +0 -0
  43. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/5.wav +0 -0
  44. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/6.wav +0 -0
  45. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/7.wav +0 -0
  46. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/73.wav +0 -0
  47. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/8.wav +0 -0
  48. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/9.wav +0 -0
  49. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/a.wav +0 -0
  50. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/again.wav +0 -0
  51. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/b.wav +0 -0
  52. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/c.wav +0 -0
  53. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/contest.wav +0 -0
  54. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/cq.wav +0 -0
  55. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/d.wav +0 -0
  56. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/e.wav +0 -0
  57. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/f.wav +0 -0
  58. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/g.wav +0 -0
  59. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/h.wav +0 -0
  60. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/i.wav +0 -0
  61. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/j.wav +0 -0
  62. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/k.wav +0 -0
  63. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/k6gte.wav +0 -0
  64. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/l.wav +0 -0
  65. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/m.wav +0 -0
  66. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/mynumber.wav +0 -0
  67. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/n.wav +0 -0
  68. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/nil.wav +0 -0
  69. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/o.wav +0 -0
  70. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/p.wav +0 -0
  71. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/q.wav +0 -0
  72. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/r.wav +0 -0
  73. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/roger.wav +0 -0
  74. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/s.wav +0 -0
  75. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/space.wav +0 -0
  76. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/t.wav +0 -0
  77. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/thankyou.wav +0 -0
  78. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/thankyouqrz.wav +0 -0
  79. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/u.wav +0 -0
  80. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/v.wav +0 -0
  81. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/w.wav +0 -0
  82. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/x.wav +0 -0
  83. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/y.wav +0 -0
  84. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/yourcall.wav +0 -0
  85. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/phonetics/z.wav +0 -0
  86. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/pickcontest.ui +0 -0
  87. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/radio_green.png +0 -0
  88. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/radio_grey.png +0 -0
  89. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/radio_red.png +0 -0
  90. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/reddot.png +0 -0
  91. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/rttymacros.txt +0 -0
  92. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/settings.ui +0 -0
  93. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/splash.png +0 -0
  94. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/ssbmacros.txt +0 -0
  95. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/data/vfo.ui +0 -0
  96. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/fsutils.py +0 -0
  97. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/__init__.py +0 -0
  98. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/about.py +0 -0
  99. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/cat_interface.py +0 -0
  100. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/cwinterface.py +0 -0
  101. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/database.py +0 -0
  102. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/edit_contact.py +0 -0
  103. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/edit_macro.py +0 -0
  104. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/edit_opon.py +0 -0
  105. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/edit_station.py +0 -0
  106. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/fldigi_sendstring.py +0 -0
  107. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/fldigi_watcher.py +0 -0
  108. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/ft8_watcher.py +0 -0
  109. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/ham_utility.py +0 -0
  110. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/lookup.py +0 -0
  111. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/multicast.py +0 -0
  112. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/n1mm.py +0 -0
  113. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/new_contest.py +0 -0
  114. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/playsound.py +0 -0
  115. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/plugin_common.py +0 -0
  116. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/select_contest.py +0 -0
  117. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/super_check_partial.py +0 -0
  118. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lib/versiontest.py +0 -0
  119. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/logwindow.py +0 -0
  120. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/lookupservice.py +0 -0
  121. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/10_10_fall_cw.py +0 -0
  122. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/10_10_spring_cw.py +0 -0
  123. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/10_10_summer_phone.py +0 -0
  124. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/10_10_winter_phone.py +0 -0
  125. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/__init__.py +0 -0
  126. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_10m.py +0 -0
  127. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_dx_cw.py +0 -0
  128. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_dx_ssb.py +0 -0
  129. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_field_day.py +0 -0
  130. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_rtty_ru.py +0 -0
  131. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_ss_cw.py +0 -0
  132. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_ss_phone.py +0 -0
  133. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_vhf_jan.py +0 -0
  134. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_vhf_jun.py +0 -0
  135. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/arrl_vhf_sep.py +0 -0
  136. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/canada_day.py +0 -0
  137. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_160_cw.py +0 -0
  138. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_160_ssb.py +0 -0
  139. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_wpx_cw.py +0 -0
  140. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_wpx_rtty.py +0 -0
  141. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_wpx_ssb.py +0 -0
  142. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_ww_cw.py +0 -0
  143. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_ww_rtty.py +0 -0
  144. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cq_ww_ssb.py +0 -0
  145. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/cwt.py +0 -0
  146. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/general_logging.py +0 -0
  147. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/helvetia.py +0 -0
  148. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/iaru_fieldday_r1_cw.py +0 -0
  149. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/iaru_fieldday_r1_ssb.py +0 -0
  150. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/iaru_hf.py +0 -0
  151. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/icwc_mst.py +0 -0
  152. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/jidx_cw.py +0 -0
  153. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/jidx_ph.py +0 -0
  154. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/k1usn_sst.py +0 -0
  155. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/naqp_cw.py +0 -0
  156. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/naqp_ssb.py +0 -0
  157. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/phone_weekly_test.py +0 -0
  158. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/ref_cw.py +0 -0
  159. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/stew_perry_topband.py +0 -0
  160. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/weekly_rtty.py +0 -0
  161. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/plugins/winter_field_day.py +0 -0
  162. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/radio.py +0 -0
  163. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/test.py +0 -0
  164. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/vfo.py +0 -0
  165. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm/voice_keying.py +0 -0
  166. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm.egg-info/SOURCES.txt +0 -0
  167. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm.egg-info/dependency_links.txt +0 -0
  168. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm.egg-info/entry_points.txt +0 -0
  169. {not1mm-24.10.6 → not1mm-24.10.8}/not1mm.egg-info/requires.txt +0 -0
  170. {not1mm-24.10.6 → not1mm-24.10.8}/setup.cfg +0 -0
  171. {not1mm-24.10.6 → not1mm-24.10.8}/test/contests.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.10.6
3
+ Version: 24.10.8
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/mbridak/not1mm
@@ -219,6 +219,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
219
219
 
220
220
  ## Recent Changes
221
221
 
222
+ - [24-10-8] Fix crash on Tune to spot. Change placeholder text for the CW port for those unable to read documentation.
222
223
  - [24-10-6] Removed 60, 30, 17 and 12M from the default list of bands.
223
224
  - [24-10-5-1] Store the bandmap spots age timer in the preferences.
224
225
  - [24-10-5] Force reselction of contest after different DB opened.
@@ -188,6 +188,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
188
188
 
189
189
  ## Recent Changes
190
190
 
191
+ - [24-10-8] Fix crash on Tune to spot. Change placeholder text for the CW port for those unable to read documentation.
191
192
  - [24-10-6] Removed 60, 30, 17 and 12M from the default list of bands.
192
193
  - [24-10-5-1] Store the bandmap spots age timer in the preferences.
193
194
  - [24-10-5] Force reselction of contest after different DB opened.
@@ -2609,13 +2609,16 @@ class MainWindow(QtWidgets.QMainWindow):
2609
2609
  self.rig_control.poll_callback.connect(self.poll_radio)
2610
2610
  self.radio_thread.start()
2611
2611
 
2612
- if self.pref.get("cwtype", 0) == 0:
2613
- self.cw = None
2614
- else:
2612
+ self.cw = None
2613
+ if (
2614
+ self.pref.get("cwport")
2615
+ and self.pref.get("cwip")
2616
+ and self.pref.get("cwtype")
2617
+ ):
2615
2618
  self.cw = CW(
2616
2619
  int(self.pref.get("cwtype")),
2617
2620
  self.pref.get("cwip"),
2618
- int(self.pref.get("cwport", 6789)),
2621
+ int(self.pref.get("cwport")),
2619
2622
  )
2620
2623
  self.cw.speed = 20
2621
2624
  if self.cw.servertype == 2:
@@ -2646,13 +2649,9 @@ class MainWindow(QtWidgets.QMainWindow):
2646
2649
  self.pref["bands"] = [
2647
2650
  "160",
2648
2651
  "80",
2649
- "60",
2650
2652
  "40",
2651
- "30",
2652
2653
  "20",
2653
- "17",
2654
2654
  "15",
2655
- "12",
2656
2655
  "10",
2657
2656
  ]
2658
2657
 
@@ -2711,7 +2710,8 @@ class MainWindow(QtWidgets.QMainWindow):
2711
2710
  self.callsign_changed()
2712
2711
  self.callsign.setFocus()
2713
2712
  self.callsign.activateWindow()
2714
- window.raise_()
2713
+ # This broke somehow.
2714
+ # window.raise_()
2715
2715
  continue
2716
2716
 
2717
2717
  if (
@@ -20,6 +20,9 @@ class Settings(QtWidgets.QDialog):
20
20
  self.logger = logging.getLogger("settings")
21
21
  uic.loadUi(app_data_path / "configuration.ui", self)
22
22
  self.buttonBox.accepted.connect(self.save_changes)
23
+ self.usecwdaemon_radioButton.clicked.connect(self.set_cwdaemon_port_hint)
24
+ self.usepywinkeyer_radioButton.clicked.connect(self.set_winkeyer_port_hint)
25
+ self.usecwviacat_radioButton.clicked.connect(self.set_catforcw_port_hint)
23
26
  self.preference = pref
24
27
  if sd:
25
28
  self.devices = sd.query_devices()
@@ -37,7 +40,6 @@ class Settings(QtWidgets.QDialog):
37
40
  if index != -1:
38
41
  self.sounddevice.setCurrentIndex(index)
39
42
  self.useqrz_radioButton.setChecked(bool(self.preference.get("useqrz")))
40
- # self.usehamdb_radioButton.setChecked(bool(self.preference.get("usehamdb")))
41
43
  self.usehamqth_radioButton.setChecked(bool(self.preference.get("usehamqth")))
42
44
  self.lookup_user_name_field.setText(
43
45
  str(self.preference.get("lookupusername", ""))
@@ -51,7 +53,10 @@ class Settings(QtWidgets.QDialog):
51
53
  self.useflrig_radioButton.setChecked(bool(self.preference.get("useflrig")))
52
54
 
53
55
  self.cwip_field.setText(str(self.preference.get("cwip", "")))
54
- self.cwport_field.setText(str(self.preference.get("cwport", "")))
56
+ if self.preference.get("cwport", ""):
57
+ self.cwport_field.setText(str(self.preference.get("cwport", "")))
58
+ else:
59
+ self.cwport_field.setText("")
55
60
  self.usecwdaemon_radioButton.setChecked(
56
61
  bool(self.preference.get("cwtype") == 1)
57
62
  )
@@ -61,6 +66,13 @@ class Settings(QtWidgets.QDialog):
61
66
  self.usecwviacat_radioButton.setChecked(
62
67
  bool(self.preference.get("cwtype") == 3)
63
68
  )
69
+ if self.preference.get("cwtype") == 1:
70
+ self.set_cwdaemon_port_hint()
71
+ elif self.preference.get("cwtype") == 2:
72
+ self.set_winkeyer_port_hint()
73
+ elif self.preference.get("cwtype") == 3:
74
+ self.set_catforcw_port_hint()
75
+
64
76
  self.connect_to_server.setChecked(bool(self.preference.get("useserver")))
65
77
  self.multicast_group.setText(str(self.preference.get("multicast_group", "")))
66
78
  self.multicast_port.setText(str(self.preference.get("multicast_port", "")))
@@ -73,13 +85,14 @@ class Settings(QtWidgets.QDialog):
73
85
  str(self.preference.get("n1mm_station_name", ""))
74
86
  )
75
87
  self.n1mm_operator.setText(str(self.preference.get("n1mm_operator", "")))
76
- # self.n1mm_ip.setText(str(self.preference.get("n1mm_ip", "")))
77
88
  self.n1mm_radioport.setText(str(self.preference.get("n1mm_radioport", "")))
78
89
  self.n1mm_contactport.setText(str(self.preference.get("n1mm_contactport", "")))
79
90
  self.n1mm_lookupport.setText(str(self.preference.get("n1mm_lookupport", "")))
80
91
  self.n1mm_scoreport.setText(str(self.preference.get("n1mm_scoreport", "")))
81
92
  self.send_n1mm_radio.setChecked(bool(self.preference.get("send_n1mm_radio")))
82
- self.send_n1mm_contact.setChecked(bool(self.preference.get("send_n1mm_contact")))
93
+ self.send_n1mm_contact.setChecked(
94
+ bool(self.preference.get("send_n1mm_contact"))
95
+ )
83
96
  self.send_n1mm_lookup.setChecked(bool(self.preference.get("send_n1mm_lookup")))
84
97
  self.send_n1mm_score.setChecked(bool(self.preference.get("send_n1mm_score")))
85
98
 
@@ -105,11 +118,28 @@ class Settings(QtWidgets.QDialog):
105
118
  self.activate_6m.setChecked(bool("6" in self.preference.get("bands", [])))
106
119
  self.activate_4m.setChecked(bool("4" in self.preference.get("bands", [])))
107
120
  self.activate_2m.setChecked(bool("2" in self.preference.get("bands", [])))
108
- self.activate_1dot25.setChecked(bool("1.25" in self.preference.get("bands", [])))
121
+ self.activate_1dot25.setChecked(
122
+ bool("1.25" in self.preference.get("bands", []))
123
+ )
109
124
  self.activate_70cm.setChecked(bool("70cm" in self.preference.get("bands", [])))
110
125
  self.activate_33cm.setChecked(bool("33cm" in self.preference.get("bands", [])))
111
126
  self.activate_23cm.setChecked(bool("23cm" in self.preference.get("bands", [])))
112
127
 
128
+ def set_cwdaemon_port_hint(self):
129
+ """Sets placeholder hint for the CW interface."""
130
+ self.cwip_field.setPlaceholderText("127.0.0.1")
131
+ self.cwport_field.setPlaceholderText("6789")
132
+
133
+ def set_winkeyer_port_hint(self):
134
+ """Sets placeholder hint for the CW interface."""
135
+ self.cwip_field.setPlaceholderText("127.0.0.1")
136
+ self.cwport_field.setPlaceholderText("8000")
137
+
138
+ def set_catforcw_port_hint(self):
139
+ """Sets placeholder hint for the CW interface."""
140
+ self.cwip_field.setPlaceholderText("")
141
+ self.cwport_field.setPlaceholderText("")
142
+
113
143
  def save_changes(self):
114
144
  """
115
145
  Write preferences to json file.
@@ -131,6 +161,7 @@ class Settings(QtWidgets.QDialog):
131
161
  try:
132
162
  self.preference["cwport"] = int(self.cwport_field.text())
133
163
  except ValueError:
164
+ self.preference["cwport"] = None
134
165
  ...
135
166
  self.preference["cwtype"] = 0
136
167
  if self.usecwdaemon_radioButton.isChecked():
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.10.6"
3
+ __version__ = "24.10.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.10.6
3
+ Version: 24.10.8
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/mbridak/not1mm
@@ -219,6 +219,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
219
219
 
220
220
  ## Recent Changes
221
221
 
222
+ - [24-10-8] Fix crash on Tune to spot. Change placeholder text for the CW port for those unable to read documentation.
222
223
  - [24-10-6] Removed 60, 30, 17 and 12M from the default list of bands.
223
224
  - [24-10-5-1] Store the bandmap spots age timer in the preferences.
224
225
  - [24-10-5] Force reselction of contest after different DB opened.
@@ -2,5 +2,4 @@ dist
2
2
  not1mm
3
3
  pic
4
4
  research
5
- test
6
5
  venv
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "not1mm"
7
- version = "24.10.6"
7
+ version = "24.10.8"
8
8
  description = "NOT1MM Logger"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -43,7 +43,7 @@ classifiers = [
43
43
  [tool.setuptools.packages.find]
44
44
  where = ["."]
45
45
 
46
- exclude = ["not1mm.testing*", "not1mm.not1mm.testing*", "testing*", "usb_vfo_knob*",]
46
+ exclude = ["not1mm.testing*", "not1mm.not1mm.testing*", "testing*", "test","usb_vfo_knob*",]
47
47
 
48
48
  [tool.setuptools.package-data]
49
49
  "not1mm.data" = ["*.json", "*.txt", "*.SCP", "*.ui", "*.ttf", "*.desktop", "*.png", "*.qss", "*.sql", "*.html",]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes