not1mm 25.1.25__py3-none-any.whl → 25.1.25.2__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:
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.1.25"
3
+ __version__ = "25.1.25.2"
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', '')}")
not1mm/ratewindow.py CHANGED
@@ -62,6 +62,11 @@ class RateWindow(QDockWidget):
62
62
 
63
63
  if packet.get("cmd", "") == "NEWDB":
64
64
  self.load_pref()
65
+ self.dbname = fsutils.USER_DATA_PATH / self.pref.get(
66
+ "current_database", "ham.db"
67
+ )
68
+ self.database = DataBase(self.dbname, fsutils.APP_DATA_PATH)
69
+ self.database.current_contest = self.pref.get("contest", 0)
65
70
 
66
71
  def setActive(self, mode: bool):
67
72
  self.active = bool(mode)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: not1mm
3
- Version: 25.1.25
3
+ Version: 25.1.25.2
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-25-2] Add call history to REF CW and SSB.
239
+ - [25-1-25-1] Fix:ratewindow failed to change stats when contest changed.
238
240
  - [25-1-25] Fix app not following radio mode. Fix crash on recalc mults.
239
241
  - [25-1-24] Fix mismatched quotes causing crash.
240
242
  - [25-1-23] Added a basic rate window. Changed DB to WAL mode.
@@ -1,12 +1,12 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=aBVK-7dZDYKD2dsqmhIAzpxBG_pRpzKBm6W5aIEFwPU,146487
2
+ not1mm/__main__.py,sha256=285Tr_HoB3wzLEf_YOq6RS4XpediF2c5kbHEZ76m5GQ,146489
3
3
  not1mm/bandmap.py,sha256=zD3aUf36NVQCy0plAcZLNxYhSEM9xZ8J1Cu9vrcFPYA,31136
4
4
  not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
6
6
  not1mm/logwindow.py,sha256=TvpzQTNB92hISlUO3iWBqtlPmlebdhOkAArx0DNGcOs,43966
7
7
  not1mm/lookupservice.py,sha256=GkY_qHZfrW6XHf8upIoaG4hCFqm0fg6Ganu9ConGrIc,2628
8
8
  not1mm/radio.py,sha256=_b-tSFuDLoBKnABxrsafGQu2p33U-KOubY7-qgLV2yg,5408
9
- not1mm/ratewindow.py,sha256=AtYBx7nIWbE-VlzTzJME2C8fReAFgTdXFH2cwvzqfbk,9621
9
+ not1mm/ratewindow.py,sha256=UVkQt0nSB2COQlJQV6tFtsz4mP7d-Wj9jcjqvZw934Q,9891
10
10
  not1mm/rtc_service.py,sha256=axAwnCBuTr-QL0YwXtWvg9tjwhcFsiiEZFgFjOofX6k,2816
11
11
  not1mm/test.py,sha256=RN71m2S9MPIOJMaoCi0wZhwEhpEZunvtosZxaKahRB4,101
12
12
  not1mm/vfo.py,sha256=ggPyWtxMbdSE5RwdK0nDRwDNqOxdpb_pvnzZdbzZVQE,11136
@@ -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=E6ObVKkr2CzxCjcL9do4aooi7hdONzqxNEyh-kCzoPU,48
119
+ not1mm/lib/version.py,sha256=vFO3obc8dwJQug3-AOPlXeWI1DsnOQdcPHH6FKgEjyY,50
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.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
169
- not1mm-25.1.25.dist-info/METADATA,sha256=5XnePqRysZ_uS1WwFVRaNfNuKcA0nbAbZX_AlvuAtlk,35683
170
- not1mm-25.1.25.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
171
- not1mm-25.1.25.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
172
- not1mm-25.1.25.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
173
- not1mm-25.1.25.dist-info/RECORD,,
168
+ not1mm-25.1.25.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
169
+ not1mm-25.1.25.2.dist-info/METADATA,sha256=SjKawHLBmkbcvqJWN5kIb1mUBqYSqhOZBtJpYbYkVf0,35809
170
+ not1mm-25.1.25.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
171
+ not1mm-25.1.25.2.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
172
+ not1mm-25.1.25.2.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
173
+ not1mm-25.1.25.2.dist-info/RECORD,,