not1mm 25.3.2__py3-none-any.whl → 25.3.10__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 +34 -17
- not1mm/bandmap.py +11 -1
- not1mm/lib/plugin_common.py +1 -0
- not1mm/lib/version.py +1 -1
- {not1mm-25.3.2.dist-info → not1mm-25.3.10.dist-info}/METADATA +3 -5
- {not1mm-25.3.2.dist-info → not1mm-25.3.10.dist-info}/RECORD +10 -10
- {not1mm-25.3.2.dist-info → not1mm-25.3.10.dist-info}/WHEEL +1 -1
- {not1mm-25.3.2.dist-info → not1mm-25.3.10.dist-info}/LICENSE +0 -0
- {not1mm-25.3.2.dist-info → not1mm-25.3.10.dist-info}/entry_points.txt +0 -0
- {not1mm-25.3.2.dist-info → not1mm-25.3.10.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
@@ -692,8 +692,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
692
692
|
self.actionBandmap.setChecked(self.pref.get("bandmapwindow", False))
|
693
693
|
if self.actionBandmap.isChecked():
|
694
694
|
self.bandmap_window.show()
|
695
|
+
self.bandmap_window.setActive(True)
|
695
696
|
else:
|
696
697
|
self.bandmap_window.hide()
|
698
|
+
self.bandmap_window.setActive(False)
|
697
699
|
|
698
700
|
self.actionCheck_Window.setChecked(self.pref.get("checkwindow", False))
|
699
701
|
if self.actionCheck_Window.isChecked():
|
@@ -1854,8 +1856,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
1854
1856
|
self.write_preference()
|
1855
1857
|
if self.actionBandmap.isChecked():
|
1856
1858
|
self.bandmap_window.show()
|
1859
|
+
self.bandmap_window.setActive(True)
|
1857
1860
|
else:
|
1858
1861
|
self.bandmap_window.hide()
|
1862
|
+
self.bandmap_window.setActive(False)
|
1859
1863
|
|
1860
1864
|
def launch_check_window(self) -> None:
|
1861
1865
|
"""Launch the check window"""
|
@@ -3476,12 +3480,13 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3476
3480
|
None
|
3477
3481
|
"""
|
3478
3482
|
if mode in ("CW", "CW-U", "CW-L", "CWR"):
|
3479
|
-
if self.rig_control
|
3480
|
-
self.rig_control.
|
3481
|
-
|
3482
|
-
if self.
|
3483
|
-
self.
|
3484
|
-
|
3483
|
+
if self.rig_control:
|
3484
|
+
if self.rig_control.online:
|
3485
|
+
self.rig_control.set_mode(self.rig_control.last_cw_mode)
|
3486
|
+
if self.pref.get("cwtype") == 3 and self.rig_control is not None:
|
3487
|
+
if self.rig_control.interface == "flrig":
|
3488
|
+
self.cwspeed_spinbox_changed()
|
3489
|
+
self.rig_control.cat.set_flrig_cw_send(True)
|
3485
3490
|
else:
|
3486
3491
|
self.setmode("CW")
|
3487
3492
|
self.radio_state["mode"] = "CW"
|
@@ -3501,8 +3506,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3501
3506
|
"AM-D",
|
3502
3507
|
"FM-D",
|
3503
3508
|
):
|
3504
|
-
if self.rig_control
|
3505
|
-
self.rig_control.
|
3509
|
+
if self.rig_control:
|
3510
|
+
if self.rig_control.online:
|
3511
|
+
self.rig_control.set_mode(self.rig_control.last_data_mode)
|
3506
3512
|
else:
|
3507
3513
|
self.radio_state["mode"] = "RTTY"
|
3508
3514
|
self.setmode("RTTY")
|
@@ -3523,8 +3529,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3523
3529
|
else:
|
3524
3530
|
self.radio_state["mode"] = "LSB"
|
3525
3531
|
|
3526
|
-
if self.rig_control
|
3527
|
-
self.rig_control.
|
3532
|
+
if self.rig_control:
|
3533
|
+
if self.rig_control.online:
|
3534
|
+
self.rig_control.set_mode(self.radio_state.get("mode"))
|
3528
3535
|
else:
|
3529
3536
|
self.setmode("SSB")
|
3530
3537
|
band = getband(str(self.radio_state.get("vfoa", "0.0")))
|
@@ -3728,14 +3735,16 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3728
3735
|
|
3729
3736
|
# The following pertains to radio polling.
|
3730
3737
|
logger.debug(f"{the_dict=}")
|
3731
|
-
self.set_radio_icon(0)
|
3732
3738
|
info_dirty = False
|
3733
3739
|
vfo = the_dict.get("vfoa", "")
|
3734
3740
|
mode = the_dict.get("mode", "")
|
3735
3741
|
bw = the_dict.get("bw", "")
|
3742
|
+
if bw == "NONE":
|
3743
|
+
bw = "0"
|
3736
3744
|
online = the_dict.get("online", False)
|
3737
|
-
|
3738
|
-
|
3745
|
+
if self.rig_control.interface == "fake":
|
3746
|
+
self.set_radio_icon(0)
|
3747
|
+
elif online is False:
|
3739
3748
|
self.set_radio_icon(1)
|
3740
3749
|
else:
|
3741
3750
|
self.set_radio_icon(2)
|
@@ -3750,8 +3759,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3750
3759
|
self.contact["Band"] = get_logged_band(str(vfo))
|
3751
3760
|
self.set_band_indicator(band)
|
3752
3761
|
|
3753
|
-
if self.rig_control
|
3754
|
-
self.rig_control.
|
3762
|
+
if self.rig_control:
|
3763
|
+
if self.rig_control.online:
|
3764
|
+
self.rig_control.get_modes()
|
3755
3765
|
|
3756
3766
|
if self.radio_state.get("mode") != mode:
|
3757
3767
|
info_dirty = True
|
@@ -3763,7 +3773,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3763
3773
|
|
3764
3774
|
if mode in ("CW", "CW-U", "CW-L", "CWR"):
|
3765
3775
|
self.setmode(mode)
|
3766
|
-
if mode
|
3776
|
+
if mode in ("LSB", "USB", "FM", "AM"):
|
3767
3777
|
self.setmode("SSB")
|
3768
3778
|
if mode in (
|
3769
3779
|
"RTTY",
|
@@ -3774,9 +3784,12 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3774
3784
|
"FM-D",
|
3775
3785
|
"DIGI-U",
|
3776
3786
|
"DIGI-L",
|
3787
|
+
"DIG",
|
3777
3788
|
"RTTYR",
|
3778
3789
|
"PKTLSB",
|
3779
3790
|
"PKTUSB",
|
3791
|
+
"FSK",
|
3792
|
+
"PKT",
|
3780
3793
|
):
|
3781
3794
|
self.setmode("RTTY")
|
3782
3795
|
|
@@ -3895,10 +3908,14 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3895
3908
|
"""
|
3896
3909
|
|
3897
3910
|
macro_file = self.get_macro_filename()
|
3898
|
-
|
3899
3911
|
try:
|
3900
3912
|
with open(macro_file, "r", encoding="utf-8") as file_descriptor:
|
3901
3913
|
for line in file_descriptor:
|
3914
|
+
line = line.strip()
|
3915
|
+
if not line:
|
3916
|
+
continue
|
3917
|
+
if line.startswith("#"):
|
3918
|
+
continue
|
3902
3919
|
mode, fkey, buttonname, cwtext = line.split("|")
|
3903
3920
|
if mode.strip().upper() == "R" and self.pref.get("run_state"):
|
3904
3921
|
self.fkeys[fkey.strip()] = (buttonname.strip(), cwtext.strip())
|
not1mm/bandmap.py
CHANGED
@@ -339,6 +339,7 @@ class BandMapWindow(QDockWidget):
|
|
339
339
|
|
340
340
|
def __init__(self):
|
341
341
|
super().__init__()
|
342
|
+
self.active = False
|
342
343
|
self._udpwatch = None
|
343
344
|
|
344
345
|
uic.loadUi(fsutils.APP_DATA_PATH / "bandmap.ui", self)
|
@@ -373,6 +374,9 @@ class BandMapWindow(QDockWidget):
|
|
373
374
|
self.request_workedlist()
|
374
375
|
self.request_contest()
|
375
376
|
|
377
|
+
def setActive(self, mode: bool):
|
378
|
+
self.active = bool(mode)
|
379
|
+
|
376
380
|
def get_settings(self) -> dict:
|
377
381
|
"""Get the settings."""
|
378
382
|
if os.path.exists(fsutils.CONFIG_FILE):
|
@@ -381,6 +385,8 @@ class BandMapWindow(QDockWidget):
|
|
381
385
|
|
382
386
|
def msg_from_main(self, packet):
|
383
387
|
""""""
|
388
|
+
if self.active is False:
|
389
|
+
return
|
384
390
|
if packet.get("cmd", "") == "RADIO_STATE":
|
385
391
|
self.set_band(packet.get("band") + "m", False)
|
386
392
|
try:
|
@@ -577,6 +583,8 @@ class BandMapWindow(QDockWidget):
|
|
577
583
|
self.update_timer.setInterval(UPDATE_INTERVAL)
|
578
584
|
except AttributeError:
|
579
585
|
...
|
586
|
+
# if self.active is False:
|
587
|
+
# return
|
580
588
|
self.clear_all_callsign_from_scene()
|
581
589
|
self.clear_freq_mark(self.rxMark)
|
582
590
|
self.clear_freq_mark(self.txMark)
|
@@ -709,6 +717,8 @@ class BandMapWindow(QDockWidget):
|
|
709
717
|
def update_stations(self):
|
710
718
|
"""doc"""
|
711
719
|
self.update_timer.setInterval(UPDATE_INTERVAL)
|
720
|
+
if self.active is False:
|
721
|
+
return
|
712
722
|
self.clear_all_callsign_from_scene()
|
713
723
|
self.spot_aging()
|
714
724
|
step, _digits = self.determine_step_digits()
|
@@ -877,7 +887,7 @@ class BandMapWindow(QDockWidget):
|
|
877
887
|
"""Send a command to the cluster."""
|
878
888
|
cmd += "\r\n"
|
879
889
|
tosend = bytes(cmd, encoding="ascii")
|
880
|
-
logger.debug("
|
890
|
+
logger.debug("Command sent to the cluster")
|
881
891
|
if self.socket:
|
882
892
|
if self.socket.isOpen():
|
883
893
|
self.socket.write(tosend)
|
not1mm/lib/plugin_common.py
CHANGED
@@ -82,6 +82,7 @@ def gen_adif(self, cabrillo_name: str, contest_id=""):
|
|
82
82
|
log = self.database.fetch_all_contacts_asc()
|
83
83
|
try:
|
84
84
|
with open(filename, "w", encoding="utf-8") as file_descriptor:
|
85
|
+
print("Not1MM ADIF export", end="\r\n", file=file_descriptor)
|
85
86
|
print("<ADIF_VER:5>2.2.0", end="\r\n", file=file_descriptor)
|
86
87
|
print("<EOH>", end="\r\n", file=file_descriptor)
|
87
88
|
for contact in log:
|
not1mm/lib/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: not1mm
|
3
|
-
Version: 25.3.
|
3
|
+
Version: 25.3.10
|
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
|
@@ -240,12 +240,10 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
240
240
|
|
241
241
|
## Recent Changes
|
242
242
|
|
243
|
+
- [25-3-10] Slight change to adif header. Slight change to CAT status icon state.
|
244
|
+
- [25-3-5] Added checks for blank/comment lines in the macros
|
243
245
|
- [25-3-2] Added call history support to ARRL DX, just in time for it to be over.
|
244
246
|
- [25-3-1] Add {OTHER1} and {OTHER2} macros.
|
245
|
-
- [25-2-26] Switch to a Run state if engaging auto_cq.
|
246
|
-
- [25-2-22] Add Auto CQ.
|
247
|
-
- [25-2-12] Merged PR from @alduhoo Adding RandomGram event.
|
248
|
-
- [25-2-6] Trimmed out newer tags from UI files, 'cause stuff be old sometimes.
|
249
247
|
|
250
248
|
See [CHANGELOG.md](CHANGELOG.md) for prior changes.
|
251
249
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
not1mm/__main__.py,sha256=
|
3
|
-
not1mm/bandmap.py,sha256=
|
2
|
+
not1mm/__main__.py,sha256=wAXxJ1iEt-sQWOY7ULvrbmBucI_u4sdAXlmJb-3lbUc,148992
|
3
|
+
not1mm/bandmap.py,sha256=mdSK6oj8plEmr6WVYkzPTCfsHWKl9lea3R14cmRsAI4,31531
|
4
4
|
not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
|
5
5
|
not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
|
6
6
|
not1mm/logwindow.py,sha256=TvpzQTNB92hISlUO3iWBqtlPmlebdhOkAArx0DNGcOs,43966
|
@@ -112,11 +112,11 @@ not1mm/lib/lookup.py,sha256=KECMDi9tflRDzgTLeDfDl7HGWWRHvW3HCjNHyyjoWaY,10835
|
|
112
112
|
not1mm/lib/multicast.py,sha256=KJcruI-bOuHfHXPjl3SGQhL6I9sKrygy-sdFSvxffUM,3255
|
113
113
|
not1mm/lib/n1mm.py,sha256=H54mpgJF0GAmKavM-nb5OAq2SJFWYkux4eMWWiSRxJc,6288
|
114
114
|
not1mm/lib/new_contest.py,sha256=IznTDMq7yXHB6zBoGUEC_WDYPCPpsSZW4wwMJi16zK0,816
|
115
|
-
not1mm/lib/plugin_common.py,sha256=
|
115
|
+
not1mm/lib/plugin_common.py,sha256=5tU1e_ES5bZFaLDbYWq7F7CXQ0RCQk7Y3yVF9L9y88Q,13287
|
116
116
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
117
117
|
not1mm/lib/settings.py,sha256=mXffn8Xaj5KATPQinNBR0V5DbHWQPsRfh24_axWGYuk,15254
|
118
118
|
not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
|
119
|
-
not1mm/lib/version.py,sha256
|
119
|
+
not1mm/lib/version.py,sha256=Rw_x7BbrPeLNgiGFPll7_KzAmLDGUD1HMP98laecqzs,48
|
120
120
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
121
121
|
not1mm/plugins/10_10_fall_cw.py,sha256=5QUyGMvGBC-HxcY_z9QbfuxSg3f7p6C9K4qhTxgZE7k,14719
|
122
122
|
not1mm/plugins/10_10_spring_cw.py,sha256=XjYFM263WYyG6nVQzPObW4YC7Z9L93rixSOcVsxPvH4,14722
|
@@ -167,9 +167,9 @@ not1mm/plugins/ref_ssb.py,sha256=Z_XmMpYKcI5dZh4TQqvQDcz-cLpMzpDEKBnb5iHeBLQ,215
|
|
167
167
|
not1mm/plugins/stew_perry_topband.py,sha256=D1hekmMbx-i4BhaP2uzOK3OzaVVMMdgcN3RmfweNqHo,15341
|
168
168
|
not1mm/plugins/weekly_rtty.py,sha256=rdlIrsxBeuj-RQc5OStVNF7sGCtBK5t6inN5Z7DI4tw,20066
|
169
169
|
not1mm/plugins/winter_field_day.py,sha256=JK4r1vfxs7aADR7ZYbjZniz3f5s3_ipSQDZ0GRNWC7I,15222
|
170
|
-
not1mm-25.3.
|
171
|
-
not1mm-25.3.
|
172
|
-
not1mm-25.3.
|
173
|
-
not1mm-25.3.
|
174
|
-
not1mm-25.3.
|
175
|
-
not1mm-25.3.
|
170
|
+
not1mm-25.3.10.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
171
|
+
not1mm-25.3.10.dist-info/METADATA,sha256=p1TuZVDN3Le-cZAXeAi996hzsg8KBYyn155iluM67bs,36372
|
172
|
+
not1mm-25.3.10.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
173
|
+
not1mm-25.3.10.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
174
|
+
not1mm-25.3.10.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
175
|
+
not1mm-25.3.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|