not1mm 25.1.25.1__py3-none-any.whl → 25.1.26__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 CHANGED
@@ -755,8 +755,8 @@ class MainWindow(QtWidgets.QMainWindow):
755
755
  if "!!Order!!" in lines[0]:
756
756
  item_names = lines[0].strip().split(",")
757
757
  # ['!!Order!!', 'Call', 'Sect', 'State', 'CK', 'UserText', '']
758
- item_names = item_names[1:-1]
759
- # ['Call', 'Sect', 'State', 'CK', 'UserText']
758
+ item_names = item_names[1:]
759
+ # ['Call', 'Sect', 'State', 'CK', 'UserText', '']
760
760
  lines = lines[1:]
761
761
  group_list = []
762
762
  for line in lines:
@@ -2774,6 +2774,23 @@ class MainWindow(QtWidgets.QMainWindow):
2774
2774
  if "{LOGIT}" in macro:
2775
2775
  macro = macro.replace("{LOGIT}", "")
2776
2776
  self.save_contact()
2777
+ if "{MARK}" in macro:
2778
+ macro = macro.replace("{MARK}", "")
2779
+ self.mark_spot()
2780
+ if "{SPOT}" in macro:
2781
+ macro = macro.replace("{SPOT}", "")
2782
+ self.spot_dx()
2783
+ if "{RUN}" in macro:
2784
+ macro = macro.replace("{RUN}", "")
2785
+ self.radioButton_run.setChecked(True)
2786
+ self.run_sp_buttons_clicked()
2787
+ if "{SANDP}" in macro:
2788
+ macro = macro.replace("{SANDP}", "")
2789
+ self.radioButton_sp.setChecked(True)
2790
+ self.run_sp_buttons_clicked()
2791
+ if "{WIPE}" in macro:
2792
+ macro = macro.replace("{WIPE}", "")
2793
+ self.clearinputs()
2777
2794
  return macro
2778
2795
 
2779
2796
  def ptt_on(self) -> None:
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.1.25.1"
3
+ __version__ = "25.1.26"
not1mm/plugins/ref_cw.py CHANGED
@@ -631,3 +631,22 @@ def get_mults(self):
631
631
  def just_points(self):
632
632
  """Get points for RTC XML"""
633
633
  return get_points(self)
634
+
635
+
636
+ def populate_history_info_line(self):
637
+ result = self.database.fetch_call_history(self.callsign.text())
638
+ if result:
639
+ self.history_info.setText(
640
+ f"{result.get('Call', '')}, {result.get('Exch1', '')}, {result.get('UserText','...')}"
641
+ )
642
+ else:
643
+ self.history_info.setText("")
644
+
645
+
646
+ def check_call_history(self):
647
+ """"""
648
+ result = self.database.fetch_call_history(self.callsign.text())
649
+ if result:
650
+ self.history_info.setText(f"{result.get('UserText','')}")
651
+ if self.other_2.text() == "":
652
+ self.other_2.setText(f"{result.get('Exch1', '')}")
not1mm/plugins/ref_ssb.py CHANGED
@@ -646,3 +646,22 @@ def get_mults(self):
646
646
  def just_points(self):
647
647
  """Get points for RTC XML"""
648
648
  return get_points(self)
649
+
650
+
651
+ def populate_history_info_line(self):
652
+ result = self.database.fetch_call_history(self.callsign.text())
653
+ if result:
654
+ self.history_info.setText(
655
+ f"{result.get('Call', '')}, {result.get('Exch1', '')}, {result.get('UserText','...')}"
656
+ )
657
+ else:
658
+ self.history_info.setText("")
659
+
660
+
661
+ def check_call_history(self):
662
+ """"""
663
+ result = self.database.fetch_call_history(self.callsign.text())
664
+ if result:
665
+ self.history_info.setText(f"{result.get('UserText','')}")
666
+ if self.other_2.text() == "":
667
+ self.other_2.setText(f"{result.get('Exch1', '')}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: not1mm
3
- Version: 25.1.25.1
3
+ Version: 25.1.26
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
@@ -235,6 +235,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
235
235
 
236
236
  ## Recent Changes (Polishing the Turd)
237
237
 
238
+ - [25-1-26] Add macros for MARK, SPOT, WIPE, RUN, SANDP.
239
+ - [25-1-25-2] Add call history to REF CW and SSB.
238
240
  - [25-1-25-1] Fix:ratewindow failed to change stats when contest changed.
239
241
  - [25-1-25] Fix app not following radio mode. Fix crash on recalc mults.
240
242
  - [25-1-24] Fix mismatched quotes causing crash.
@@ -667,6 +669,11 @@ You can include a limited set of substitution instructions.
667
669
  | {SENTNR} | Sends whats in the SentNR field. |
668
670
  | {EXCH} | Sends what's in the Sent Exchange field when contest is defined. |
669
671
  | {LOGIT} | Log the contact after macro pressed. |
672
+ | {MARK} | Mark the current call in the bandmap. |
673
+ | {SPOT} | Spot the current call to the cluster. |
674
+ | {RUN} | Change to Run mode. |
675
+ | {SANDP} | Change to S&P mode. |
676
+ | {WIPE} | Wipe input fields. |
670
677
  | '#' | Sends serial number. |
671
678
 
672
679
  ### Macro use with voice
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=aBVK-7dZDYKD2dsqmhIAzpxBG_pRpzKBm6W5aIEFwPU,146487
2
+ not1mm/__main__.py,sha256=FWmlZTC3tuBkQvowFLO7hhC9aI_aZNb3c12X8RZ0N0M,147149
3
3
  not1mm/bandmap.py,sha256=zD3aUf36NVQCy0plAcZLNxYhSEM9xZ8J1Cu9vrcFPYA,31136
4
4
  not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
@@ -116,7 +116,7 @@ not1mm/lib/plugin_common.py,sha256=M5reDYM-v5IjAa2yTROvZTeTDkXYHb3U52W9mc9GxwA,1
116
116
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
117
117
  not1mm/lib/settings.py,sha256=j5lIMLHJ-eqIaVr_QhI82gkbOl17_C-5suRkWbHYET8,14717
118
118
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
119
- not1mm/lib/version.py,sha256=oJWjR0TV30rzQwQ8CY6tRulqn2epZ2zzYV1gtexzUl4,50
119
+ not1mm/lib/version.py,sha256=c2NmYvrL8GMNfqgwSc4pepSoYcx-ohNh20H-sRZU0mA,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
@@ -160,14 +160,14 @@ not1mm/plugins/naqp_rtty.py,sha256=JbjsY9DvVexXdzoPE4k9zSmcYNEMQpB9lrxdRxl_ldc,2
160
160
  not1mm/plugins/naqp_ssb.py,sha256=4ZnlvCwvuX53dvqQdsdj6ipE8U7MZBPKPkMgxdDuzF8,17814
161
161
  not1mm/plugins/phone_weekly_test.py,sha256=9Ue-n4VnZoFOc47ubaegT6ky0-38flMnm5VeieAk_UA,16308
162
162
  not1mm/plugins/raem.py,sha256=yF4WK-T8aPDxSI3pxVwYW-Q7eW9n5gvuaslEBoTYcsI,19562
163
- not1mm/plugins/ref_cw.py,sha256=f7sehgS1O_W9ArqLgBRyTTFFs6N0MhXp08iLBFr1Tvk,20711
164
- not1mm/plugins/ref_ssb.py,sha256=LaMvATfTZR9xyz6_SyPDANkRycLUl-8usXNIEJOPncE,20922
163
+ not1mm/plugins/ref_cw.py,sha256=R5W2rooxjsKvbLvEm-kr6kFLrzB6T60fVUl2ETei7ws,21319
164
+ not1mm/plugins/ref_ssb.py,sha256=Z_XmMpYKcI5dZh4TQqvQDcz-cLpMzpDEKBnb5iHeBLQ,21530
165
165
  not1mm/plugins/stew_perry_topband.py,sha256=D1hekmMbx-i4BhaP2uzOK3OzaVVMMdgcN3RmfweNqHo,15341
166
166
  not1mm/plugins/weekly_rtty.py,sha256=rdlIrsxBeuj-RQc5OStVNF7sGCtBK5t6inN5Z7DI4tw,20066
167
167
  not1mm/plugins/winter_field_day.py,sha256=JK4r1vfxs7aADR7ZYbjZniz3f5s3_ipSQDZ0GRNWC7I,15222
168
- not1mm-25.1.25.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
169
- not1mm-25.1.25.1.dist-info/METADATA,sha256=1SnUlwAaNNPaQtdpFc6NRxNmlTOCxv8X5BhwfnTi9Fc,35759
170
- not1mm-25.1.25.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
171
- not1mm-25.1.25.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
172
- not1mm-25.1.25.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
173
- not1mm-25.1.25.1.dist-info/RECORD,,
168
+ not1mm-25.1.26.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
169
+ not1mm-25.1.26.dist-info/METADATA,sha256=iXMDbF4z6FzXGatxDD6T48vNADbNX2OBaD5WcZB2PYI,36064
170
+ not1mm-25.1.26.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
171
+ not1mm-25.1.26.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
172
+ not1mm-25.1.26.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
173
+ not1mm-25.1.26.dist-info/RECORD,,