not1mm 24.11.25__py3-none-any.whl → 24.11.26.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 +5 -4
- not1mm/lib/cat_interface.py +24 -15
- not1mm/lib/version.py +1 -1
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.1.dist-info}/METADATA +6 -4
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.1.dist-info}/RECORD +9 -9
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.1.dist-info}/LICENSE +0 -0
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.1.dist-info}/WHEEL +0 -0
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.1.dist-info}/entry_points.txt +0 -0
- {not1mm-24.11.25.dist-info → not1mm-24.11.26.1.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
@@ -1731,7 +1731,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
1731
1731
|
"""
|
1732
1732
|
|
1733
1733
|
self.show_message_box(
|
1734
|
-
"[Esc]\tClears the input fields of any text.\n"
|
1735
1734
|
"[CTRL-Esc]\tStops cwdaemon from sending Morse.\n"
|
1736
1735
|
"[PgUp]\tIncreases the cw sending speed.\n"
|
1737
1736
|
"[PgDown]\tDecreases the cw sending speed.\n"
|
@@ -1751,6 +1750,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
1751
1750
|
"[CTRL-S]\tSpot Callsign to the cluster.\n"
|
1752
1751
|
"[CTRL-SHIFT-K] Open CW text input field.\n"
|
1753
1752
|
"[CTRL-=]\tLog the contact without sending the ESM macros.\n"
|
1753
|
+
"[CTRL-W]\tClears the input fields of any text.\n"
|
1754
1754
|
)
|
1755
1755
|
|
1756
1756
|
def filepicker(self, action: str) -> str:
|
@@ -2087,14 +2087,14 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
2087
2087
|
self.bandmap_window.msg_from_main(cmd)
|
2088
2088
|
return
|
2089
2089
|
if (
|
2090
|
-
event.key() == Qt.Key.
|
2091
|
-
and modifier
|
2090
|
+
event.key() == Qt.Key.Key_W
|
2091
|
+
and modifier == Qt.KeyboardModifier.ControlModifier
|
2092
2092
|
): # pylint: disable=no-member
|
2093
2093
|
self.clearinputs()
|
2094
2094
|
return
|
2095
2095
|
if (
|
2096
2096
|
event.key() == Qt.Key.Key_Escape
|
2097
|
-
and modifier
|
2097
|
+
and modifier != Qt.KeyboardModifier.ControlModifier
|
2098
2098
|
):
|
2099
2099
|
if self.cw is not None:
|
2100
2100
|
if self.cw.servertype == 1:
|
@@ -3543,6 +3543,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3543
3543
|
self.opon_dialog.close()
|
3544
3544
|
logger.debug("New Op: %s", self.current_op)
|
3545
3545
|
self.make_op_dir()
|
3546
|
+
self.set_window_title()
|
3546
3547
|
|
3547
3548
|
def make_op_dir(self) -> None:
|
3548
3549
|
"""
|
not1mm/lib/cat_interface.py
CHANGED
@@ -284,8 +284,11 @@ class CAT:
|
|
284
284
|
if self.rigctrlsocket:
|
285
285
|
try:
|
286
286
|
self.online = True
|
287
|
-
self.rigctrlsocket.send(b"f\n")
|
288
|
-
|
287
|
+
self.rigctrlsocket.send(b"|f\n")
|
288
|
+
report = self.__get_serial_string().strip()
|
289
|
+
if "get_freq:|" in report and "RPRT 0" in report:
|
290
|
+
seg_rpt = report.split("|")
|
291
|
+
return seg_rpt[1].split(" ")[1]
|
289
292
|
except socket.error as exception:
|
290
293
|
self.online = False
|
291
294
|
logger.debug(f"{exception=}")
|
@@ -334,12 +337,12 @@ class CAT:
|
|
334
337
|
if self.rigctrlsocket:
|
335
338
|
try:
|
336
339
|
self.online = True
|
337
|
-
self.rigctrlsocket.send(b"m\n")
|
338
|
-
|
339
|
-
|
340
|
-
if
|
341
|
-
|
342
|
-
|
340
|
+
self.rigctrlsocket.send(b"|m\n")
|
341
|
+
# get_mode:|Mode: CW|Passband: 500|RPRT 0
|
342
|
+
report = self.__get_serial_string().strip()
|
343
|
+
if "getmode:|" in report and "RPRT 0" in report:
|
344
|
+
seg_rpt = report.split("|")
|
345
|
+
return seg_rpt[1].split(" ")[1]
|
343
346
|
except IndexError as exception:
|
344
347
|
logger.debug("%s", f"{exception}")
|
345
348
|
except socket.error as exception:
|
@@ -383,11 +386,13 @@ class CAT:
|
|
383
386
|
if self.rigctrlsocket:
|
384
387
|
try:
|
385
388
|
self.online = True
|
386
|
-
self.rigctrlsocket.send(b"m\n")
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
389
|
+
self.rigctrlsocket.send(b"|m\n")
|
390
|
+
# get_mode:|Mode: CW|Passband: 500|RPRT 0
|
391
|
+
report = self.__get_serial_string().strip()
|
392
|
+
if "getmode:|" in report and "RPRT 0" in report:
|
393
|
+
seg_rpt = report.split("|")
|
394
|
+
return seg_rpt[2].split(" ")[1]
|
395
|
+
|
391
396
|
except IndexError as exception:
|
392
397
|
logger.debug("%s", f"{exception}")
|
393
398
|
except socket.error as exception:
|
@@ -426,8 +431,12 @@ class CAT:
|
|
426
431
|
if self.rigctrlsocket:
|
427
432
|
try:
|
428
433
|
self.online = True
|
429
|
-
self.rigctrlsocket.send(b"l RFPOWER\n")
|
430
|
-
|
434
|
+
self.rigctrlsocket.send(b"|l RFPOWER\n")
|
435
|
+
# get_level: RFPOWER|0.000000|RPRT 0
|
436
|
+
report = self.__get_serial_string().strip()
|
437
|
+
if "get_level: RFPOWER|" in report and "RPRT 0" in report:
|
438
|
+
seg_rpt = report.split("|")
|
439
|
+
return int(float(seg_rpt[1]) * 100)
|
431
440
|
except socket.error as exception:
|
432
441
|
self.online = False
|
433
442
|
logger.debug("getpower_rigctld: %s", f"{exception}")
|
not1mm/lib/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.11.
|
3
|
+
Version: 24.11.26.1
|
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
|
@@ -238,7 +238,9 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
238
238
|
|
239
239
|
## Recent Changes (Polishing the Turd)
|
240
240
|
|
241
|
-
- [24-
|
241
|
+
- [24-11-26-1] Changed ESC to stop CW, CTRL-W to wipe input fields.
|
242
|
+
- [24-11-26] Trying something different with rigctld parsing.
|
243
|
+
- [24-11-15] Fix CQWW points, fix mode showing as RPRT.
|
242
244
|
- [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
|
243
245
|
- [24-11-24] Added ESM to IARU HF and FieldDay.
|
244
246
|
- [24-11-23] Made macros per contest.
|
@@ -746,8 +748,7 @@ is this has happened, since the gridsquare will replace the word "Regional".
|
|
746
748
|
|
747
749
|
| Key | Result |
|
748
750
|
| -------------- | --- |
|
749
|
-
| [Esc] |
|
750
|
-
| [CTRL-Esc] | Stops cwdaemon from sending Morse. |
|
751
|
+
| [Esc] | Stops cwdaemon from sending Morse. |
|
751
752
|
| [PgUp] | Increases the cw sending speed. |
|
752
753
|
| [PgDown] | Decreases the cw sending speed. |
|
753
754
|
| [Arrow-Up] | Jump to the next spot above the current VFO cursor in the bandmap window (CAT Required). |
|
@@ -762,6 +763,7 @@ is this has happened, since the gridsquare will replace the word "Regional".
|
|
762
763
|
| [CTRL-G] | Tune to a spot matching partial text in the callsign entry field (CAT Required). |
|
763
764
|
| [CTRL-SHIFT-K] | Open CW text input field. |
|
764
765
|
| [CTRL-=] | Log the contact without sending the ESM macros.|
|
766
|
+
| [CTRL-W] | Clears the input fields of any text. |
|
765
767
|
|
766
768
|
### The Log Window
|
767
769
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
not1mm/__main__.py,sha256=
|
2
|
+
not1mm/__main__.py,sha256=4hFDKkXbu_xdtra4VIMtQGVzp7UbD3nZY6C7HXNyUAM,142552
|
3
3
|
not1mm/bandmap.py,sha256=X6mMHXS1kXBbUPZCaKgiVJ6Dz6DE6LEQqtEXfT3telg,30811
|
4
4
|
not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
|
5
5
|
not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
|
@@ -95,7 +95,7 @@ not1mm/data/phonetics/yourcall.wav,sha256=4kheHJmCiRDL2kjhlgXQ8_u_eEMgKxiNGu5UBk
|
|
95
95
|
not1mm/data/phonetics/z.wav,sha256=arafCi7fwmBLdVDI-PRyaL4U-03PIQDhffwY5noJ_2c,51768
|
96
96
|
not1mm/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
97
97
|
not1mm/lib/about.py,sha256=sWycfGcruN3SaEe4JmaJ61K6D8Itq0WxpUYT-lEcmYM,416
|
98
|
-
not1mm/lib/cat_interface.py,sha256=
|
98
|
+
not1mm/lib/cat_interface.py,sha256=0R9ZiEZ0u0RzPrw_hrFNIdS4ybUBgAKtD74x2jdCVIU,25094
|
99
99
|
not1mm/lib/cwinterface.py,sha256=yQL8Dif9oOIynaRItHgvcmu4mYv1TnTpqCHPtkeb09o,4472
|
100
100
|
not1mm/lib/database.py,sha256=nqWp2eJ7JfUTqaQ9AVbx3XjgtlRnYY9ruTQCv2YRreY,48310
|
101
101
|
not1mm/lib/edit_contact.py,sha256=Ki9bGPpqyQQBB1cU8VIBDCal3lbXeQ6qxhzklmhE2_w,353
|
@@ -114,7 +114,7 @@ not1mm/lib/plugin_common.py,sha256=AABdx9DoTT8Znrup7AkfmKGC22hshMsEypiMqV0iKw0,1
|
|
114
114
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
115
115
|
not1mm/lib/settings.py,sha256=Xt0WE2ro_kUYdugQ0Pe1SQX07MHrJ0jyQqDqAKKqxuU,13564
|
116
116
|
not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
|
117
|
-
not1mm/lib/version.py,sha256=
|
117
|
+
not1mm/lib/version.py,sha256=BcaX3Cm7q7UabsuJBtuqFJ5FUf6Qn18XbC6PtCOpVnc,51
|
118
118
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
119
119
|
not1mm/plugins/10_10_fall_cw.py,sha256=AsvB2VUd6Qb2_FzZkSBkSd1_qeP8Dt-B-exF1Pzb9tk,14469
|
120
120
|
not1mm/plugins/10_10_spring_cw.py,sha256=nA4v0oqlp-ivvKqNPakb19I-wE_ElhvH5bCzDRx00JU,14474
|
@@ -162,9 +162,9 @@ not1mm/plugins/ref_ssb.py,sha256=G2Gz4kApchmOZQVnBexEokSEvdb-mZWJAfyJ1D6JDGY,204
|
|
162
162
|
not1mm/plugins/stew_perry_topband.py,sha256=Gy_vv6tgkR-3vmvsUVO0pVfHMkUJSxpt7G4secn0RH8,15084
|
163
163
|
not1mm/plugins/weekly_rtty.py,sha256=PI0_AtEdZZKGAuKnP-b2EYn9xwCN1Ablk38trbNP3Rc,19603
|
164
164
|
not1mm/plugins/winter_field_day.py,sha256=9w3tDL9ZWiENSTERc3vzDbBktvI7pnyNvlH6fDjAi08,14841
|
165
|
-
not1mm-24.11.
|
166
|
-
not1mm-24.11.
|
167
|
-
not1mm-24.11.
|
168
|
-
not1mm-24.11.
|
169
|
-
not1mm-24.11.
|
170
|
-
not1mm-24.11.
|
165
|
+
not1mm-24.11.26.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
166
|
+
not1mm-24.11.26.1.dist-info/METADATA,sha256=5NBRnqJvdS35tJbbSiaIf_7BGkTD5e10HKA4r4Zfxg8,36800
|
167
|
+
not1mm-24.11.26.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
168
|
+
not1mm-24.11.26.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
169
|
+
not1mm-24.11.26.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
170
|
+
not1mm-24.11.26.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|