not1mm 24.4.1.2__py3-none-any.whl → 24.4.2.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 +137 -90
- not1mm/bandmap.py +50 -23
- not1mm/checkwindow.py +45 -21
- not1mm/data/checkwindow.ui +1 -1
- not1mm/data/cty.json +1 -1
- not1mm/data/vfo.ui +18 -0
- not1mm/lib/about.py +1 -1
- not1mm/lib/edit_contact.py +1 -1
- not1mm/lib/edit_macro.py +1 -1
- not1mm/lib/edit_opon.py +1 -1
- not1mm/lib/edit_station.py +2 -1
- not1mm/lib/lookup.py +6 -0
- not1mm/lib/multicast.py +7 -5
- not1mm/lib/new_contest.py +1 -1
- not1mm/lib/select_contest.py +1 -1
- not1mm/lib/settings.py +1 -1
- not1mm/lib/version.py +1 -1
- not1mm/logwindow.py +59 -23
- not1mm/plugins/10_10_fall_cw.py +1 -1
- not1mm/plugins/10_10_spring_cw.py +1 -2
- not1mm/plugins/10_10_summer_phone.py +1 -1
- not1mm/plugins/10_10_winter_phone.py +1 -1
- not1mm/plugins/arrl_10m.py +1 -1
- not1mm/plugins/arrl_dx_cw.py +1 -1
- not1mm/plugins/arrl_dx_ssb.py +1 -1
- not1mm/plugins/arrl_field_day.py +1 -1
- not1mm/plugins/arrl_rtty_ru.py +1 -1
- not1mm/plugins/arrl_ss_cw.py +3 -3
- not1mm/plugins/arrl_ss_phone.py +3 -3
- not1mm/plugins/arrl_vhf_jan.py +1 -1
- not1mm/plugins/arrl_vhf_jun.py +1 -1
- not1mm/plugins/arrl_vhf_sep.py +1 -1
- not1mm/plugins/canada_day.py +1 -1
- not1mm/plugins/cq_160_cw.py +1 -1
- not1mm/plugins/cq_160_ssb.py +1 -1
- not1mm/plugins/cq_wpx_cw.py +1 -1
- not1mm/plugins/cq_wpx_ssb.py +1 -1
- not1mm/plugins/cq_ww_cw.py +1 -1
- not1mm/plugins/cq_ww_ssb.py +1 -1
- not1mm/plugins/cwt.py +1 -1
- not1mm/plugins/general_logging.py +1 -1
- not1mm/plugins/iaru_hf.py +1 -1
- not1mm/plugins/jidx_cw.py +1 -1
- not1mm/plugins/jidx_ph.py +1 -1
- not1mm/plugins/naqp_cw.py +1 -1
- not1mm/plugins/naqp_ssb.py +1 -1
- not1mm/plugins/phone_weekly_test.py +1 -1
- not1mm/plugins/stew_perry_topband.py +1 -1
- not1mm/plugins/winter_field_day.py +1 -1
- not1mm/vfo.py +55 -25
- {not1mm-24.4.1.2.dist-info → not1mm-24.4.2.1.dist-info}/METADATA +9 -8
- {not1mm-24.4.1.2.dist-info → not1mm-24.4.2.1.dist-info}/RECORD +56 -56
- {not1mm-24.4.1.2.dist-info → not1mm-24.4.2.1.dist-info}/LICENSE +0 -0
- {not1mm-24.4.1.2.dist-info → not1mm-24.4.2.1.dist-info}/WHEEL +0 -0
- {not1mm-24.4.1.2.dist-info → not1mm-24.4.2.1.dist-info}/entry_points.txt +0 -0
- {not1mm-24.4.1.2.dist-info → not1mm-24.4.2.1.dist-info}/top_level.txt +0 -0
not1mm/checkwindow.py
CHANGED
@@ -12,10 +12,9 @@ import queue
|
|
12
12
|
from json import loads
|
13
13
|
import Levenshtein
|
14
14
|
|
15
|
-
from
|
16
|
-
from
|
17
|
-
from
|
18
|
-
from PyQt5.QtGui import QMouseEvent
|
15
|
+
from PyQt6 import QtGui, uic, QtCore
|
16
|
+
from PyQt6.QtWidgets import QLabel, QVBoxLayout, QWidget, QDockWidget
|
17
|
+
from PyQt6.QtGui import QMouseEvent, QColorConstants
|
19
18
|
|
20
19
|
import not1mm.fsutils as fsutils
|
21
20
|
from not1mm.lib.database import DataBase
|
@@ -41,8 +40,8 @@ class CheckWindow(QDockWidget):
|
|
41
40
|
|
42
41
|
masterScrollWidget: QWidget = None
|
43
42
|
|
44
|
-
def __init__(self
|
45
|
-
super().__init__(
|
43
|
+
def __init__(self):
|
44
|
+
super().__init__()
|
46
45
|
self.load_pref()
|
47
46
|
self.dbname = fsutils.USER_DATA_PATH / self.pref.get(
|
48
47
|
"current_database", "ham.db"
|
@@ -51,7 +50,12 @@ class CheckWindow(QDockWidget):
|
|
51
50
|
self.database.current_contest = self.pref.get("contest", 0)
|
52
51
|
|
53
52
|
uic.loadUi(fsutils.APP_DATA_PATH / "checkwindow.ui", self)
|
54
|
-
|
53
|
+
self.setFeatures(
|
54
|
+
QDockWidget.DockWidgetFeature.DockWidgetMovable
|
55
|
+
| QDockWidget.DockWidgetFeature.DockWidgetFloatable
|
56
|
+
| QDockWidget.DockWidgetFeature.DockWidgetClosable
|
57
|
+
)
|
58
|
+
self.setAllowedAreas(QtCore.Qt.DockWidgetArea.AllDockWidgetAreas)
|
55
59
|
self.mscp = SCP(fsutils.APP_DATA_PATH)
|
56
60
|
self._udpwatch = None
|
57
61
|
self.udp_fifo = queue.Queue()
|
@@ -78,25 +82,45 @@ class CheckWindow(QDockWidget):
|
|
78
82
|
darkPalette = QtGui.QPalette()
|
79
83
|
darkColor = QtGui.QColor(56, 56, 56)
|
80
84
|
disabledColor = QtGui.QColor(127, 127, 127)
|
81
|
-
darkPalette.setColor(QtGui.QPalette.Window, darkColor)
|
82
|
-
darkPalette.setColor(
|
83
|
-
|
84
|
-
|
85
|
-
darkPalette.setColor(
|
85
|
+
darkPalette.setColor(QtGui.QPalette.ColorRole.Window, darkColor)
|
86
|
+
darkPalette.setColor(
|
87
|
+
QtGui.QPalette.ColorRole.WindowText, QColorConstants.White
|
88
|
+
)
|
89
|
+
darkPalette.setColor(
|
90
|
+
QtGui.QPalette.ColorRole.Base, QtGui.QColor(45, 45, 45)
|
91
|
+
)
|
92
|
+
darkPalette.setColor(QtGui.QPalette.ColorRole.AlternateBase, darkColor)
|
93
|
+
darkPalette.setColor(QtGui.QPalette.ColorRole.Text, QColorConstants.White)
|
94
|
+
darkPalette.setColor(
|
95
|
+
QtGui.QPalette.ColorGroup.Disabled,
|
96
|
+
QtGui.QPalette.ColorRole.Text,
|
97
|
+
disabledColor,
|
98
|
+
)
|
99
|
+
darkPalette.setColor(QtGui.QPalette.ColorRole.Button, darkColor)
|
100
|
+
darkPalette.setColor(
|
101
|
+
QtGui.QPalette.ColorRole.ButtonText, QColorConstants.White
|
102
|
+
)
|
103
|
+
darkPalette.setColor(
|
104
|
+
QtGui.QPalette.ColorGroup.Disabled,
|
105
|
+
QtGui.QPalette.ColorRole.ButtonText,
|
106
|
+
disabledColor,
|
107
|
+
)
|
108
|
+
darkPalette.setColor(
|
109
|
+
QtGui.QPalette.ColorRole.BrightText, QColorConstants.Red
|
110
|
+
)
|
111
|
+
darkPalette.setColor(
|
112
|
+
QtGui.QPalette.ColorRole.Link, QtGui.QColor(42, 130, 218)
|
113
|
+
)
|
86
114
|
darkPalette.setColor(
|
87
|
-
QtGui.QPalette.
|
115
|
+
QtGui.QPalette.ColorRole.Highlight, QtGui.QColor(42, 130, 218)
|
88
116
|
)
|
89
|
-
darkPalette.setColor(QtGui.QPalette.Button, darkColor)
|
90
|
-
darkPalette.setColor(QtGui.QPalette.ButtonText, Qt.white)
|
91
117
|
darkPalette.setColor(
|
92
|
-
QtGui.QPalette.
|
118
|
+
QtGui.QPalette.ColorRole.HighlightedText, QColorConstants.Black
|
93
119
|
)
|
94
|
-
darkPalette.setColor(QtGui.QPalette.BrightText, Qt.red)
|
95
|
-
darkPalette.setColor(QtGui.QPalette.Link, QtGui.QColor(42, 130, 218))
|
96
|
-
darkPalette.setColor(QtGui.QPalette.Highlight, QtGui.QColor(42, 130, 218))
|
97
|
-
darkPalette.setColor(QtGui.QPalette.HighlightedText, Qt.black)
|
98
120
|
darkPalette.setColor(
|
99
|
-
QtGui.QPalette.Disabled,
|
121
|
+
QtGui.QPalette.ColorGroup.Disabled,
|
122
|
+
QtGui.QPalette.ColorRole.HighlightedText,
|
123
|
+
disabledColor,
|
100
124
|
)
|
101
125
|
|
102
126
|
self.setPalette(darkPalette)
|