not1mm 24.10.17__py3-none-any.whl → 24.10.17.1__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 +10 -12
- not1mm/data/MASTER.SCP +832 -724
- not1mm/data/cty.json +1 -1
- not1mm/data/rttymacros.txt +1 -1
- not1mm/data/ssbmacros.txt +4 -4
- not1mm/lib/cat_interface.py +4 -2
- not1mm/lib/version.py +1 -1
- not1mm/radio.py +1 -1
- {not1mm-24.10.17.dist-info → not1mm-24.10.17.1.dist-info}/METADATA +2 -1
- {not1mm-24.10.17.dist-info → not1mm-24.10.17.1.dist-info}/RECORD +14 -14
- {not1mm-24.10.17.dist-info → not1mm-24.10.17.1.dist-info}/LICENSE +0 -0
- {not1mm-24.10.17.dist-info → not1mm-24.10.17.1.dist-info}/WHEEL +0 -0
- {not1mm-24.10.17.dist-info → not1mm-24.10.17.1.dist-info}/entry_points.txt +0 -0
- {not1mm-24.10.17.dist-info → not1mm-24.10.17.1.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
@@ -3051,7 +3051,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3051
3051
|
-------
|
3052
3052
|
None
|
3053
3053
|
"""
|
3054
|
-
|
3055
3054
|
text = self.callsign.text()
|
3056
3055
|
text = text.upper()
|
3057
3056
|
position = self.callsign.cursorPosition()
|
@@ -3090,11 +3089,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3090
3089
|
self.change_freq(stripped_text)
|
3091
3090
|
return
|
3092
3091
|
|
3093
|
-
self.check_callsign(stripped_text)
|
3094
|
-
if self.check_dupe(stripped_text):
|
3095
|
-
self.dupe_indicator.show()
|
3096
|
-
else:
|
3097
|
-
self.dupe_indicator.hide()
|
3098
3092
|
cmd = {}
|
3099
3093
|
cmd["cmd"] = "LOOKUP_CALL"
|
3100
3094
|
cmd["station"] = platform.node()
|
@@ -3108,6 +3102,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3108
3102
|
cmd["call"] = stripped_text
|
3109
3103
|
self.multicast_interface.send_as_json(cmd)
|
3110
3104
|
self.check_callsign(stripped_text)
|
3105
|
+
if self.check_dupe(stripped_text):
|
3106
|
+
self.dupe_indicator.show()
|
3107
|
+
else:
|
3108
|
+
self.dupe_indicator.hide()
|
3111
3109
|
|
3112
3110
|
def change_freq(self, stripped_text: str) -> None:
|
3113
3111
|
"""
|
@@ -3163,14 +3161,14 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3163
3161
|
"""
|
3164
3162
|
|
3165
3163
|
if mode in ("CW", "CW-U", "CW-L", "CWR"):
|
3166
|
-
self.setmode("CW")
|
3167
|
-
self.radio_state["mode"] = "CW"
|
3168
3164
|
if self.rig_control and self.rig_control.online:
|
3169
3165
|
self.rig_control.set_mode("CW")
|
3170
3166
|
if self.pref.get("cwtype") == 3 and self.rig_control is not None:
|
3171
3167
|
if self.rig_control.interface == "flrig":
|
3172
3168
|
self.cwspeed_spinbox_changed()
|
3173
3169
|
self.rig_control.cat.set_flrig_cw_send(True)
|
3170
|
+
self.setmode("CW")
|
3171
|
+
self.radio_state["mode"] = "CW"
|
3174
3172
|
band = getband(str(self.radio_state.get("vfoa", "0.0")))
|
3175
3173
|
self.set_band_indicator(band)
|
3176
3174
|
self.set_window_title()
|
@@ -3178,11 +3176,11 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3178
3176
|
self.read_cw_macros()
|
3179
3177
|
return
|
3180
3178
|
if mode == "RTTY":
|
3181
|
-
self.setmode("RTTY")
|
3182
3179
|
if self.rig_control and self.rig_control.online:
|
3183
3180
|
self.rig_control.set_mode("RTTY")
|
3184
3181
|
else:
|
3185
3182
|
self.radio_state["mode"] = "RTTY"
|
3183
|
+
self.setmode("RTTY")
|
3186
3184
|
band = getband(str(self.radio_state.get("vfoa", "0.0")))
|
3187
3185
|
self.set_band_indicator(band)
|
3188
3186
|
self.set_window_title()
|
@@ -3190,16 +3188,16 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3190
3188
|
self.read_cw_macros()
|
3191
3189
|
return
|
3192
3190
|
if mode == "SSB":
|
3193
|
-
self.setmode("SSB")
|
3194
3191
|
if int(self.radio_state.get("vfoa", 0)) > 10000000:
|
3195
3192
|
self.radio_state["mode"] = "USB"
|
3196
3193
|
else:
|
3197
3194
|
self.radio_state["mode"] = "LSB"
|
3195
|
+
if self.rig_control:
|
3196
|
+
self.rig_control.set_mode(self.radio_state.get("mode"))
|
3197
|
+
self.setmode("SSB")
|
3198
3198
|
band = getband(str(self.radio_state.get("vfoa", "0.0")))
|
3199
3199
|
self.set_band_indicator(band)
|
3200
3200
|
self.set_window_title()
|
3201
|
-
if self.rig_control:
|
3202
|
-
self.rig_control.set_mode(self.radio_state.get("mode"))
|
3203
3201
|
self.clearinputs()
|
3204
3202
|
self.read_cw_macros()
|
3205
3203
|
|