not1mm 24.10.27__py3-none-any.whl → 24.10.27.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 +42 -12
- not1mm/lib/version.py +1 -1
- {not1mm-24.10.27.dist-info → not1mm-24.10.27.2.dist-info}/METADATA +3 -1
- {not1mm-24.10.27.dist-info → not1mm-24.10.27.2.dist-info}/RECORD +8 -8
- {not1mm-24.10.27.dist-info → not1mm-24.10.27.2.dist-info}/LICENSE +0 -0
- {not1mm-24.10.27.dist-info → not1mm-24.10.27.2.dist-info}/WHEEL +0 -0
- {not1mm-24.10.27.dist-info → not1mm-24.10.27.2.dist-info}/entry_points.txt +0 -0
- {not1mm-24.10.27.dist-info → not1mm-24.10.27.2.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
@@ -37,6 +37,7 @@ from PyQt6 import QtCore, QtGui, QtWidgets, uic
|
|
37
37
|
from PyQt6.QtCore import QDir, Qt, QThread, QSettings, QCoreApplication
|
38
38
|
from PyQt6.QtGui import QFontDatabase, QColorConstants, QPalette, QColor, QPixmap
|
39
39
|
from PyQt6.QtWidgets import QFileDialog, QSplashScreen, QApplication
|
40
|
+
from PyQt6.QtCore import QT_VERSION_STR, PYQT_VERSION_STR
|
40
41
|
|
41
42
|
from not1mm.lib.about import About
|
42
43
|
from not1mm.lib.cwinterface import CW
|
@@ -589,7 +590,21 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
589
590
|
self.voice_process.current_op = self.current_op
|
590
591
|
self.make_op_dir()
|
591
592
|
|
592
|
-
|
593
|
+
logger.debug(f"{QT_VERSION_STR=} {PYQT_VERSION_STR=}")
|
594
|
+
x = PYQT_VERSION_STR.split(".")
|
595
|
+
old_Qt = True
|
596
|
+
# test if pyqt version is at least 6.7.1
|
597
|
+
if len(x) == 1:
|
598
|
+
if int(x[0]) > 6:
|
599
|
+
old_Qt = False
|
600
|
+
elif len(x) == 2:
|
601
|
+
if int(x[0]) >= 6 and int(x[1]) > 8:
|
602
|
+
old_Qt = False
|
603
|
+
elif len(x) == 3:
|
604
|
+
if int(x[0]) >= 6 and int(x[1]) >= 7 and int(x[2]) >= 2:
|
605
|
+
old_Qt = False
|
606
|
+
|
607
|
+
# Featureset for wayland if pyqt is older that 6.7.1
|
593
608
|
dockfeatures = (
|
594
609
|
QtWidgets.QDockWidget.DockWidgetFeature.DockWidgetClosable
|
595
610
|
| QtWidgets.QDockWidget.DockWidgetFeature.DockWidgetMovable
|
@@ -598,7 +613,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
598
613
|
self.show_splash_msg("Setting up BandMapWindow.")
|
599
614
|
self.bandmap_window = BandMapWindow()
|
600
615
|
self.bandmap_window.setObjectName("bandmap-window")
|
601
|
-
if os.environ.get("WAYLAND_DISPLAY"):
|
616
|
+
if os.environ.get("WAYLAND_DISPLAY") and old_Qt is True:
|
602
617
|
self.bandmap_window.setFeatures(dockfeatures)
|
603
618
|
self.addDockWidget(Qt.DockWidgetArea.LeftDockWidgetArea, self.bandmap_window)
|
604
619
|
self.bandmap_window.hide()
|
@@ -609,7 +624,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
609
624
|
self.show_splash_msg("Setting up CheckWindow.")
|
610
625
|
self.check_window = CheckWindow()
|
611
626
|
self.check_window.setObjectName("check-window")
|
612
|
-
if os.environ.get("WAYLAND_DISPLAY"):
|
627
|
+
if os.environ.get("WAYLAND_DISPLAY") and old_Qt is True:
|
613
628
|
self.check_window.setFeatures(dockfeatures)
|
614
629
|
self.addDockWidget(Qt.DockWidgetArea.RightDockWidgetArea, self.check_window)
|
615
630
|
self.check_window.hide()
|
@@ -618,7 +633,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
618
633
|
self.show_splash_msg("Setting up VFOWindow.")
|
619
634
|
self.vfo_window = VfoWindow()
|
620
635
|
self.vfo_window.setObjectName("vfo-window")
|
621
|
-
if os.environ.get("WAYLAND_DISPLAY"):
|
636
|
+
if os.environ.get("WAYLAND_DISPLAY") and old_Qt is True:
|
622
637
|
self.vfo_window.setFeatures(dockfeatures)
|
623
638
|
self.addDockWidget(Qt.DockWidgetArea.RightDockWidgetArea, self.vfo_window)
|
624
639
|
self.vfo_window.hide()
|
@@ -626,7 +641,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
626
641
|
self.show_splash_msg("Setting up LogWindow.")
|
627
642
|
self.log_window = LogWindow()
|
628
643
|
self.log_window.setObjectName("log-window")
|
629
|
-
if os.environ.get("WAYLAND_DISPLAY"):
|
644
|
+
if os.environ.get("WAYLAND_DISPLAY") and old_Qt is True:
|
630
645
|
self.log_window.setFeatures(dockfeatures)
|
631
646
|
self.addDockWidget(Qt.DockWidgetArea.TopDockWidgetArea, self.log_window)
|
632
647
|
self.log_window.hide()
|
@@ -1041,7 +1056,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
1041
1056
|
if mode in ["CW", "SSB", "RTTY"]:
|
1042
1057
|
freq = fakefreq(str(band), mode)
|
1043
1058
|
self.change_freq(freq)
|
1044
|
-
|
1059
|
+
vfo = float(freq)
|
1060
|
+
vfo = int(vfo * 1000)
|
1061
|
+
self.change_mode(mode, intended_freq=vfo)
|
1045
1062
|
|
1046
1063
|
def quit_app(self) -> None:
|
1047
1064
|
"""
|
@@ -3107,6 +3124,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3107
3124
|
if self.lookup_service:
|
3108
3125
|
self.lookup_service.msg_from_main(cmd)
|
3109
3126
|
self.next_field.setFocus()
|
3127
|
+
if self.contest:
|
3128
|
+
if "CQ WW" in self.contest.name or "IARU HF" in self.contest.name:
|
3129
|
+
self.contest.prefill(self)
|
3110
3130
|
return
|
3111
3131
|
cmd = {}
|
3112
3132
|
cmd["cmd"] = "CALLCHANGED"
|
@@ -3125,12 +3145,12 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3125
3145
|
|
3126
3146
|
def change_freq(self, stripped_text: str) -> None:
|
3127
3147
|
"""
|
3128
|
-
Change VFO to given frequency in Khz
|
3129
|
-
Send the new frequency to the rig control.
|
3148
|
+
Change Radios VFO to given frequency in Khz.
|
3130
3149
|
|
3131
3150
|
Parameters
|
3132
3151
|
----------
|
3133
|
-
stripped_text
|
3152
|
+
stripped_text: str
|
3153
|
+
|
3134
3154
|
Stripped of any spaces.
|
3135
3155
|
|
3136
3156
|
Returns
|
@@ -3160,7 +3180,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3160
3180
|
if self.bandmap_window:
|
3161
3181
|
self.bandmap_window.msg_from_main(cmd)
|
3162
3182
|
|
3163
|
-
def change_mode(self, mode: str) -> None:
|
3183
|
+
def change_mode(self, mode: str, intended_freq=None) -> None:
|
3164
3184
|
"""
|
3165
3185
|
Change mode to given mode.
|
3166
3186
|
Send the new mode to the rig control.
|
@@ -3208,10 +3228,16 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3208
3228
|
self.read_cw_macros()
|
3209
3229
|
return
|
3210
3230
|
if mode == "SSB":
|
3211
|
-
if
|
3231
|
+
if intended_freq:
|
3232
|
+
freq = intended_freq
|
3233
|
+
else:
|
3234
|
+
freq = int(self.radio_state.get("vfoa", 0))
|
3235
|
+
|
3236
|
+
if freq > 10000000:
|
3212
3237
|
self.radio_state["mode"] = "USB"
|
3213
3238
|
else:
|
3214
3239
|
self.radio_state["mode"] = "LSB"
|
3240
|
+
|
3215
3241
|
if self.rig_control and self.rig_control.online:
|
3216
3242
|
self.rig_control.set_mode(self.radio_state.get("mode"))
|
3217
3243
|
else:
|
@@ -3270,7 +3296,11 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3270
3296
|
)
|
3271
3297
|
if len(callsign) > 2:
|
3272
3298
|
if self.contest:
|
3273
|
-
|
3299
|
+
if (
|
3300
|
+
"CQ WW" not in self.contest.name
|
3301
|
+
and "IARU HF" not in self.contest.name
|
3302
|
+
):
|
3303
|
+
self.contest.prefill(self)
|
3274
3304
|
|
3275
3305
|
def check_dupe(self, call: str) -> bool:
|
3276
3306
|
"""Checks if a callsign is a dupe on current band/mode."""
|
not1mm/lib/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.10.27
|
3
|
+
Version: 24.10.27.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
|
@@ -232,6 +232,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
232
232
|
|
233
233
|
## Recent Changes (Polishing the Turd)
|
234
234
|
|
235
|
+
- [24-10-27-2] Changed CQ zone auto population for CQ WW, it now waits for the user to exit the callsign entry window before auto filling the zone.
|
236
|
+
- [24-10-27-1] Fixed setting radios ssb mode when crossing 10M boundary.
|
235
237
|
- [24-10-27] Fix bug where a contacts info could be carried over to new contact if no new value was written.
|
236
238
|
- [24-10-26] Clear inputs when seeking to a call from the bandmap via the arrow up and down. Fixed bandmap crash from bad telnet data. Drop beacons from bandmap.
|
237
239
|
- [24-10-25] Add File Menu option to create either an ASCII or UTF8 Cabrillo.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
not1mm/__main__.py,sha256=
|
2
|
+
not1mm/__main__.py,sha256=AWA2Dud5vG75fjxlS0gGnWrKJJaYV_rkO7-yREQWCIA,136633
|
3
3
|
not1mm/bandmap.py,sha256=X6mMHXS1kXBbUPZCaKgiVJ6Dz6DE6LEQqtEXfT3telg,30811
|
4
4
|
not1mm/checkwindow.py,sha256=F6hNCbVSLG2PPY2afgmwlBWeqr1Uj4-n__AivDLVQ_0,9670
|
5
5
|
not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
|
@@ -115,7 +115,7 @@ not1mm/lib/plugin_common.py,sha256=TbFUbftjELFt4QRdsjSHbqnXSngZOlSwlCTClqosDXA,9
|
|
115
115
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
116
116
|
not1mm/lib/settings.py,sha256=7_JFDSKPOd35Gwzqhrbed4EfrlYUm7AEnz2xBRioc-g,13280
|
117
117
|
not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
|
118
|
-
not1mm/lib/version.py,sha256=
|
118
|
+
not1mm/lib/version.py,sha256=t_SYOIINyKke0cb6vNpdKmuJ7yZ3cV5iXEIae-BqEQU,51
|
119
119
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
120
120
|
not1mm/plugins/10_10_fall_cw.py,sha256=QQjEgWQRT35qG1bi87QhoUIOzGbN8C27WIUhhoFNsAI,11866
|
121
121
|
not1mm/plugins/10_10_spring_cw.py,sha256=nGznP9VLooaDnHi0JXttosqAtSRH32oXwWmMrXf95A0,11871
|
@@ -160,9 +160,9 @@ not1mm/plugins/ref_ssb.py,sha256=UC8xwl4uRihTvlYsITCvfTCPVbNXpnO91T8qMDKaW8E,209
|
|
160
160
|
not1mm/plugins/stew_perry_topband.py,sha256=UOK9M23eMkcEB83kL8NPHl6QDBJFCXKZpBRlhfuEH2c,11581
|
161
161
|
not1mm/plugins/weekly_rtty.py,sha256=WoMfQXJczvoHQB04i6TAvL6MF91uOOQ9ZmB9BpUkOfo,19098
|
162
162
|
not1mm/plugins/winter_field_day.py,sha256=wPxHKPPeyE2XlRT6Unnz09evFwd0ghWtXU5l-nMr3aI,14492
|
163
|
-
not1mm-24.10.27.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
164
|
-
not1mm-24.10.27.dist-info/METADATA,sha256=
|
165
|
-
not1mm-24.10.27.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
166
|
-
not1mm-24.10.27.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
167
|
-
not1mm-24.10.27.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
168
|
-
not1mm-24.10.27.dist-info/RECORD,,
|
163
|
+
not1mm-24.10.27.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
164
|
+
not1mm-24.10.27.2.dist-info/METADATA,sha256=rRd4LhDlcAwDLmN-QGrE352ykLrXt2M0kXOZ1y_pmk4,35767
|
165
|
+
not1mm-24.10.27.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
166
|
+
not1mm-24.10.27.2.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
167
|
+
not1mm-24.10.27.2.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
168
|
+
not1mm-24.10.27.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|