not1mm 25.6.13__py3-none-any.whl → 25.6.13.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/lib/version.py +1 -1
- not1mm/rotator.py +18 -0
- {not1mm-25.6.13.dist-info → not1mm-25.6.13.1.dist-info}/METADATA +7 -2
- {not1mm-25.6.13.dist-info → not1mm-25.6.13.1.dist-info}/RECORD +8 -8
- {not1mm-25.6.13.dist-info → not1mm-25.6.13.1.dist-info}/WHEEL +0 -0
- {not1mm-25.6.13.dist-info → not1mm-25.6.13.1.dist-info}/entry_points.txt +0 -0
- {not1mm-25.6.13.dist-info → not1mm-25.6.13.1.dist-info}/licenses/LICENSE +0 -0
- {not1mm-25.6.13.dist-info → not1mm-25.6.13.1.dist-info}/top_level.txt +0 -0
not1mm/lib/version.py
CHANGED
not1mm/rotator.py
CHANGED
@@ -14,6 +14,7 @@ from PyQt6.QtGui import (
|
|
14
14
|
QPainterPath,
|
15
15
|
QShowEvent,
|
16
16
|
QResizeEvent,
|
17
|
+
QMouseEvent,
|
17
18
|
)
|
18
19
|
|
19
20
|
from PyQt6.QtCore import Qt, pyqtSignal, QTimer
|
@@ -330,6 +331,23 @@ class RotatorWindow(QDockWidget):
|
|
330
331
|
self.compassScene.sceneRect(), Qt.AspectRatioMode.KeepAspectRatio
|
331
332
|
)
|
332
333
|
|
334
|
+
def mousePressEvent(self, event: QMouseEvent) -> None:
|
335
|
+
"""Catch mouse clicks in the widget"""
|
336
|
+
if event.button() == Qt.MouseButton.LeftButton:
|
337
|
+
clickPos = self.compassView.mapToScene(
|
338
|
+
self.compassView.mapFromGlobal(event.globalPosition().toPoint())
|
339
|
+
)
|
340
|
+
dx: float = clickPos.x()
|
341
|
+
dy: float = -1 * clickPos.y()
|
342
|
+
if math.sqrt(math.pow(dx, 2) + math.pow(dy, 2)) <= self.GLOBE_RADIUS:
|
343
|
+
|
344
|
+
angle: float = math.degrees(math.atan2(dx, dy))
|
345
|
+
|
346
|
+
if angle < 0:
|
347
|
+
angle += 360
|
348
|
+
|
349
|
+
self.rotator.set_position(angle)
|
350
|
+
|
333
351
|
def check_rotator(self) -> None:
|
334
352
|
"""Check the rotator"""
|
335
353
|
if self.rotator.connected:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: not1mm
|
3
|
-
Version: 25.6.13
|
3
|
+
Version: 25.6.13.1
|
4
4
|
Summary: NOT1MM Logger
|
5
5
|
Author-email: Michael Bridak <michael.bridak@gmail.com>
|
6
6
|
License: GPL-3.0-or-later
|
@@ -246,6 +246,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
246
246
|
|
247
247
|
## Recent Changes
|
248
248
|
|
249
|
+
- [25-6-13] Polished up the Rotator window. Adding Stop and Park. Made the NSWE buttons smaller.
|
250
|
+
- Add mouse press event handling to RotatorWindow for position setting.
|
249
251
|
- [25-6-13] Polished up the Rotator window. Adding Stop and Park. Made the NSWE buttons smaller.
|
250
252
|
- [25-6-12] Account for no gridsquare being returned from lookup service.
|
251
253
|
- [25-6-11] Added a rotator control widget.
|
@@ -729,7 +731,10 @@ Stop: Stops the current movement.
|
|
729
731
|
|
730
732
|
Park: Parks the antenna.
|
731
733
|
|
732
|
-
N,S,W,E: Points the antenna to one of the 4 cardinal directions.
|
734
|
+
N,S,W,E: Points the antenna to one of the 4 cardinal directions.
|
735
|
+
|
736
|
+
You can also move the rotator by clicking in the globe where you want the
|
737
|
+
antenna to point.
|
733
738
|
|
734
739
|
### The Remote VFO Window
|
735
740
|
|
@@ -8,7 +8,7 @@ not1mm/logwindow.py,sha256=O2dMaT_BYWsXA_dxsEHN92JwN-qVGy9nmH0MCMaG9gY,42830
|
|
8
8
|
not1mm/lookupservice.py,sha256=GkY_qHZfrW6XHf8upIoaG4hCFqm0fg6Ganu9ConGrIc,2628
|
9
9
|
not1mm/radio.py,sha256=4Lysf9BY3vdtYCHwKfzO5WN7IGyh4_lKSVuQ6F4Z08g,5536
|
10
10
|
not1mm/ratewindow.py,sha256=iBjqdOetIEX0wSwdGM89Ibt4gVlFdE-K8HQPnkVPVOg,6965
|
11
|
-
not1mm/rotator.py,sha256=
|
11
|
+
not1mm/rotator.py,sha256=jrAqO3IkeuZcOgsYFKvEv6DY2ccV85wg0o5sdJa_EUo,12760
|
12
12
|
not1mm/rtc_service.py,sha256=axAwnCBuTr-QL0YwXtWvg9tjwhcFsiiEZFgFjOofX6k,2816
|
13
13
|
not1mm/statistics.py,sha256=eOmUvbbYdbbIYHmaEhtBGab1IxAf2RQYV1q9MItpqEM,7969
|
14
14
|
not1mm/test.py,sha256=WhL0DLlJTD15aON8Dkf2q_tlP_X1juxKZJh0jEC99tU,154
|
@@ -126,7 +126,7 @@ not1mm/lib/rot_interface.py,sha256=bOyxpV9pQHORUY5qfNZE2QAV1V71QEG2jooiI2p9AwE,3
|
|
126
126
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
127
127
|
not1mm/lib/settings.py,sha256=5xnsagH48qGeCDhfxPWW9yaXtv8wT13yoIVvYt8h_Qs,16023
|
128
128
|
not1mm/lib/super_check_partial.py,sha256=jX7DjHesEV4KNVQbddJui0wAsYHerikH7W0iPv7PXQw,3110
|
129
|
-
not1mm/lib/version.py,sha256=
|
129
|
+
not1mm/lib/version.py,sha256=4iMPCwhlJpDccy4P7xQiiY0DegdZm8jICpkoDKVNsGs,50
|
130
130
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
131
131
|
not1mm/plugins/10_10_fall_cw.py,sha256=oJh3JKqjOpnWElSlZpiQ631UnaOd8qra5s9bl_QoInk,14783
|
132
132
|
not1mm/plugins/10_10_spring_cw.py,sha256=p7dSDtbFK0e6Xouw2V6swYn3VFVgHKyx4IfRWyBjMZY,14786
|
@@ -190,9 +190,9 @@ not1mm/plugins/ukeidx.py,sha256=ZsIFXgOSwjuKNmN4W_C0TAgGqgnabJGNLMHwGkl3_bk,1910
|
|
190
190
|
not1mm/plugins/vhf_sprint.py,sha256=a9QFTpv8XUbZ_GLjdVCh7svykFa-gXOWwKFZ6MD3uQM,19289
|
191
191
|
not1mm/plugins/weekly_rtty.py,sha256=C8Xs3Q5UgSYx-mFFar8BVARWtmqlyrbeC98Ubzb4UN8,20128
|
192
192
|
not1mm/plugins/winter_field_day.py,sha256=hmAMgkdqIXtnCNyUp8J9Bb8liN8wj10wps6ROuG-Bok,15284
|
193
|
-
not1mm-25.6.13.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
194
|
-
not1mm-25.6.13.dist-info/METADATA,sha256=
|
195
|
-
not1mm-25.6.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
196
|
-
not1mm-25.6.13.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
197
|
-
not1mm-25.6.13.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
198
|
-
not1mm-25.6.13.dist-info/RECORD,,
|
193
|
+
not1mm-25.6.13.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
194
|
+
not1mm-25.6.13.1.dist-info/METADATA,sha256=aq7L2UE4N-ipeuRVJ8eouicmYklQYZyX9pJXMRKd7xE,36720
|
195
|
+
not1mm-25.6.13.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
196
|
+
not1mm-25.6.13.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
197
|
+
not1mm-25.6.13.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
198
|
+
not1mm-25.6.13.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|