not1mm 25.3.25__py3-none-any.whl → 25.3.25.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 +3 -0
- not1mm/lib/version.py +1 -1
- not1mm/logwindow.py +14 -0
- not1mm/statistics.py +6 -4
- {not1mm-25.3.25.dist-info → not1mm-25.3.25.1.dist-info}/METADATA +2 -1
- {not1mm-25.3.25.dist-info → not1mm-25.3.25.1.dist-info}/RECORD +10 -10
- {not1mm-25.3.25.dist-info → not1mm-25.3.25.1.dist-info}/WHEEL +0 -0
- {not1mm-25.3.25.dist-info → not1mm-25.3.25.1.dist-info}/entry_points.txt +0 -0
- {not1mm-25.3.25.dist-info → not1mm-25.3.25.1.dist-info}/licenses/LICENSE +0 -0
- {not1mm-25.3.25.dist-info → not1mm-25.3.25.1.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
@@ -864,6 +864,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
864
864
|
def dockwidget_message(self, msg):
|
865
865
|
"""signal from bandmap"""
|
866
866
|
if msg:
|
867
|
+
if msg.get("cmd", "") == "CONTACTCHANGED":
|
868
|
+
if self.statistics_window:
|
869
|
+
self.statistics_window.msg_from_main(msg)
|
867
870
|
if msg.get("cmd", "") == "GETCOLUMNS":
|
868
871
|
if hasattr(self.contest, "columns"):
|
869
872
|
cmd = {}
|
not1mm/lib/version.py
CHANGED
not1mm/logwindow.py
CHANGED
@@ -409,6 +409,10 @@ class LogWindow(QDockWidget):
|
|
409
409
|
}
|
410
410
|
self.database.change_contact(db_record)
|
411
411
|
|
412
|
+
cmd = {}
|
413
|
+
cmd["cmd"] = "CONTACTCHANGED"
|
414
|
+
self.message.emit(cmd)
|
415
|
+
|
412
416
|
if self.n1mm.send_contact_packets:
|
413
417
|
self.n1mm.contact_info["timestamp"] = db_record["TS"]
|
414
418
|
self.n1mm.contact_info["contestname"] = self.contact["ContestName"].replace(
|
@@ -522,6 +526,10 @@ class LogWindow(QDockWidget):
|
|
522
526
|
}
|
523
527
|
self.database.change_contact(db_record)
|
524
528
|
|
529
|
+
cmd = {}
|
530
|
+
cmd["cmd"] = "CONTACTCHANGED"
|
531
|
+
self.message.emit(cmd)
|
532
|
+
|
525
533
|
if self.n1mm.send_contact_packets:
|
526
534
|
self.n1mm.contact_info["timestamp"] = db_record["TS"]
|
527
535
|
self.n1mm.contact_info["contestname"] = self.contact["ContestName"].replace(
|
@@ -736,6 +744,9 @@ class LogWindow(QDockWidget):
|
|
736
744
|
|
737
745
|
self.database.change_contact(self.contact)
|
738
746
|
self.get_log()
|
747
|
+
cmd = {}
|
748
|
+
cmd["cmd"] = "CONTACTCHANGED"
|
749
|
+
self.message.emit(cmd)
|
739
750
|
self.show_like_calls(self.contact.get("Call", ""))
|
740
751
|
|
741
752
|
def delete_contact(self) -> None:
|
@@ -763,6 +774,9 @@ class LogWindow(QDockWidget):
|
|
763
774
|
self.n1mm.send_contact_delete()
|
764
775
|
self.edit_contact_dialog.close()
|
765
776
|
self.get_log()
|
777
|
+
cmd = {}
|
778
|
+
cmd["cmd"] = "CONTACTCHANGED"
|
779
|
+
self.message.emit(cmd)
|
766
780
|
self.show_like_calls(self.contact.get("Call", ""))
|
767
781
|
|
768
782
|
def get_log(self) -> None:
|
not1mm/statistics.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6
6
|
|
7
7
|
from PyQt6 import uic, QtWidgets
|
8
8
|
from PyQt6.QtWidgets import QDockWidget
|
9
|
-
from PyQt6.QtCore import pyqtSignal
|
9
|
+
from PyQt6.QtCore import pyqtSignal
|
10
10
|
|
11
11
|
from PyQt6.QtGui import QColorConstants, QPalette, QColor
|
12
12
|
|
@@ -43,9 +43,6 @@ class StatsWindow(QDockWidget):
|
|
43
43
|
self.database = DataBase(self.dbname, fsutils.APP_DATA_PATH)
|
44
44
|
self.database.current_contest = self.pref.get("contest", 0)
|
45
45
|
uic.loadUi(fsutils.APP_DATA_PATH / "statistics.ui", self)
|
46
|
-
self.timer = QTimer()
|
47
|
-
self.timer.timeout.connect(self.get_run_and_total_qs)
|
48
|
-
self.timer.start(5000)
|
49
46
|
|
50
47
|
def msg_from_main(self, packet):
|
51
48
|
""""""
|
@@ -56,6 +53,10 @@ class StatsWindow(QDockWidget):
|
|
56
53
|
if self.active is False:
|
57
54
|
return
|
58
55
|
|
56
|
+
if packet.get("cmd", "") == "CONTACTCHANGED":
|
57
|
+
self.get_run_and_total_qs()
|
58
|
+
return
|
59
|
+
|
59
60
|
if packet.get("cmd", "") == "UPDATELOG":
|
60
61
|
logger.debug("External refresh command.")
|
61
62
|
self.get_run_and_total_qs()
|
@@ -68,6 +69,7 @@ class StatsWindow(QDockWidget):
|
|
68
69
|
)
|
69
70
|
self.database = DataBase(self.dbname, fsutils.APP_DATA_PATH)
|
70
71
|
self.database.current_contest = self.pref.get("contest", 0)
|
72
|
+
self.get_run_and_total_qs()
|
71
73
|
|
72
74
|
def setActive(self, mode: bool) -> None:
|
73
75
|
self.active = bool(mode)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: not1mm
|
3
|
-
Version: 25.3.25
|
3
|
+
Version: 25.3.25.1
|
4
4
|
Summary: NOT1MM Logger
|
5
5
|
Author-email: Michael Bridak <michael.bridak@gmail.com>
|
6
6
|
License: GPL-3.0-or-later
|
@@ -247,6 +247,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
247
247
|
|
248
248
|
## Recent Changes
|
249
249
|
|
250
|
+
- [25-3-25-1] Improved process messaging.
|
250
251
|
- [25-3-25] Use safer dict key access in the stats window.
|
251
252
|
- [25-3-24] Add CW, PH, DI counts to the statistics window.
|
252
253
|
- [25-3-23] Add a statistics window.
|
@@ -1,14 +1,14 @@
|
|
1
1
|
not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
not1mm/__main__.py,sha256=
|
2
|
+
not1mm/__main__.py,sha256=9ZLWDHNb5qJuxMEg5GKeD20UXuRHlrR-rIeN2u21Csw,151697
|
3
3
|
not1mm/bandmap.py,sha256=mdSK6oj8plEmr6WVYkzPTCfsHWKl9lea3R14cmRsAI4,31531
|
4
4
|
not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
|
5
5
|
not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
|
6
|
-
not1mm/logwindow.py,sha256=
|
6
|
+
not1mm/logwindow.py,sha256=Djobfy13WQ0yZWw2ET6mDUsuJEOvbrsbt2RS0fW8-4E,44700
|
7
7
|
not1mm/lookupservice.py,sha256=GkY_qHZfrW6XHf8upIoaG4hCFqm0fg6Ganu9ConGrIc,2628
|
8
8
|
not1mm/radio.py,sha256=_b-tSFuDLoBKnABxrsafGQu2p33U-KOubY7-qgLV2yg,5408
|
9
9
|
not1mm/ratewindow.py,sha256=UVkQt0nSB2COQlJQV6tFtsz4mP7d-Wj9jcjqvZw934Q,9891
|
10
10
|
not1mm/rtc_service.py,sha256=axAwnCBuTr-QL0YwXtWvg9tjwhcFsiiEZFgFjOofX6k,2816
|
11
|
-
not1mm/statistics.py,sha256=
|
11
|
+
not1mm/statistics.py,sha256=vZ76iaMZQLgOriKAg9SicmA_Y9qdiqHJ2T7IoOO5iXo,9620
|
12
12
|
not1mm/test.py,sha256=RN71m2S9MPIOJMaoCi0wZhwEhpEZunvtosZxaKahRB4,101
|
13
13
|
not1mm/vfo.py,sha256=ggPyWtxMbdSE5RwdK0nDRwDNqOxdpb_pvnzZdbzZVQE,11136
|
14
14
|
not1mm/voice_keying.py,sha256=HZImqC5NgnyW2nknNYQ3b7I8-6S_hxpq5G4RcIRXn_k,3005
|
@@ -118,7 +118,7 @@ not1mm/lib/plugin_common.py,sha256=D1OBjyLmX7zuSPqgTCmHwXzAKA12J_zTQItvyIem-4Y,1
|
|
118
118
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
119
119
|
not1mm/lib/settings.py,sha256=mXffn8Xaj5KATPQinNBR0V5DbHWQPsRfh24_axWGYuk,15254
|
120
120
|
not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
|
121
|
-
not1mm/lib/version.py,sha256=
|
121
|
+
not1mm/lib/version.py,sha256=SKj4r7lEIjLeD8QQRRVxsZuo0H-n3mXD10xKg4YlIFo,50
|
122
122
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
123
123
|
not1mm/plugins/10_10_fall_cw.py,sha256=P63dEhRmvsEV7ixHYg-qhs5zzj0_DJXjjPHQBQr8Wwg,14731
|
124
124
|
not1mm/plugins/10_10_spring_cw.py,sha256=S_z-KbExH4_kfRbKo07zM-iVlJUKxFwzbm6LRnXYyNU,14734
|
@@ -173,9 +173,9 @@ not1mm/plugins/ref_ssb.py,sha256=tGK5XeFrc3z7l8OViG9DM3rc4HLUBF9S3SUkaAPrjQk,215
|
|
173
173
|
not1mm/plugins/stew_perry_topband.py,sha256=LHt0WnWMRS_m5nO9BOIQs0kO38M6x-k4eaA4nbEqDVA,15353
|
174
174
|
not1mm/plugins/weekly_rtty.py,sha256=4gfFg25KGkU9tKmwslHLc38qPAXuRGWNX48n582NC7w,20078
|
175
175
|
not1mm/plugins/winter_field_day.py,sha256=jLgEr95hJCZoc3Fi95PiNeB06thPQHFI3zOHmR6NprE,15234
|
176
|
-
not1mm-25.3.25.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
177
|
-
not1mm-25.3.25.dist-info/METADATA,sha256=
|
178
|
-
not1mm-25.3.25.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
179
|
-
not1mm-25.3.25.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
180
|
-
not1mm-25.3.25.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
181
|
-
not1mm-25.3.25.dist-info/RECORD,,
|
176
|
+
not1mm-25.3.25.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
177
|
+
not1mm-25.3.25.1.dist-info/METADATA,sha256=acj-Ll6ob6QsRdAa8uAjZvWUtb3Y1nYreeUPyVifVzc,37395
|
178
|
+
not1mm-25.3.25.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
179
|
+
not1mm-25.3.25.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
180
|
+
not1mm-25.3.25.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
181
|
+
not1mm-25.3.25.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|