not1mm 25.4.28__py3-none-any.whl → 25.5.14__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
@@ -2121,6 +2121,9 @@ class MainWindow(QtWidgets.QMainWindow):
2121
2121
  if self.cw.servertype == 2:
2122
2122
  self.cw.winkeyer_stop()
2123
2123
  return
2124
+ if self.cw.servertype == 3:
2125
+ self.rig_control.cat.stopcwrigctl()
2126
+ return
2124
2127
  if self.rig_control:
2125
2128
  if self.rig_control.online:
2126
2129
  if self.pref.get("cwtype") == 3 and self.rig_control is not None:
@@ -2869,7 +2872,7 @@ class MainWindow(QtWidgets.QMainWindow):
2869
2872
  next_serial = "1"
2870
2873
  macro = macro.upper()
2871
2874
  if self.radio_state.get("mode") == "CW":
2872
- macro = macro.replace("#", next_serial.rjust(3, "T"))
2875
+ macro = macro.replace("#", next_serial.rjust(self.pref["cwpaddinglength"], self.pref["cwpaddingchar"]))
2873
2876
  else:
2874
2877
  macro = macro.replace("#", next_serial)
2875
2878
  macro = macro.replace("{MYCALL}", self.station.get("Call", ""))
@@ -2882,7 +2885,7 @@ class MainWindow(QtWidgets.QMainWindow):
2882
2885
  macro = macro.replace("{SNT}", self.sent.text())
2883
2886
  if self.radio_state.get("mode") == "CW":
2884
2887
  macro = macro.replace(
2885
- "{SENTNR}", self.other_1.text().lstrip("0").rjust(3, "T")
2888
+ "{SENTNR}", self.other_1.text().lstrip("0").rjust(self.pref["cwpaddinglength"], self.pref["cwpaddingchar"])
2886
2889
  )
2887
2890
  else:
2888
2891
  macro = macro.replace("{SENTNR}", self.other_1.text())
@@ -799,6 +799,86 @@
799
799
  </property>
800
800
  </spacer>
801
801
  </item>
802
+ <item row="3" column="1">
803
+ <widget class="QLabel" name="label_31">
804
+ <property name="font">
805
+ <font>
806
+ <family>JetBrains Mono ExtraLight</family>
807
+ <pointsize>12</pointsize>
808
+ <strikeout>false</strikeout>
809
+ </font>
810
+ </property>
811
+ <property name="text">
812
+ <string>CW Sent Nr Padding:</string>
813
+ </property>
814
+ <property name="alignment">
815
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
816
+ </property>
817
+ </widget>
818
+ </item>
819
+ <item row="3" column="2">
820
+ <widget class="QLineEdit" name="cwpaddingchar_field">
821
+ <property name="font">
822
+ <font>
823
+ <family>JetBrains Mono ExtraLight</family>
824
+ <pointsize>12</pointsize>
825
+ <strikeout>false</strikeout>
826
+ </font>
827
+ </property>
828
+ <property name="accessibleName">
829
+ <string>c w padding character</string>
830
+ </property>
831
+ <property name="accessibleDescription">
832
+ <string>padding character when sending c w exchange number.</string>
833
+ </property>
834
+ <property name="inputMethodHints">
835
+ <set>Qt::InputMethodHint::ImhDigitsOnly</set>
836
+ </property>
837
+ <property name="text">
838
+ <string>T</string>
839
+ </property>
840
+ </widget>
841
+ </item>
842
+ <item row="4" column="1">
843
+ <widget class="QLabel" name="label_32">
844
+ <property name="font">
845
+ <font>
846
+ <family>JetBrains Mono ExtraLight</family>
847
+ <pointsize>12</pointsize>
848
+ <strikeout>false</strikeout>
849
+ </font>
850
+ </property>
851
+ <property name="text">
852
+ <string>CW Sent Nr Padding Length:</string>
853
+ </property>
854
+ <property name="alignment">
855
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
856
+ </property>
857
+ </widget>
858
+ </item>
859
+ <item row="4" column="2">
860
+ <widget class="QLineEdit" name="cwpaddinglength_field">
861
+ <property name="font">
862
+ <font>
863
+ <family>JetBrains Mono ExtraLight</family>
864
+ <pointsize>12</pointsize>
865
+ <strikeout>false</strikeout>
866
+ </font>
867
+ </property>
868
+ <property name="accessibleName">
869
+ <string>c w padding character</string>
870
+ </property>
871
+ <property name="accessibleDescription">
872
+ <string>number of padding characters to send when sending c w exchange number.</string>
873
+ </property>
874
+ <property name="inputMethodHints">
875
+ <set>Qt::InputMethodHint::ImhDigitsOnly</set>
876
+ </property>
877
+ <property name="text">
878
+ <string>3</string>
879
+ </property>
880
+ </widget>
881
+ </item>
802
882
  </layout>
803
883
  </widget>
804
884
  <widget class="QWidget" name="cluster_tab">
@@ -203,6 +203,22 @@ class CAT:
203
203
  self.__initialize_rigctrld()
204
204
  return False
205
205
 
206
+ def stopcwrigctl(self):
207
+ """Stop CW via rigctld"""
208
+ if self.rigctrlsocket:
209
+ try:
210
+ self.online = True
211
+ self.rigctrlsocket.send(bytes(f"\\stop_morse", "utf-8"))
212
+ _ = self.__get_serial_string()
213
+ return True
214
+ except socket.error as exception:
215
+ self.online = False
216
+ logger.debug("setvfo_rigctld: %s", f"{exception}")
217
+ self.rigctrlsocket = None
218
+ return False
219
+ self.__initialize_rigctrld()
220
+ return False
221
+
206
222
  def set_rigctl_cw_speed(self, speed):
207
223
  """Set CW speed via rigctld"""
208
224
  if self.rigctrlsocket:
not1mm/lib/settings.py CHANGED
@@ -138,6 +138,8 @@ class Settings(QtWidgets.QDialog):
138
138
  self.set_winkeyer_port_hint()
139
139
  elif self.preference.get("cwtype") == 3:
140
140
  self.set_catforcw_port_hint()
141
+ self.cwpaddingchar_field.setText(self.preference.get("cwpaddingchar", "T"))
142
+ self.cwpaddinglength_field.setText(str(self.preference.get("cwpaddinglength", "3")))
141
143
 
142
144
  self.connect_to_server.setChecked(bool(self.preference.get("useserver")))
143
145
  self.multicast_group.setText(str(self.preference.get("multicast_group", "")))
@@ -266,6 +268,8 @@ class Settings(QtWidgets.QDialog):
266
268
  except ValueError:
267
269
  self.preference["cwport"] = None
268
270
  ...
271
+ self.preference["cwpaddingchar"] = self.cwpaddingchar_field.text()
272
+ self.preference["cwpaddinglength"] = int(self.cwpaddinglength_field.text())
269
273
  self.preference["cwtype"] = 0
270
274
  if self.usecwdaemon_radioButton.isChecked():
271
275
  self.preference["cwtype"] = 1
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.4.28"
3
+ __version__ = "25.5.14"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: not1mm
3
- Version: 25.4.28
3
+ Version: 25.5.14
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  License: GPL-3.0-or-later
@@ -256,31 +256,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
256
256
 
257
257
  ## Recent Changes
258
258
 
259
- - [25-4-28] Merged PR from MicroPhonon adding VHF Sprint.
260
- - [25-4-25] Merged PR from @microphonon making changes to ARRL VHF and CWOps CWT.
261
- - [25-4-22] Mostly code cleanup. Not running some code when not needed.
262
- - [25-4-21] Add a couple more debug messages. Add LSB/USB to input-able commands to the callsign field.
263
- - [25-4-19-1] Add FM and AM as input-able commands to the callsign field.
264
- - [25-4-19] Changed S&P QSY wipe from 50hz to 500hz.
265
- - [25-4-18] Option to clear input fields when QSY in S&P mode.
266
- - [25-4-17] Testing sending radio voice memory. {VOICE1}, {VOICE2} etc.
267
- - [25-4-16] Fix serial number not updating when selecing call from checkpartial or bandmap.
268
- - [25-4-15] Corrected dupe_type 5 check for contest specific function. Fixed wrong ES Open plugin name. Fixed some problems with the specific_contest_check_dupe datetime namespace. And other stuff.
269
- - [25-4-14] Add ES Open HF Chanmpionship.
270
- - [25-4-13] Fix crash in JIDX Cabrillo output.
271
- - [25-4-12] Added an Auto CQ time to fire progress bar.
272
- - [25-4-11-3] Fixed issue with winkeyer not sending multiple macros in ESM mode.
273
- - [25-4-11-2] Fixed a crash.
274
- - [25-4-11-1] Add clear buffer to winkeyer interface to stop sending.
275
- - [25-4-11] Add Scandinavian Activity Contest
276
- - [25-4-10-1] Add ARI 40/80 contest. Add CTRL-R to toggle Run state.
277
- - [25-4-10] Add Auto CQ visual indicator.
278
- - [25-4-9] Added UKEI DX Contest.
279
- - [25-4-8] Remove focus from statistics table widget.
280
- - [25-4-7] Merge in changes from dj1yfk correcting SPDX Cabrillo name.
281
- - [25-4-5] Add SPDX.
282
- - [25-4-2] Add some tool tips to bandmap and main. Updated Zoom buttons on bandmap. Updated minimum Python version to 3.10.
283
- - [25-4-1] Fix: statistics window not populating when initially activated from the window menu. Removed unused code chucks. Removed some unused and hidden visual elements.
259
+ - [25-5-6] Merged PR from @JG3LLB, Koji-Kawano, Adding code to stop sending morse if using rigctld to send, and @alduhoo adding more control to CW serial number padding.
284
260
 
285
261
  See [CHANGELOG.md](CHANGELOG.md) for prior changes.
286
262
 
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=bf-uGk88mT8OVbDJFr6wu-5StUBYNWBAJS1E8l8avCE,156555
2
+ not1mm/__main__.py,sha256=yHUw72d964-RNTzoAvPgEThHhHxWl0Es8jj2BtX5qUc,156770
3
3
  not1mm/bandmap.py,sha256=n8mrRzo_8b1muzICk8nSpvaiAV4NyNoUkZBa6Rjprns,29968
4
4
  not1mm/checkwindow.py,sha256=zEHlw40j6Wr3rvKbCQf2lcezCoiZqaBqEvBjQU5aKW0,7630
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
@@ -19,7 +19,7 @@ not1mm/data/alpha bravo charlie delta.txt,sha256=d5QMmSWEUAe4Rj1XbNjTPLa_5Be4Se6
19
19
  not1mm/data/bandmap.ui,sha256=hDYya6I7_EAM_c5wkLzWcD0nQovd2uIHjvJLCKQq3Zk,8624
20
20
  not1mm/data/check.png,sha256=UvFOLr8V-79qnjW8wUaGItXk_OSP8m8hqPevs8NDlFY,387
21
21
  not1mm/data/checkwindow.ui,sha256=PRD98K0julJ9EfWqoE89dT8UPuPKQzGiWBk_efAko3o,5141
22
- not1mm/data/configuration.ui,sha256=wIFsPf6GtgYYOQ5BVtth9v5bHejF6QcplPabVXe0_VE,75198
22
+ not1mm/data/configuration.ui,sha256=_A5FdXKlKpN0GLAYV7lan8JDq4SPVCxVf2SPsDUiAhk,77972
23
23
  not1mm/data/contests.sql,sha256=4hmJCDvrbxnA_Y5S4T5o52TZieeFk6QUwFerwlFePNA,89307
24
24
  not1mm/data/cty.json,sha256=bwPhOrOAgvV9JiXUDT9kzCqfNWAhGuJQt489h0SKsCk,4925375
25
25
  not1mm/data/cwmacros.txt,sha256=NztufsX6R52gAO7VyJ2AHr7wOh41pJTwHKh5Lcs32ds,468
@@ -100,7 +100,7 @@ not1mm/data/phonetics/yourcall.wav,sha256=4kheHJmCiRDL2kjhlgXQ8_u_eEMgKxiNGu5UBk
100
100
  not1mm/data/phonetics/z.wav,sha256=arafCi7fwmBLdVDI-PRyaL4U-03PIQDhffwY5noJ_2c,51768
101
101
  not1mm/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
102
102
  not1mm/lib/about.py,sha256=sWycfGcruN3SaEe4JmaJ61K6D8Itq0WxpUYT-lEcmYM,416
103
- not1mm/lib/cat_interface.py,sha256=zMSGSVl7B_hX2XIpTpdyepedyfFTm0rFVWRpSZvadoc,26637
103
+ not1mm/lib/cat_interface.py,sha256=f23U6LA2xydIE-ftV_sO_QGhb5GfSWpfKX46MxH5kkM,27209
104
104
  not1mm/lib/cwinterface.py,sha256=rKUnqljHQC_Iljq4TCmAgSPe49lWbKcfxg58cE8YX5Y,5177
105
105
  not1mm/lib/database.py,sha256=fykyaQaTa_Pwde51f09Odbexy1mlUqObv0fjZ7hf3E0,51693
106
106
  not1mm/lib/edit_contact.py,sha256=Ki9bGPpqyQQBB1cU8VIBDCal3lbXeQ6qxhzklmhE2_w,353
@@ -116,9 +116,9 @@ not1mm/lib/n1mm.py,sha256=H54mpgJF0GAmKavM-nb5OAq2SJFWYkux4eMWWiSRxJc,6288
116
116
  not1mm/lib/new_contest.py,sha256=IznTDMq7yXHB6zBoGUEC_WDYPCPpsSZW4wwMJi16zK0,816
117
117
  not1mm/lib/plugin_common.py,sha256=D1OBjyLmX7zuSPqgTCmHwXzAKA12J_zTQItvyIem-4Y,13299
118
118
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
119
- not1mm/lib/settings.py,sha256=cC83Nw4pGLWyHybIflDR1ylX9P7Hq2P5b5yFZtx-llY,15410
119
+ not1mm/lib/settings.py,sha256=wDatDIqgYmMIwMfH2j_1kG_kwsQdaE1JD9DbA2bgJkI,15746
120
120
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
121
- not1mm/lib/version.py,sha256=5jdO9DBGbXDZaLtewVMj8VGR5qrBGSWRxQpmSZc69xw,48
121
+ not1mm/lib/version.py,sha256=Z-eW2vYRZTVQgOiUQ000AIy8Ba3u2c5tx36X2ADtaUE,48
122
122
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
123
123
  not1mm/plugins/10_10_fall_cw.py,sha256=oJh3JKqjOpnWElSlZpiQ631UnaOd8qra5s9bl_QoInk,14783
124
124
  not1mm/plugins/10_10_spring_cw.py,sha256=p7dSDtbFK0e6Xouw2V6swYn3VFVgHKyx4IfRWyBjMZY,14786
@@ -180,9 +180,9 @@ not1mm/plugins/ukeidx.py,sha256=0ABGW7_9Ui0Rgr8mkPBxOJokAIerM1a4-HWnl6VsnV8,1910
180
180
  not1mm/plugins/vhf_sprint.py,sha256=a9QFTpv8XUbZ_GLjdVCh7svykFa-gXOWwKFZ6MD3uQM,19289
181
181
  not1mm/plugins/weekly_rtty.py,sha256=C8Xs3Q5UgSYx-mFFar8BVARWtmqlyrbeC98Ubzb4UN8,20128
182
182
  not1mm/plugins/winter_field_day.py,sha256=hmAMgkdqIXtnCNyUp8J9Bb8liN8wj10wps6ROuG-Bok,15284
183
- not1mm-25.4.28.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
184
- not1mm-25.4.28.dist-info/METADATA,sha256=sMrrAxzBkOF5dhq-xkmm_IxRhURwBcJbryNHDo7IeBY,40736
185
- not1mm-25.4.28.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
186
- not1mm-25.4.28.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
187
- not1mm-25.4.28.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
188
- not1mm-25.4.28.dist-info/RECORD,,
183
+ not1mm-25.5.14.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
184
+ not1mm-25.5.14.dist-info/METADATA,sha256=yJPSnYxfb9ZNn8bm4n00DQ0HJR2cZuhr1MYZFGLwxL0,39080
185
+ not1mm-25.5.14.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
186
+ not1mm-25.5.14.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
187
+ not1mm-25.5.14.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
188
+ not1mm-25.5.14.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.0.0)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5