not1mm 24.11.23__py3-none-any.whl → 24.11.24.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/plugins/iaru_hf.py CHANGED
@@ -379,3 +379,113 @@ def cabrillo(self, file_encoding):
379
379
 
380
380
  def recalculate_mults(self):
381
381
  """Recalculates multipliers after change in logged qso."""
382
+
383
+
384
+ def process_esm(self, new_focused_widget=None, with_enter=False):
385
+ """ESM State Machine"""
386
+
387
+ # self.pref["run_state"]
388
+
389
+ # -----===== Assigned F-Keys =====-----
390
+ # self.esm_dict["CQ"]
391
+ # self.esm_dict["EXCH"]
392
+ # self.esm_dict["QRZ"]
393
+ # self.esm_dict["AGN"]
394
+ # self.esm_dict["HISCALL"]
395
+ # self.esm_dict["MYCALL"]
396
+ # self.esm_dict["QSOB4"]
397
+
398
+ # ----==== text fields ====----
399
+ # self.callsign
400
+ # self.sent
401
+ # self.receive
402
+ # self.other_1
403
+ # self.other_2
404
+
405
+ if new_focused_widget is not None:
406
+ self.current_widget = self.inputs_dict.get(new_focused_widget)
407
+
408
+ # print(f"checking esm {self.current_widget=} {with_enter=} {self.pref.get("run_state")=}")
409
+
410
+ for a_button in [
411
+ self.esm_dict["CQ"],
412
+ self.esm_dict["EXCH"],
413
+ self.esm_dict["QRZ"],
414
+ self.esm_dict["AGN"],
415
+ self.esm_dict["HISCALL"],
416
+ self.esm_dict["MYCALL"],
417
+ self.esm_dict["QSOB4"],
418
+ ]:
419
+ if a_button is not None:
420
+ self.restore_button_color(a_button)
421
+
422
+ buttons_to_send = []
423
+
424
+ if self.pref.get("run_state"):
425
+ if self.current_widget == "callsign":
426
+ if len(self.callsign.text()) < 3:
427
+ self.make_button_green(self.esm_dict["CQ"])
428
+ buttons_to_send.append(self.esm_dict["CQ"])
429
+ elif len(self.callsign.text()) > 2:
430
+ self.make_button_green(self.esm_dict["HISCALL"])
431
+ self.make_button_green(self.esm_dict["EXCH"])
432
+ buttons_to_send.append(self.esm_dict["HISCALL"])
433
+ buttons_to_send.append(self.esm_dict["EXCH"])
434
+
435
+ elif self.current_widget in ["other_2"]:
436
+ if self.other_2.text() == "":
437
+ self.make_button_green(self.esm_dict["AGN"])
438
+ buttons_to_send.append(self.esm_dict["AGN"])
439
+ else:
440
+ self.make_button_green(self.esm_dict["QRZ"])
441
+ buttons_to_send.append(self.esm_dict["QRZ"])
442
+ buttons_to_send.append("LOGIT")
443
+
444
+ if with_enter is True and bool(len(buttons_to_send)):
445
+ for button in buttons_to_send:
446
+ if button:
447
+ if button == "LOGIT":
448
+ self.save_contact()
449
+ continue
450
+ self.process_function_key(button)
451
+ else:
452
+ if self.current_widget == "callsign":
453
+ if len(self.callsign.text()) > 2:
454
+ self.make_button_green(self.esm_dict["MYCALL"])
455
+ buttons_to_send.append(self.esm_dict["MYCALL"])
456
+
457
+ elif self.current_widget in ["other_2"]:
458
+ if self.other_2.text() == "":
459
+ self.make_button_green(self.esm_dict["AGN"])
460
+ buttons_to_send.append(self.esm_dict["AGN"])
461
+ else:
462
+ self.make_button_green(self.esm_dict["EXCH"])
463
+ buttons_to_send.append(self.esm_dict["EXCH"])
464
+ buttons_to_send.append("LOGIT")
465
+
466
+ if with_enter is True and bool(len(buttons_to_send)):
467
+ for button in buttons_to_send:
468
+ if button:
469
+ if button == "LOGIT":
470
+ self.save_contact()
471
+ continue
472
+ self.process_function_key(button)
473
+
474
+
475
+ def populate_history_info_line(self):
476
+ result = self.database.fetch_call_history(self.callsign.text())
477
+ if result:
478
+ self.history_info.setText(
479
+ f"{result.get('Call', '')}, {result.get('Exch1', '')}, {result.get('UserText','...')}"
480
+ )
481
+ else:
482
+ self.history_info.setText("")
483
+
484
+
485
+ def check_call_history(self):
486
+ """"""
487
+ result = self.database.fetch_call_history(self.callsign.text())
488
+ if result:
489
+ self.history_info.setText(f"{result.get('UserText','')}")
490
+ if self.other_2.text() == "":
491
+ self.other_2.setText(f"{result.get('Exch1', '')}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.11.23
3
+ Version: 24.11.24.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
@@ -57,7 +57,7 @@ Requires-Dist: Levenshtein
57
57
  - [Data and RTTY](#data-and-rtty)
58
58
  - [Other not so supported contests](#other-not-so-supported-contests)
59
59
  - [Our Code Contributors ✨](#our-code-contributors-)
60
- - [List of should be working contests, those in bold have ESM](#list-of-should-be-working-contests-those-in-bold-have-esm)
60
+ - [List of should be working contests](#list-of-should-be-working-contests)
61
61
  - [Recent Changes (Polishing the Turd)](#recent-changes-polishing-the-turd)
62
62
  - [Flatpak](#flatpak)
63
63
  - [Installation](#installation)
@@ -203,41 +203,43 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
203
203
  <img src="https://contrib.rocks/image?repo=mbridak/not1mm" alt="Avatar icons for code contributors." />
204
204
  </a>
205
205
 
206
- ## List of should be working contests, those in bold have ESM
206
+ ## List of should be working contests
207
207
 
208
- - **General Logging** (There are better general loggers like QLog, KLog, CQRLog)
208
+ - General Logging (There are better general loggers like QLog, KLog, CQRLog)
209
209
  - 10 10 Fall CW
210
210
  - 10 10 Spring CW
211
211
  - 10 10 Summer Phone
212
212
  - 10 10 Winter Phone
213
213
  - ARRL 10M
214
- - **ARRL DX CW, SSB**
215
- - **ARRL Field Day**
216
- - **ARRL Sweepstakes CW, SSB**
214
+ - ARRL DX CW, SSB
215
+ - ARRL Field Day
216
+ - ARRL Sweepstakes CW, SSB
217
217
  - ARRL VHF January, June, September
218
218
  - CQ 160 CW, SSB
219
- - **CQ WPX CW, RTTY, SSB**
220
- - **CQ World Wide CW, RTTY, SSB**
221
- - **CWOps CWT**
222
- - **DARC Xmas**
223
- - **Helvetia**
219
+ - CQ WPX CW, RTTY, SSB
220
+ - CQ World Wide CW, RTTY, SSB
221
+ - CWOps CWT
222
+ - DARC Xmas
223
+ - Helvetia
224
224
  - IARU Fieldday R1 CW, SSB
225
225
  - IARU HF
226
- - **ICWC MST**
227
- - **Japan International DX CW, SSB**
228
- - **K1USN Slow Speed Test**
229
- - **LZ DX**
230
- - **NAQP CW, RTTY, SSB**
231
- - **Phone Weekly Test**
232
- - **RAEM**
233
- - **RAC Canada Day**
234
- - **REF CW, SSB**
235
- - **Stew Perry Topband**
236
- - **Weekly RTTY**
237
- - **Winter Field Day**
226
+ - ICWC MST
227
+ - Japan International DX CW, SSB
228
+ - K1USN Slow Speed Test
229
+ - LZ DX
230
+ - NAQP CW, RTTY, SSB
231
+ - Phone Weekly Test
232
+ - RAEM
233
+ - RAC Canada Day
234
+ - REF CW, SSB
235
+ - Stew Perry Topband
236
+ - Weekly RTTY
237
+ - Winter Field Day
238
238
 
239
239
  ## Recent Changes (Polishing the Turd)
240
240
 
241
+ - [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
242
+ - [24-11-24] Added ESM to IARU HF and FieldDay.
241
243
  - [24-11-23] Made macros per contest.
242
244
  - [24-11-21] Merged PR from alduhoo setting CW Speed via rigctld, Added ESM and call history support for General Logging.
243
245
  - [24-11-19] Added ESM to Stew Perry, Phone Weekly, Medium Speed Test and JIDX.
@@ -20,7 +20,7 @@ not1mm/data/configuration.ui,sha256=iva5exfJJFBiiITpz6vgCB8e_j0lgsLeVWOltxtUk4g,
20
20
  not1mm/data/contests.sql,sha256=4hmJCDvrbxnA_Y5S4T5o52TZieeFk6QUwFerwlFePNA,89307
21
21
  not1mm/data/cty.json,sha256=dPG9K1Pm4Rxd4uJom_gQ8y-sbqiZfILpl4kBAFnOveU,4877142
22
22
  not1mm/data/cwmacros.txt,sha256=NztufsX6R52gAO7VyJ2AHr7wOh41pJTwHKh5Lcs32ds,468
23
- not1mm/data/donors.html,sha256=XCh7XR5SyPzFx88UEaNLIGg41bMVcaNEO5L_c9Lrd2k,146
23
+ not1mm/data/donors.html,sha256=DtH9DoDZoMLJf6adisJT8jCcnyhmj4gzHhX5UmmDgjI,239
24
24
  not1mm/data/editcontact.ui,sha256=TNOsXETYfDaON4wj6AkzCJ-n2SmbNRO2-g2SLl5m8s0,27437
25
25
  not1mm/data/editmacro.ui,sha256=Vg-S62ogKYcWlDDlza_JYyZkCQfa8mCfF-cFqpBej-w,2700
26
26
  not1mm/data/greendot.png,sha256=6h6KFMj5mmu07ppPWXXewH0PLAvbOOre-5z6rpzWLLo,474
@@ -114,26 +114,26 @@ 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=i-XV0bR64KuRtURdg5UiGO_HwzJh30A1goTNLNf275w,49
117
+ not1mm/lib/version.py,sha256=uBO1Roo-PFKigitnWdUnKJL8D3eTKW67UwefYD28x7I,51
118
118
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
119
- not1mm/plugins/10_10_fall_cw.py,sha256=r2YkRNiMS_3hXrf3zeiijzW24roilyIXnwXwTd07X8M,11208
120
- not1mm/plugins/10_10_spring_cw.py,sha256=EBBcVgxDhtAK7cGHq9LOU6LhY9vSqlk7GEkApn3KRYM,11213
121
- not1mm/plugins/10_10_summer_phone.py,sha256=k_60LEPV7rS_QBGo_pfndkudgKPc59jgMPLTW_TqYMM,11326
122
- not1mm/plugins/10_10_winter_phone.py,sha256=8BPLi40zmHu86R3NmM0r2bdfjQN9e4tAXSqxcKEdeTE,11225
119
+ not1mm/plugins/10_10_fall_cw.py,sha256=AsvB2VUd6Qb2_FzZkSBkSd1_qeP8Dt-B-exF1Pzb9tk,14469
120
+ not1mm/plugins/10_10_spring_cw.py,sha256=nA4v0oqlp-ivvKqNPakb19I-wE_ElhvH5bCzDRx00JU,14474
121
+ not1mm/plugins/10_10_summer_phone.py,sha256=FNcTQoyZCeAW2i3SKYYDZWuJS1vmk1CO4XO1MAZe8rQ,14587
122
+ not1mm/plugins/10_10_winter_phone.py,sha256=NRAKgu4oYzrpUtjUKWgCfZQf3b85sdVe9oyl-yD6kJo,14486
123
123
  not1mm/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
124
- not1mm/plugins/arrl_10m.py,sha256=CEumvlyRzW63uIPZKnUQ-vWWj_NEi_qItRRojHZxRrM,14047
124
+ not1mm/plugins/arrl_10m.py,sha256=-stuBD3DCdlWctxE9bWEeznZrgIfNw7VcMIE1ZmsfMo,17942
125
125
  not1mm/plugins/arrl_dx_cw.py,sha256=1epTIf9TjeUCjYlpRDU54Ig3lJdXa2e5JZI9SCGE080,17400
126
126
  not1mm/plugins/arrl_dx_ssb.py,sha256=IEZ6tlP9stW3Mdr5_qTBS77hjAUU43IpagyPjr0eqaQ,17403
127
127
  not1mm/plugins/arrl_field_day.py,sha256=YEyXr1Ytllq12sCj54erOba0wrblwb0_bq51gj75OIQ,16478
128
128
  not1mm/plugins/arrl_rtty_ru.py,sha256=npOuf7OxcF0BbvpXJuPOLwf0-wONbDlGW7_B_-BSFz0,7370
129
129
  not1mm/plugins/arrl_ss_cw.py,sha256=HlUsDqyPAZh9VuatcGJ7EDst4qfS6f35yv_nPPzYW7M,17162
130
130
  not1mm/plugins/arrl_ss_phone.py,sha256=_QWnat0y2LLoKTP9RF-sZBqxWxHNrKiPYopBpq8kKTs,16498
131
- not1mm/plugins/arrl_vhf_jan.py,sha256=1KhMR4vAPz1Dan5K3Q5DyIlKB_imOj8aq1EIcV4BtHg,16494
132
- not1mm/plugins/arrl_vhf_jun.py,sha256=yAv0d6d27UlcY-lPHiGptCEF9zWIkNh4ChYeTH9CHH0,15586
133
- not1mm/plugins/arrl_vhf_sep.py,sha256=6pNU5yV2NrGnkOEEJcbXsgKJa8VsIwxKvfBayzSM3U0,15586
131
+ not1mm/plugins/arrl_vhf_jan.py,sha256=tNBrm8Zi_-FgRvu16sySVVnKVpHBYkqdbTlTCWmnOhc,19781
132
+ not1mm/plugins/arrl_vhf_jun.py,sha256=2F1L19A6FKFN6w3Xt5U_ueXoUdtEAqToIyy4n0vQ_h0,18873
133
+ not1mm/plugins/arrl_vhf_sep.py,sha256=bjZNHIAYMaPnhCJ31O5pso-4yHcoURo3DAkL8Y_ZTto,18912
134
134
  not1mm/plugins/canada_day.py,sha256=WxtIm0xl8vd8XUDHX3VQnjDzRhPXM1UR92Qjg99NLMY,15245
135
- not1mm/plugins/cq_160_cw.py,sha256=mAMGyS0M02i-pJ6-aH3iDIUk55dSGDjsDJ6WEXEetro,15351
136
- not1mm/plugins/cq_160_ssb.py,sha256=GSjoKLx8bktrGa0EWu3tvx3N3IjWKWNpzWFdH2t2E3Y,15394
135
+ not1mm/plugins/cq_160_cw.py,sha256=1oEI6lH-LUZSY-BSlbWsXnc4F5dmIF8bVBewy10k4Jc,18555
136
+ not1mm/plugins/cq_160_ssb.py,sha256=_0bkvq0KvSdyTBhkqJ35VqXuaWIaDNmBGE1aQ-cxQz8,18598
137
137
  not1mm/plugins/cq_wpx_cw.py,sha256=H1H4xL-hx0sqU_8fSQYnNzO0ZcOLV-KSOQT9wPvIva0,17843
138
138
  not1mm/plugins/cq_wpx_rtty.py,sha256=nT2lMdAM1pRu2jNKI4FpkGei9kEGX0XcF_24FkL0lnY,20662
139
139
  not1mm/plugins/cq_wpx_ssb.py,sha256=Zjga12w_ISh4aZjCYZbpwN0x0032Prc8p7aIGI7HJFQ,16410
@@ -144,9 +144,9 @@ not1mm/plugins/cwt.py,sha256=3gA1DqiXxj5NARdG5i0PyFmuq3XSXn6LisZxD5jFs4M,17034
144
144
  not1mm/plugins/darc_xmas.py,sha256=GdtAQVCLogKGzZaexJfzsZms5SbLLlO1YweFPjgvYWw,18458
145
145
  not1mm/plugins/general_logging.py,sha256=NV_FCgpAEEQrVRxMDD7nQ2krJgPrhtopizxrGndtUNk,6686
146
146
  not1mm/plugins/helvetia.py,sha256=SRKn7jflfYPUNrvmErDM44af5YWUe57h7JkIwFSbT0Q,19609
147
- not1mm/plugins/iaru_fieldday_r1_cw.py,sha256=b-WA-KcixXNTozO5lfqujeCBXFRuM_Ubm_9MIwlrhIs,13555
148
- not1mm/plugins/iaru_fieldday_r1_ssb.py,sha256=gQH2XQuE-ywaGq2sde-sPP1_C6_Y81v3FPDiE2BJixA,13560
149
- not1mm/plugins/iaru_hf.py,sha256=PVdShWxugsn211ti8mfoWBveQyIkN8XFDMQO4tfNUEY,11846
147
+ not1mm/plugins/iaru_fieldday_r1_cw.py,sha256=oWeFuKxvY15vRiUh2vW3z3o7mxJMae7vfpKx4OFU_yA,16816
148
+ not1mm/plugins/iaru_fieldday_r1_ssb.py,sha256=HylTAcNs0DSii5EDzMQlocjs4k7rQ579YvLrwn6sqIQ,16821
149
+ not1mm/plugins/iaru_hf.py,sha256=RcVf0UFaHX0eSpUZMMGHC0HTsOy_SwTH9Yi9SeJNQUA,15715
150
150
  not1mm/plugins/icwc_mst.py,sha256=K1tgNXiknGbnvxG4sEZQCgZnjI6x3OYRI_4Djmr8E2Q,15976
151
151
  not1mm/plugins/jidx_cw.py,sha256=KJOE3fU0KVMqD5IqvnN3YDHPEwrMx3yJZBmCtAIP7WQ,15650
152
152
  not1mm/plugins/jidx_ph.py,sha256=1l92EmDZJFRGZjR1VrISgFc8KoHVfmJvLsaVsuufIMs,14599
@@ -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.23.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
166
- not1mm-24.11.23.dist-info/METADATA,sha256=7la-wqRZm6lciPrTOHi8B_ly4eoiBqCUowixz38RbSU,36652
167
- not1mm-24.11.23.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
168
- not1mm-24.11.23.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
169
- not1mm-24.11.23.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
170
- not1mm-24.11.23.dist-info/RECORD,,
165
+ not1mm-24.11.24.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
166
+ not1mm-24.11.24.1.dist-info/METADATA,sha256=T3IWvMbJdNfDupnG8GamPM_W7zCSfHo_z2dzcuONA1E,36616
167
+ not1mm-24.11.24.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
168
+ not1mm-24.11.24.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
169
+ not1mm-24.11.24.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
170
+ not1mm-24.11.24.1.dist-info/RECORD,,