not1mm 24.1.15__py3-none-any.whl → 24.1.16__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/data/new_contest.ui +6 -1
- not1mm/lib/version.py +1 -1
- not1mm/plugins/stew_perry_topband.py +20 -32
- {not1mm-24.1.15.dist-info → not1mm-24.1.16.dist-info}/METADATA +3 -1
- {not1mm-24.1.15.dist-info → not1mm-24.1.16.dist-info}/RECORD +9 -9
- {not1mm-24.1.15.dist-info → not1mm-24.1.16.dist-info}/LICENSE +0 -0
- {not1mm-24.1.15.dist-info → not1mm-24.1.16.dist-info}/WHEEL +0 -0
- {not1mm-24.1.15.dist-info → not1mm-24.1.16.dist-info}/entry_points.txt +0 -0
- {not1mm-24.1.15.dist-info → not1mm-24.1.16.dist-info}/top_level.txt +0 -0
not1mm/data/new_contest.ui
CHANGED
@@ -317,6 +317,11 @@
|
|
317
317
|
<string>PHONE WEEKLY TEST</string>
|
318
318
|
</property>
|
319
319
|
</item>
|
320
|
+
<item>
|
321
|
+
<property name="text">
|
322
|
+
<string>STEW PERRY TOPBAND</string>
|
323
|
+
</property>
|
324
|
+
</item>
|
320
325
|
<item>
|
321
326
|
<property name="text">
|
322
327
|
<string>WINTER FIELD DAY</string>
|
@@ -331,7 +336,7 @@
|
|
331
336
|
</property>
|
332
337
|
<property name="time">
|
333
338
|
<time>
|
334
|
-
<hour>
|
339
|
+
<hour>0</hour>
|
335
340
|
<minute>0</minute>
|
336
341
|
<second>0</second>
|
337
342
|
</time>
|
not1mm/lib/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
"""It's the version"""
|
2
|
-
__version__ = "24.1.
|
2
|
+
__version__ = "24.1.16"
|
@@ -35,6 +35,7 @@ from pathlib import Path
|
|
35
35
|
from PyQt5 import QtWidgets
|
36
36
|
from not1mm.lib.plugin_common import gen_adif, get_points
|
37
37
|
from not1mm.lib.version import __version__
|
38
|
+
from not1mm.lib.ham_utility import distance
|
38
39
|
|
39
40
|
logger = logging.getLogger("__main__")
|
40
41
|
|
@@ -49,7 +50,6 @@ columns = [
|
|
49
50
|
"Freq",
|
50
51
|
"Mode",
|
51
52
|
"Exchange1",
|
52
|
-
"Sect",
|
53
53
|
"PTS",
|
54
54
|
]
|
55
55
|
|
@@ -69,16 +69,13 @@ def init_contest(self):
|
|
69
69
|
|
70
70
|
def interface(self):
|
71
71
|
"""Setup user interface"""
|
72
|
-
self.field1.
|
73
|
-
self.field2.
|
72
|
+
self.field1.show()
|
73
|
+
self.field2.show()
|
74
74
|
self.field3.show()
|
75
|
-
self.field4.
|
75
|
+
self.field4.hide()
|
76
76
|
label = self.field3.findChild(QtWidgets.QLabel)
|
77
|
-
label.setText("
|
78
|
-
self.field3.setAccessibleName("
|
79
|
-
label = self.field4.findChild(QtWidgets.QLabel)
|
80
|
-
label.setText("Section")
|
81
|
-
self.field4.setAccessibleName("Section")
|
77
|
+
label.setText("Grid")
|
78
|
+
self.field3.setAccessibleName("Grid")
|
82
79
|
|
83
80
|
|
84
81
|
def reset_label(self):
|
@@ -95,23 +92,17 @@ def set_tab_next(self):
|
|
95
92
|
self.field2.findChild(QtWidgets.QLineEdit): self.field3.findChild(
|
96
93
|
QtWidgets.QLineEdit
|
97
94
|
),
|
98
|
-
self.field3.findChild(QtWidgets.QLineEdit): self.
|
99
|
-
QtWidgets.QLineEdit
|
100
|
-
),
|
101
|
-
self.field4.findChild(QtWidgets.QLineEdit): self.callsign,
|
95
|
+
self.field3.findChild(QtWidgets.QLineEdit): self.callsign,
|
102
96
|
}
|
103
97
|
|
104
98
|
|
105
99
|
def set_tab_prev(self):
|
106
100
|
"""Set TAB Advances"""
|
107
101
|
self.tab_prev = {
|
108
|
-
self.callsign: self.
|
102
|
+
self.callsign: self.field3.findChild(QtWidgets.QLineEdit),
|
109
103
|
self.field1.findChild(QtWidgets.QLineEdit): self.callsign,
|
110
104
|
self.field2.findChild(QtWidgets.QLineEdit): self.callsign,
|
111
105
|
self.field3.findChild(QtWidgets.QLineEdit): self.callsign,
|
112
|
-
self.field4.findChild(QtWidgets.QLineEdit): self.field3.findChild(
|
113
|
-
QtWidgets.QLineEdit
|
114
|
-
),
|
115
106
|
}
|
116
107
|
|
117
108
|
|
@@ -120,7 +111,6 @@ def set_contact_vars(self):
|
|
120
111
|
self.contact["SNT"] = self.sent.text()
|
121
112
|
self.contact["RCV"] = self.receive.text()
|
122
113
|
self.contact["Exchange1"] = self.other_1.text().upper()
|
123
|
-
self.contact["Sect"] = self.other_2.text().upper()
|
124
114
|
|
125
115
|
|
126
116
|
def predupe(self):
|
@@ -133,19 +123,21 @@ def prefill(self):
|
|
133
123
|
|
134
124
|
def points(self):
|
135
125
|
"""Calc point"""
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
126
|
+
_points = 1
|
127
|
+
_kilometers = 0
|
128
|
+
_their_grid = self.other_1.text().upper()
|
129
|
+
_kilometers = distance(self.station.get("GridSquare", ""), _their_grid)
|
130
|
+
if _kilometers > 500:
|
131
|
+
_points = _points + int(_kilometers / 500)
|
132
|
+
if self.contest_settings.get("PowerCategory", "") == "QRP":
|
133
|
+
_points = _points * 4
|
134
|
+
if self.contest_settings.get("PowerCategory", "") == "LOW":
|
135
|
+
_points = _points * 2
|
136
|
+
return _points
|
142
137
|
|
143
138
|
|
144
139
|
def show_mults(self):
|
145
140
|
"""Return display string for mults"""
|
146
|
-
result = self.database.get_unique_band_and_mode()
|
147
|
-
if result:
|
148
|
-
return int(result.get("mult", 0))
|
149
141
|
return 0
|
150
142
|
|
151
143
|
|
@@ -160,11 +152,7 @@ def show_qso(self):
|
|
160
152
|
def calc_score(self):
|
161
153
|
"""Return calculated score"""
|
162
154
|
_points = get_points(self)
|
163
|
-
|
164
|
-
_power_mult = 1
|
165
|
-
if self.contest_settings.get("PowerCategory", "") == "QRP":
|
166
|
-
_power_mult = 2
|
167
|
-
return _points * _power_mult * _mults
|
155
|
+
return _points
|
168
156
|
|
169
157
|
|
170
158
|
def adif(self):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.1.
|
3
|
+
Version: 24.1.16
|
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
|
@@ -160,10 +160,12 @@ I wish to thank those who've contributed to the project.
|
|
160
160
|
- NAQP SSB
|
161
161
|
- Phone Weekly Test
|
162
162
|
- RAC Canada Day
|
163
|
+
- Stew Perry Topband
|
163
164
|
- Winter Field Day
|
164
165
|
|
165
166
|
## Recent Changes
|
166
167
|
|
168
|
+
- [24-1-16] Added Stew Perry Topband.
|
167
169
|
- [24-1-15] Added the Phone Weekly Test.
|
168
170
|
|
169
171
|
See [CHANGELOG.md](CHANGELOG.md) for prior changes.
|
@@ -26,7 +26,7 @@ not1mm/data/k6gte.not1mm-32.png,sha256=yucSwzlmqv3NegdWUvPvZzSgP7G22Ky3se8TWRXvz
|
|
26
26
|
not1mm/data/k6gte.not1mm-64.png,sha256=1KQvk0WBckUds79BvIFUt-KdTwQKKvTz6hiJu8MiT68,2152
|
27
27
|
not1mm/data/logwindow.ui,sha256=_-wobHhIjALzCswyXIrqNadnLdc88eay1GNF23a-Qh0,970
|
28
28
|
not1mm/data/main.ui,sha256=zhF00NG9BL6EDr7159GNvvU8vb0oH9FUsdTGli9xY58,53841
|
29
|
-
not1mm/data/new_contest.ui,sha256
|
29
|
+
not1mm/data/new_contest.ui,sha256=hMB8gRc4kNAqsL4JwEkTpKBKsL24gjD6DPNIhHw-prM,21609
|
30
30
|
not1mm/data/not1mm.html,sha256=YfPiT9SrSZfsxShbiLTtdCa3rSY6M2haZ2eKV8kmU3c,25793
|
31
31
|
not1mm/data/opon.ui,sha256=mC4OhoVIfR1H9IqHAKXliPMm8VOVmxSEadpsFQ7XnS4,2247
|
32
32
|
not1mm/data/pickcontest.ui,sha256=_9JFiJw4l-bRRgNDtVg1DpxreylYd_UqEq0wfcr9gJc,1600
|
@@ -103,7 +103,7 @@ not1mm/lib/plugin_common.py,sha256=5IWIy24NpAuuzzPEjmaqeKyFHllkOgVN1gEu8vkCZsg,7
|
|
103
103
|
not1mm/lib/select_contest.py,sha256=XQdRUkPAIHIMVsilm82M54b_v9yWpYrZ1nfInJrtZoo,363
|
104
104
|
not1mm/lib/settings.py,sha256=t_JLJPnDBtMGAvJMAF1AL1eVB7MyucqlksVTU47yxvk,8933
|
105
105
|
not1mm/lib/super_check_partial.py,sha256=GlXgtIblL602iW-V6Mmdf5S4FxtzJ95TbPMMa9xXUfg,1692
|
106
|
-
not1mm/lib/version.py,sha256=
|
106
|
+
not1mm/lib/version.py,sha256=wLKVAjOPJ2wbgGJKMffhgSKeCAJSRHcFKGaptSw9UUU,47
|
107
107
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
108
108
|
not1mm/plugins/10_10_fall_cw.py,sha256=yGMRxMXE6NW2Qie4olq1E9YziHOLCXp4_ZP7LXvbYf0,10307
|
109
109
|
not1mm/plugins/10_10_spring_cw.py,sha256=J3FrRQbkA3dMEQiY7-cWJ0lGCakT1hhl8yynNszQ9qI,10313
|
@@ -133,7 +133,7 @@ not1mm/plugins/jidx_ph.py,sha256=cTaPoCGYhS8jjTFAP0rnKb_EeO20ssv1dWJsLpWdiWg,105
|
|
133
133
|
not1mm/plugins/naqp_cw.py,sha256=Dba9YqJroq9d10lrFLD57Zpgv9kmoF5Y0bJFW_xx0vs,11115
|
134
134
|
not1mm/plugins/naqp_ssb.py,sha256=Wm07zXkWzLTgc09Uq7M-XTQ7NavYmKJrzKuYt87OL-U,11120
|
135
135
|
not1mm/plugins/phone_weekly_test.py,sha256=Zpqm8NnKIP31TcJfCqgAuIi_l7ckXqBwPNiEacJNScs,11922
|
136
|
-
not1mm/plugins/stew_perry_topband.py,sha256=
|
136
|
+
not1mm/plugins/stew_perry_topband.py,sha256=IwKrYp8YBnHdpSm34j76HQQB-X1O4kEzkIPmWzj3YtE,9975
|
137
137
|
not1mm/plugins/winter_field_day.py,sha256=GIwH26HdVlaui_EfuzjlTDrDbrGCxaY0m02XmgzjqDQ,9641
|
138
138
|
not1mm/testing/fakeflrig.py,sha256=_vJHGjARpSNxSZngkHNO_kkHoVnqtf--T6gwTAYnnZQ,2083
|
139
139
|
not1mm/testing/flrigclient.py,sha256=24r_0HqpoTjyJ6Bqg_HIC8Nn9wjtnwwWQ26I7UprwgA,1658
|
@@ -142,9 +142,9 @@ not1mm/testing/n1mm_listener.py,sha256=UD-qyKEnppQua330WEFKMvMJaNjnYKi7dDuX_RGB5
|
|
142
142
|
not1mm/testing/test.py,sha256=wGblvMlyOCVkEiHbxE6wvLsorim15ehL72_EZLQeWkk,1660
|
143
143
|
testing/test.py,sha256=q7socQaMu46q-I-1fYgmQhnygrrC5NjAUM5yuySo4fA,249
|
144
144
|
usb_vfo_knob/code.py,sha256=h59iPPlcYbkXmRcYPQHDBP0yfLEl7fY3VkiIszdQeyI,1057
|
145
|
-
not1mm-24.1.
|
146
|
-
not1mm-24.1.
|
147
|
-
not1mm-24.1.
|
148
|
-
not1mm-24.1.
|
149
|
-
not1mm-24.1.
|
150
|
-
not1mm-24.1.
|
145
|
+
not1mm-24.1.16.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
146
|
+
not1mm-24.1.16.dist-info/METADATA,sha256=b3MG4ZSTB20H_Qzf2cq8rPDE9hmoOtY7ULdG0JwDxuo,25508
|
147
|
+
not1mm-24.1.16.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
148
|
+
not1mm-24.1.16.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
149
|
+
not1mm-24.1.16.dist-info/top_level.txt,sha256=PBUZJeDgW5ta7ghk__UYh_ygOFIhe9ymJDaxEuVumFU,28
|
150
|
+
not1mm-24.1.16.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|