not1mm 24.11.27__py3-none-any.whl → 24.12.3__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/bandmap.py CHANGED
@@ -311,6 +311,10 @@ class Database:
311
311
  (f"-{minutes} minutes",),
312
312
  )
313
313
 
314
+ def delete_marks(self) -> None:
315
+ """Delete marked spots."""
316
+ self.cursor.execute("delete from spots where ts > datetime('now');")
317
+
314
318
 
315
319
  class BandMapWindow(QDockWidget):
316
320
  """The BandMapWindow class."""
@@ -345,6 +349,7 @@ class BandMapWindow(QDockWidget):
345
349
  self.agetime = self.clear_spot_olderSpinBox.value()
346
350
  self.clear_spot_olderSpinBox.valueChanged.connect(self.spot_aging_changed)
347
351
  self.clearButton.clicked.connect(self.clear_spots)
352
+ self.clearmarkedButton.clicked.connect(self.clear_marked)
348
353
  self.zoominButton.clicked.connect(self.dec_zoom)
349
354
  self.zoomoutButton.clicked.connect(self.inc_zoom)
350
355
  self.connectButton.clicked.connect(self.connect)
@@ -873,6 +878,10 @@ class BandMapWindow(QDockWidget):
873
878
  """Delete all spots from the database."""
874
879
  self.spots.delete_spots(0)
875
880
 
881
+ def clear_marked(self) -> None:
882
+ """Delete all marked spots."""
883
+ self.spots.delete_marks()
884
+
876
885
  def spot_aging_changed(self) -> None:
877
886
  """Called when spot aging spinbox is changed."""
878
887
  self.agetime = self.clear_spot_olderSpinBox.value()
not1mm/data/bandmap.ui CHANGED
@@ -6,7 +6,7 @@
6
6
  <rect>
7
7
  <x>0</x>
8
8
  <y>0</y>
9
- <width>383</width>
9
+ <width>342</width>
10
10
  <height>700</height>
11
11
  </rect>
12
12
  </property>
@@ -97,7 +97,7 @@
97
97
  <rect>
98
98
  <x>0</x>
99
99
  <y>0</y>
100
- <width>359</width>
100
+ <width>326</width>
101
101
  <height>512</height>
102
102
  </rect>
103
103
  </property>
@@ -148,18 +148,49 @@
148
148
  <enum>Qt::NoFocus</enum>
149
149
  </property>
150
150
  <property name="accessibleName">
151
- <string>clear all</string>
151
+ <string>clear spots</string>
152
152
  </property>
153
153
  <property name="accessibleDescription">
154
154
  <string>clear spots</string>
155
155
  </property>
156
+ <property name="maximumSize">
157
+ <size>
158
+ <width>1110</width>
159
+ <height>27</height>
160
+ </size>
161
+ </property>
162
+ <property name="text">
163
+ <string>🗑 Spots</string>
164
+ </property>
165
+ </widget>
166
+ </item>
167
+ <item>
168
+ <widget class="QPushButton" name="clearmarkedButton">
169
+ <property name="minimumSize">
170
+ <size>
171
+ <width>110</width>
172
+ <height>0</height>
173
+ </size>
174
+ </property>
175
+ <property name="maximumSize">
176
+ <size>
177
+ <width>1110</width>
178
+ <height>27</height>
179
+ </size>
180
+ </property>
156
181
  <property name="text">
157
- <string>Clear All</string>
182
+ <string>🗑 Marked</string>
158
183
  </property>
159
184
  </widget>
160
185
  </item>
161
186
  <item>
162
187
  <widget class="QPushButton" name="zoominButton">
188
+ <property name="maximumSize">
189
+ <size>
190
+ <width>27</width>
191
+ <height>27</height>
192
+ </size>
193
+ </property>
163
194
  <property name="focusPolicy">
164
195
  <enum>Qt::NoFocus</enum>
165
196
  </property>
@@ -170,12 +201,18 @@
170
201
  <string>zoom in</string>
171
202
  </property>
172
203
  <property name="text">
173
- <string>Zoom In</string>
204
+ <string>➕</string>
174
205
  </property>
175
206
  </widget>
176
207
  </item>
177
208
  <item>
178
209
  <widget class="QPushButton" name="zoomoutButton">
210
+ <property name="maximumSize">
211
+ <size>
212
+ <width>27</width>
213
+ <height>27</height>
214
+ </size>
215
+ </property>
179
216
  <property name="focusPolicy">
180
217
  <enum>Qt::NoFocus</enum>
181
218
  </property>
@@ -186,7 +223,7 @@
186
223
  <string>zoom out</string>
187
224
  </property>
188
225
  <property name="text">
189
- <string>Zoom Out</string>
226
+ <string>➖</string>
190
227
  </property>
191
228
  </widget>
192
229
  </item>
@@ -205,12 +242,6 @@
205
242
  </property>
206
243
  <item>
207
244
  <widget class="QLabel" name="clear_spot_olderLabel">
208
- <property name="font">
209
- <font>
210
- <family>JetBrains Mono ExtraLight</family>
211
- <pointsize>11</pointsize>
212
- </font>
213
- </property>
214
245
  <property name="text">
215
246
  <string>Clear older than </string>
216
247
  </property>
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.11.27"
3
+ __version__ = "24.12.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.11.27
3
+ Version: 24.12.3
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
@@ -238,25 +238,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
238
238
 
239
239
  ## Recent Changes (Polishing the Turd)
240
240
 
241
- - [24-11-27] Added CAT poll interval.
242
- - [24-11-26-1] Changed ESC to stop CW, CTRL-W to wipe input fields.
243
- - [24-11-26] Trying something different with rigctld parsing.
244
- - [24-11-15] Fix CQWW points, fix mode showing as RPRT.
245
- - [24-11-24-1] Add ESM to CQ160, ARRL VHF, ARRL 10M, 10 10 contests.
246
- - [24-11-24] Added ESM to IARU HF and FieldDay.
247
- - [24-11-23] Made macros per contest.
248
- - [24-11-21] Merged PR from alduhoo setting CW Speed via rigctld, Added ESM and call history support for General Logging.
249
- - [24-11-19] Added ESM to Stew Perry, Phone Weekly, Medium Speed Test and JIDX.
250
- - [24-11-18] Accepted PR from dg9vh for the DARC XMAS Contest.
251
- - [24-11-17] Accepted PR from dg9vh for the LZ DX contest.
252
- - [24-11-15] Made checkwindow font bigger and match a little more contrasted.
253
- - [24-11-12] add check for ipv4 address for CAT.
254
- - [24-11-10] ReJiggered CAT/flrig interface to hopefull make it more workable.
255
- - [24-11-6] Added Call history to ARRL VHF, CQ160, CQWW, StewPerry, Weekly RTTY
256
- - [24-11-5] Fix crash with bad qrz credentials.
257
- - [24-11-3-1] Fixed CWT ESM, Add Call History to CWT, Helvetia, WFD, NAQP, K1USN. Add ESM Helvetia.
258
- - [24-11-3] Added RAEM contest
259
- - [24-11-2] Add beginning of call history files. Add command buttons.
241
+ - [24-12-3] Add button to bandmap to delete marked spots.
260
242
 
261
243
  See [CHANGELOG.md](CHANGELOG.md) for prior changes.
262
244
 
@@ -1,6 +1,6 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  not1mm/__main__.py,sha256=SOPb_t3oI7vk8v1MhgTTeU-axyfU464n-pTDciNWp3U,142786
3
- not1mm/bandmap.py,sha256=X6mMHXS1kXBbUPZCaKgiVJ6Dz6DE6LEQqtEXfT3telg,30811
3
+ not1mm/bandmap.py,sha256=zD3aUf36NVQCy0plAcZLNxYhSEM9xZ8J1Cu9vrcFPYA,31136
4
4
  not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
6
6
  not1mm/logwindow.py,sha256=TvpzQTNB92hISlUO3iWBqtlPmlebdhOkAArx0DNGcOs,43966
@@ -13,7 +13,7 @@ not1mm/data/JetBrainsMono-ExtraLight.ttf,sha256=g5Hn7BPounWMGDj1a8zZcyKMz03HSqW_
13
13
  not1mm/data/MASTER.SCP,sha256=FWKs4Xw3w7FNUt2npA6VzsLME7NAbHRugxaL6TnsvzU,364234
14
14
  not1mm/data/about.ui,sha256=IzbwKQZ_Ea06qGEjJgsa7g8-oYk549f-MEpLtChiLvw,2078
15
15
  not1mm/data/alpha bravo charlie delta.txt,sha256=d5QMmSWEUAe4Rj1XbNjTPLa_5Be4Se6u5LUIqAYidOQ,224
16
- not1mm/data/bandmap.ui,sha256=hvovf1YKyfUVVbKl6Ib2zU4RdUrFsQwm-255wVeKXZE,7180
16
+ not1mm/data/bandmap.ui,sha256=krmUYxGPRt2EeqSGrEkY2cXG79ujel3T2_2ymrrbgzg,7942
17
17
  not1mm/data/check.png,sha256=UvFOLr8V-79qnjW8wUaGItXk_OSP8m8hqPevs8NDlFY,387
18
18
  not1mm/data/checkwindow.ui,sha256=PRD98K0julJ9EfWqoE89dT8UPuPKQzGiWBk_efAko3o,5141
19
19
  not1mm/data/configuration.ui,sha256=nDiLlttOOCnejEMxOFkPNpXHJErD92NdGA1llXUtzL0,70329
@@ -114,7 +114,7 @@ not1mm/lib/plugin_common.py,sha256=AABdx9DoTT8Znrup7AkfmKGC22hshMsEypiMqV0iKw0,1
114
114
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
115
115
  not1mm/lib/settings.py,sha256=pyCa6EUhDs97g1KTmWS8RLXCSbrB9ruv7LV48_nuEAk,13781
116
116
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
117
- not1mm/lib/version.py,sha256=BVfhJOFbNpsOQC-VGvIE1WaBxXeaCFAcsvT7JJoC_Gs,49
117
+ not1mm/lib/version.py,sha256=GO-war2hnAKCX5G2VG4VUL4397VZxAsACqOxGXlhe3Q,48
118
118
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
119
119
  not1mm/plugins/10_10_fall_cw.py,sha256=AsvB2VUd6Qb2_FzZkSBkSd1_qeP8Dt-B-exF1Pzb9tk,14469
120
120
  not1mm/plugins/10_10_spring_cw.py,sha256=nA4v0oqlp-ivvKqNPakb19I-wE_ElhvH5bCzDRx00JU,14474
@@ -162,9 +162,9 @@ not1mm/plugins/ref_ssb.py,sha256=G2Gz4kApchmOZQVnBexEokSEvdb-mZWJAfyJ1D6JDGY,204
162
162
  not1mm/plugins/stew_perry_topband.py,sha256=Gy_vv6tgkR-3vmvsUVO0pVfHMkUJSxpt7G4secn0RH8,15084
163
163
  not1mm/plugins/weekly_rtty.py,sha256=PI0_AtEdZZKGAuKnP-b2EYn9xwCN1Ablk38trbNP3Rc,19603
164
164
  not1mm/plugins/winter_field_day.py,sha256=9w3tDL9ZWiENSTERc3vzDbBktvI7pnyNvlH6fDjAi08,14841
165
- not1mm-24.11.27.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
166
- not1mm-24.11.27.dist-info/METADATA,sha256=g0tZw6wt92Dez6gSk74-ELL6RtHR79YCrh5AxGvs0hs,36836
167
- not1mm-24.11.27.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
168
- not1mm-24.11.27.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
169
- not1mm-24.11.27.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
170
- not1mm-24.11.27.dist-info/RECORD,,
165
+ not1mm-24.12.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
166
+ not1mm-24.12.3.dist-info/METADATA,sha256=Ij0CAlyXU7wET1KQoq2pLushvUl2JY0iKB0BRfKliVI,35655
167
+ not1mm-24.12.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
168
+ not1mm-24.12.3.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
169
+ not1mm-24.12.3.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
170
+ not1mm-24.12.3.dist-info/RECORD,,