not1mm 25.4.10.1__py3-none-any.whl → 25.4.11.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 CHANGED
@@ -2111,6 +2111,9 @@ class MainWindow(QtWidgets.QMainWindow):
2111
2111
  if self.cw.servertype == 1:
2112
2112
  self.cw.sendcw("\x1b4")
2113
2113
  return
2114
+ if self.cw.servertype == 2:
2115
+ self.cw.winkeyer_stop()
2116
+ return
2114
2117
  if self.rig_control:
2115
2118
  if self.rig_control.online:
2116
2119
  if self.pref.get("cwtype") == 3 and self.rig_control is not None:
@@ -2219,6 +2222,14 @@ class MainWindow(QtWidgets.QMainWindow):
2219
2222
  ): # pylint: disable=no-member
2220
2223
  self.toggle_run_sp()
2221
2224
  return
2225
+ if (
2226
+ event.key() == Qt.Key.Key_T
2227
+ and modifier == Qt.KeyboardModifier.ControlModifier
2228
+ ): # pylint: disable=no-member
2229
+ if hasattr(self.contest, "add_test_data"):
2230
+ self.contest.add_test_data(self)
2231
+ return
2232
+
2222
2233
  if (
2223
2234
  event.key() == Qt.Key.Key_W
2224
2235
  and modifier == Qt.KeyboardModifier.ControlModifier
@@ -437,6 +437,16 @@
437
437
  <string>REF SSB</string>
438
438
  </property>
439
439
  </item>
440
+ <item>
441
+ <property name="text">
442
+ <string>SAC CW</string>
443
+ </property>
444
+ </item>
445
+ <item>
446
+ <property name="text">
447
+ <string>SAC SSB</string>
448
+ </property>
449
+ </item>
440
450
  <item>
441
451
  <property name="text">
442
452
  <string>SPDX</string>
not1mm/lib/cwinterface.py CHANGED
@@ -130,3 +130,21 @@ class CW:
130
130
  logger.info(
131
131
  "http://%s:%s, xmlrpc Connection Refused", self.host, self.port
132
132
  )
133
+
134
+ def winkeyer_stop(self):
135
+ """doc"""
136
+ if not self.__check_sane_ip(self.host):
137
+ logger.critical(f"Bad IP: {self.host}")
138
+ return
139
+ with ServerProxy(f"http://{self.host}:{self.port}") as proxy:
140
+ try:
141
+ if "clearbuffer" in self.winkeyer_functions:
142
+ proxy.clearbuffer()
143
+ except Error as exception:
144
+ logger.info(
145
+ "http://%s:%s, xmlrpc error: %s", self.host, self.port, exception
146
+ )
147
+ except ConnectionRefusedError:
148
+ logger.info(
149
+ "http://%s:%s, xmlrpc Connection Refused", self.host, self.port
150
+ )
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.4.10.1"
3
+ __version__ = "25.4.11.1"