not1mm 24.10.27.1__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 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
- # Featureset for wayland
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()
@@ -3109,6 +3124,9 @@ class MainWindow(QtWidgets.QMainWindow):
3109
3124
  if self.lookup_service:
3110
3125
  self.lookup_service.msg_from_main(cmd)
3111
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)
3112
3130
  return
3113
3131
  cmd = {}
3114
3132
  cmd["cmd"] = "CALLCHANGED"
@@ -3278,7 +3296,11 @@ class MainWindow(QtWidgets.QMainWindow):
3278
3296
  )
3279
3297
  if len(callsign) > 2:
3280
3298
  if self.contest:
3281
- self.contest.prefill(self)
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)
3282
3304
 
3283
3305
  def check_dupe(self, call: str) -> bool:
3284
3306
  """Checks if a callsign is a dupe on current band/mode."""
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.10.27.1"
3
+ __version__ = "24.10.27.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.10.27.1
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,7 @@ 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.
235
236
  - [24-10-27-1] Fixed setting radios ssb mode when crossing 10M boundary.
236
237
  - [24-10-27] Fix bug where a contacts info could be carried over to new contact if no new value was written.
237
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.
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=QQQ5eU9UBMt1mCVZB_MGbGJZP_CszuMHP7YAG_1ENKo,135632
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=xy8vIb9UKfyZu2814pEtuZUCDVSE7Oki0UJzagb1_8Q,51
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.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
164
- not1mm-24.10.27.1.dist-info/METADATA,sha256=5N1Y7hnZyFuKUFhQ8qHuKFsi_tGPIdKEzJ3WB3elEYI,35619
165
- not1mm-24.10.27.1.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
166
- not1mm-24.10.27.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
167
- not1mm-24.10.27.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
168
- not1mm-24.10.27.1.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,,