not1mm 24.9.25__py3-none-any.whl → 24.9.28__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 +93 -31
- not1mm/data/configuration.ui +79 -44
- not1mm/data/main.ui +153 -1
- not1mm/lib/ham_utility.py +5 -0
- not1mm/lib/settings.py +17 -6
- not1mm/lib/version.py +1 -1
- not1mm/plugins/general_logging.py +1 -0
- not1mm/radio.py +27 -18
- not1mm/test.py +8 -1
- {not1mm-24.9.25.dist-info → not1mm-24.9.28.dist-info}/METADATA +3 -1
- {not1mm-24.9.25.dist-info → not1mm-24.9.28.dist-info}/RECORD +15 -15
- {not1mm-24.9.25.dist-info → not1mm-24.9.28.dist-info}/LICENSE +0 -0
- {not1mm-24.9.25.dist-info → not1mm-24.9.28.dist-info}/WHEEL +0 -0
- {not1mm-24.9.25.dist-info → not1mm-24.9.28.dist-info}/entry_points.txt +0 -0
- {not1mm-24.9.25.dist-info → not1mm-24.9.28.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
@@ -95,7 +95,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
95
95
|
"command_buttons": False,
|
96
96
|
"cw_macros": True,
|
97
97
|
"bands_modes": True,
|
98
|
-
"bands": ["160", "80", "40", "20", "15", "10"],
|
98
|
+
"bands": ["160", "80", "60", "40", "30", "20", "17", "15", "12", "10"],
|
99
99
|
"current_database": "ham.db",
|
100
100
|
"contest": "",
|
101
101
|
"multicast_group": "239.1.1.1",
|
@@ -309,19 +309,32 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
309
309
|
self.cw_band_80.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
310
310
|
80, "CW"
|
311
311
|
)
|
312
|
+
self.cw_band_60.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
313
|
+
60, "CW"
|
314
|
+
)
|
312
315
|
self.cw_band_40.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
313
316
|
40, "CW"
|
314
317
|
)
|
318
|
+
self.cw_band_30.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
319
|
+
30, "CW"
|
320
|
+
)
|
315
321
|
self.cw_band_20.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
316
322
|
20, "CW"
|
317
323
|
)
|
324
|
+
self.cw_band_17.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
325
|
+
17, "CW"
|
326
|
+
)
|
318
327
|
self.cw_band_15.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
319
328
|
15, "CW"
|
320
329
|
)
|
330
|
+
self.cw_band_12.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
331
|
+
12, "CW"
|
332
|
+
)
|
321
333
|
self.cw_band_10.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
322
334
|
10, "CW"
|
323
335
|
)
|
324
336
|
self.cw_band_6.mousePressEvent = lambda x: self.change_to_band_and_mode(6, "CW")
|
337
|
+
self.cw_band_4.mousePressEvent = lambda x: self.change_to_band_and_mode(4, "CW")
|
325
338
|
self.cw_band_2.mousePressEvent = lambda x: self.change_to_band_and_mode(2, "CW")
|
326
339
|
self.cw_band_125.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
327
340
|
222, "CW"
|
@@ -342,21 +355,33 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
342
355
|
self.ssb_band_80.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
343
356
|
80, "SSB"
|
344
357
|
)
|
358
|
+
self.ssb_band_60.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
359
|
+
60, "SSB"
|
360
|
+
)
|
345
361
|
self.ssb_band_40.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
346
362
|
40, "SSB"
|
347
363
|
)
|
348
364
|
self.ssb_band_20.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
349
365
|
20, "SSB"
|
350
366
|
)
|
367
|
+
self.ssb_band_17.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
368
|
+
17, "SSB"
|
369
|
+
)
|
351
370
|
self.ssb_band_15.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
352
371
|
15, "SSB"
|
353
372
|
)
|
373
|
+
self.ssb_band_12.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
374
|
+
12, "SSB"
|
375
|
+
)
|
354
376
|
self.ssb_band_10.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
355
377
|
10, "SSB"
|
356
378
|
)
|
357
379
|
self.ssb_band_6.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
358
380
|
6, "SSB"
|
359
381
|
)
|
382
|
+
self.ssb_band_4.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
383
|
+
4, "SSB"
|
384
|
+
)
|
360
385
|
self.ssb_band_2.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
361
386
|
2, "SSB"
|
362
387
|
)
|
@@ -379,21 +404,36 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
379
404
|
self.rtty_band_80.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
380
405
|
80, "RTTY"
|
381
406
|
)
|
407
|
+
self.rtty_band_60.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
408
|
+
60, "RTTY"
|
409
|
+
)
|
382
410
|
self.rtty_band_40.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
383
411
|
40, "RTTY"
|
384
412
|
)
|
413
|
+
self.rtty_band_30.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
414
|
+
30, "RTTY"
|
415
|
+
)
|
385
416
|
self.rtty_band_20.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
386
417
|
20, "RTTY"
|
387
418
|
)
|
419
|
+
self.rtty_band_17.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
420
|
+
17, "RTTY"
|
421
|
+
)
|
388
422
|
self.rtty_band_15.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
389
423
|
15, "RTTY"
|
390
424
|
)
|
425
|
+
self.rtty_band_12.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
426
|
+
12, "RTTY"
|
427
|
+
)
|
391
428
|
self.rtty_band_10.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
392
429
|
10, "RTTY"
|
393
430
|
)
|
394
431
|
self.rtty_band_6.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
395
432
|
6, "RTTY"
|
396
433
|
)
|
434
|
+
self.rtty_band_4.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
435
|
+
4, "RTTY"
|
436
|
+
)
|
397
437
|
self.rtty_band_2.mousePressEvent = lambda x: self.change_to_band_and_mode(
|
398
438
|
2, "RTTY"
|
399
439
|
)
|
@@ -413,11 +453,16 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
413
453
|
self.band_indicators_cw = {
|
414
454
|
"160": self.cw_band_160,
|
415
455
|
"80": self.cw_band_80,
|
456
|
+
"60": self.cw_band_60,
|
416
457
|
"40": self.cw_band_40,
|
458
|
+
"30": self.cw_band_30,
|
417
459
|
"20": self.cw_band_20,
|
460
|
+
"17": self.cw_band_17,
|
418
461
|
"15": self.cw_band_15,
|
462
|
+
"12": self.cw_band_12,
|
419
463
|
"10": self.cw_band_10,
|
420
464
|
"6": self.cw_band_6,
|
465
|
+
"4": self.cw_band_4,
|
421
466
|
"2": self.cw_band_2,
|
422
467
|
"1.25": self.cw_band_125,
|
423
468
|
"70cm": self.cw_band_70cm,
|
@@ -428,11 +473,15 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
428
473
|
self.band_indicators_ssb = {
|
429
474
|
"160": self.ssb_band_160,
|
430
475
|
"80": self.ssb_band_80,
|
476
|
+
"60": self.ssb_band_60,
|
431
477
|
"40": self.ssb_band_40,
|
432
478
|
"20": self.ssb_band_20,
|
479
|
+
"17": self.ssb_band_17,
|
433
480
|
"15": self.ssb_band_15,
|
481
|
+
"12": self.ssb_band_12,
|
434
482
|
"10": self.ssb_band_10,
|
435
483
|
"6": self.ssb_band_6,
|
484
|
+
"4": self.ssb_band_4,
|
436
485
|
"2": self.ssb_band_2,
|
437
486
|
"1.25": self.ssb_band_125,
|
438
487
|
"70cm": self.ssb_band_70cm,
|
@@ -443,11 +492,16 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
443
492
|
self.band_indicators_rtty = {
|
444
493
|
"160": self.rtty_band_160,
|
445
494
|
"80": self.rtty_band_80,
|
495
|
+
"60": self.rtty_band_60,
|
446
496
|
"40": self.rtty_band_40,
|
497
|
+
"30": self.rtty_band_30,
|
447
498
|
"20": self.rtty_band_20,
|
499
|
+
"17": self.rtty_band_17,
|
448
500
|
"15": self.rtty_band_15,
|
501
|
+
"12": self.rtty_band_12,
|
449
502
|
"10": self.rtty_band_10,
|
450
503
|
"6": self.rtty_band_6,
|
504
|
+
"4": self.rtty_band_4,
|
451
505
|
"2": self.rtty_band_2,
|
452
506
|
"1.25": self.rtty_band_125,
|
453
507
|
"70cm": self.rtty_band_70cm,
|
@@ -2432,19 +2486,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
2432
2486
|
except (IOError, TypeError, ValueError) as exception:
|
2433
2487
|
logger.critical("Error: %s", exception)
|
2434
2488
|
|
2435
|
-
# self.look_up = None
|
2436
|
-
# if self.pref.get("useqrz"):
|
2437
|
-
# self.look_up = QRZlookup(
|
2438
|
-
# self.pref.get("lookupusername"),
|
2439
|
-
# self.pref.get("lookuppassword"),
|
2440
|
-
# )
|
2441
|
-
|
2442
|
-
# if self.pref.get("usehamqth"):
|
2443
|
-
# self.look_up = HamQTH(
|
2444
|
-
# self.pref.get("lookupusername"),
|
2445
|
-
# self.pref.get("lookuppassword"),
|
2446
|
-
# )
|
2447
|
-
|
2448
2489
|
if self.pref.get("run_state"):
|
2449
2490
|
self.radioButton_run.setChecked(True)
|
2450
2491
|
else:
|
@@ -2493,6 +2534,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
2493
2534
|
except (RuntimeError, AttributeError):
|
2494
2535
|
...
|
2495
2536
|
|
2537
|
+
self.rig_control = None
|
2496
2538
|
self.fldigi_util = FlDigi_Comm()
|
2497
2539
|
|
2498
2540
|
if self.pref.get("useflrig", False):
|
@@ -2563,7 +2605,18 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
2563
2605
|
|
2564
2606
|
# If bands list is empty fill it with HF.
|
2565
2607
|
if self.pref.get("bands", []) == []:
|
2566
|
-
self.pref["bands"] = [
|
2608
|
+
self.pref["bands"] = [
|
2609
|
+
"160",
|
2610
|
+
"80",
|
2611
|
+
"60",
|
2612
|
+
"40",
|
2613
|
+
"30",
|
2614
|
+
"20",
|
2615
|
+
"17",
|
2616
|
+
"15",
|
2617
|
+
"12",
|
2618
|
+
"10",
|
2619
|
+
]
|
2567
2620
|
|
2568
2621
|
# Hide all the bands and then show only the wanted bands.
|
2569
2622
|
for _indicator in [
|
@@ -2981,13 +3034,12 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
2981
3034
|
if mode in ("CW", "CW-U", "CW-L", "CWR"):
|
2982
3035
|
self.setmode("CW")
|
2983
3036
|
self.radio_state["mode"] = "CW"
|
2984
|
-
if self.rig_control:
|
2985
|
-
|
2986
|
-
|
2987
|
-
if self.
|
2988
|
-
|
2989
|
-
|
2990
|
-
self.rig_control.cat.set_flrig_cw_send(True)
|
3037
|
+
if self.rig_control and self.rig_control.online:
|
3038
|
+
self.rig_control.set_mode("CW")
|
3039
|
+
if self.pref.get("cwtype") == 3 and self.rig_control is not None:
|
3040
|
+
if self.rig_control.interface == "flrig":
|
3041
|
+
self.cwspeed_spinbox_changed()
|
3042
|
+
self.rig_control.cat.set_flrig_cw_send(True)
|
2991
3043
|
band = getband(str(self.radio_state.get("vfoa", "0.0")))
|
2992
3044
|
self.set_band_indicator(band)
|
2993
3045
|
self.set_window_title()
|
@@ -2996,11 +3048,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
2996
3048
|
return
|
2997
3049
|
if mode == "RTTY":
|
2998
3050
|
self.setmode("RTTY")
|
2999
|
-
if self.rig_control:
|
3000
|
-
|
3001
|
-
|
3002
|
-
|
3003
|
-
self.radio_state["mode"] = "RTTY"
|
3051
|
+
if self.rig_control and self.rig_control.online:
|
3052
|
+
self.rig_control.set_mode("RTTY")
|
3053
|
+
else:
|
3054
|
+
self.radio_state["mode"] = "RTTY"
|
3004
3055
|
band = getband(str(self.radio_state.get("vfoa", "0.0")))
|
3005
3056
|
self.set_band_indicator(band)
|
3006
3057
|
self.set_window_title()
|
@@ -3220,9 +3271,8 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3220
3271
|
self.contact["Band"] = get_logged_band(str(vfo))
|
3221
3272
|
self.set_band_indicator(band)
|
3222
3273
|
|
3223
|
-
if self.rig_control:
|
3224
|
-
|
3225
|
-
self.rig_control.get_modes()
|
3274
|
+
if self.rig_control and self.rig_control.online:
|
3275
|
+
self.rig_control.get_modes()
|
3226
3276
|
|
3227
3277
|
if self.radio_state.get("mode") != mode:
|
3228
3278
|
info_dirty = True
|
@@ -3236,7 +3286,19 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
3236
3286
|
self.setmode(mode)
|
3237
3287
|
if mode == "LSB" or mode == "USB":
|
3238
3288
|
self.setmode("SSB")
|
3239
|
-
if mode
|
3289
|
+
if mode in (
|
3290
|
+
"RTTY",
|
3291
|
+
"RTTY-R",
|
3292
|
+
"LSB-D",
|
3293
|
+
"USB-D",
|
3294
|
+
"AM-D",
|
3295
|
+
"FM-D",
|
3296
|
+
"DIGI-U",
|
3297
|
+
"DIGI-L",
|
3298
|
+
"RTTYR",
|
3299
|
+
"PKTLSB",
|
3300
|
+
"PKTUSB",
|
3301
|
+
):
|
3240
3302
|
self.setmode("RTTY")
|
3241
3303
|
|
3242
3304
|
if info_dirty:
|
not1mm/data/configuration.ui
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<x>0</x>
|
8
8
|
<y>0</y>
|
9
9
|
<width>703</width>
|
10
|
-
<height>
|
10
|
+
<height>443</height>
|
11
11
|
</rect>
|
12
12
|
</property>
|
13
13
|
<property name="font">
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
42
42
|
</property>
|
43
43
|
<property name="orientation">
|
44
|
-
<enum>Qt::
|
44
|
+
<enum>Qt::Horizontal</enum>
|
45
45
|
</property>
|
46
46
|
<property name="standardButtons">
|
47
47
|
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save</set>
|
@@ -300,7 +300,7 @@
|
|
300
300
|
<item row="2" column="0">
|
301
301
|
<spacer name="horizontalSpacer">
|
302
302
|
<property name="orientation">
|
303
|
-
<enum>Qt::
|
303
|
+
<enum>Qt::Horizontal</enum>
|
304
304
|
</property>
|
305
305
|
<property name="sizeHint" stdset="0">
|
306
306
|
<size>
|
@@ -313,7 +313,7 @@
|
|
313
313
|
<item row="2" column="6">
|
314
314
|
<spacer name="horizontalSpacer_2">
|
315
315
|
<property name="orientation">
|
316
|
-
<enum>Qt::
|
316
|
+
<enum>Qt::Horizontal</enum>
|
317
317
|
</property>
|
318
318
|
<property name="sizeHint" stdset="0">
|
319
319
|
<size>
|
@@ -343,7 +343,7 @@
|
|
343
343
|
<item row="3" column="0">
|
344
344
|
<spacer name="verticalSpacer_4">
|
345
345
|
<property name="orientation">
|
346
|
-
<enum>Qt::
|
346
|
+
<enum>Qt::Vertical</enum>
|
347
347
|
</property>
|
348
348
|
<property name="sizeHint" stdset="0">
|
349
349
|
<size>
|
@@ -379,7 +379,7 @@
|
|
379
379
|
<item row="0" column="0">
|
380
380
|
<spacer name="verticalSpacer_5">
|
381
381
|
<property name="orientation">
|
382
|
-
<enum>Qt::
|
382
|
+
<enum>Qt::Vertical</enum>
|
383
383
|
</property>
|
384
384
|
<property name="sizeHint" stdset="0">
|
385
385
|
<size>
|
@@ -432,7 +432,7 @@
|
|
432
432
|
<item>
|
433
433
|
<spacer name="horizontalSpacer_4">
|
434
434
|
<property name="orientation">
|
435
|
-
<enum>Qt::
|
435
|
+
<enum>Qt::Horizontal</enum>
|
436
436
|
</property>
|
437
437
|
<property name="sizeHint" stdset="0">
|
438
438
|
<size>
|
@@ -527,7 +527,7 @@
|
|
527
527
|
<item>
|
528
528
|
<spacer name="horizontalSpacer_3">
|
529
529
|
<property name="orientation">
|
530
|
-
<enum>Qt::
|
530
|
+
<enum>Qt::Horizontal</enum>
|
531
531
|
</property>
|
532
532
|
<property name="sizeHint" stdset="0">
|
533
533
|
<size>
|
@@ -542,7 +542,7 @@
|
|
542
542
|
<item row="2" column="1" colspan="3">
|
543
543
|
<spacer name="verticalSpacer_2">
|
544
544
|
<property name="orientation">
|
545
|
-
<enum>Qt::
|
545
|
+
<enum>Qt::Vertical</enum>
|
546
546
|
</property>
|
547
547
|
<property name="sizeHint" stdset="0">
|
548
548
|
<size>
|
@@ -573,7 +573,7 @@
|
|
573
573
|
<item row="0" column="2">
|
574
574
|
<spacer name="verticalSpacer">
|
575
575
|
<property name="orientation">
|
576
|
-
<enum>Qt::
|
576
|
+
<enum>Qt::Vertical</enum>
|
577
577
|
</property>
|
578
578
|
<property name="sizeHint" stdset="0">
|
579
579
|
<size>
|
@@ -604,7 +604,7 @@
|
|
604
604
|
<item row="4" column="0" colspan="4">
|
605
605
|
<spacer name="verticalSpacer_3">
|
606
606
|
<property name="orientation">
|
607
|
-
<enum>Qt::
|
607
|
+
<enum>Qt::Vertical</enum>
|
608
608
|
</property>
|
609
609
|
<property name="sizeHint" stdset="0">
|
610
610
|
<size>
|
@@ -695,7 +695,7 @@
|
|
695
695
|
<item row="2" column="0">
|
696
696
|
<spacer name="horizontalSpacer_5">
|
697
697
|
<property name="orientation">
|
698
|
-
<enum>Qt::
|
698
|
+
<enum>Qt::Horizontal</enum>
|
699
699
|
</property>
|
700
700
|
<property name="sizeHint" stdset="0">
|
701
701
|
<size>
|
@@ -805,7 +805,7 @@
|
|
805
805
|
<item row="2" column="4">
|
806
806
|
<spacer name="horizontalSpacer_6">
|
807
807
|
<property name="orientation">
|
808
|
-
<enum>Qt::
|
808
|
+
<enum>Qt::Horizontal</enum>
|
809
809
|
</property>
|
810
810
|
<property name="sizeHint" stdset="0">
|
811
811
|
<size>
|
@@ -825,7 +825,7 @@
|
|
825
825
|
<item row="5" column="0">
|
826
826
|
<spacer name="horizontalSpacer_7">
|
827
827
|
<property name="orientation">
|
828
|
-
<enum>Qt::
|
828
|
+
<enum>Qt::Horizontal</enum>
|
829
829
|
</property>
|
830
830
|
<property name="sizeHint" stdset="0">
|
831
831
|
<size>
|
@@ -838,7 +838,7 @@
|
|
838
838
|
<item row="6" column="1">
|
839
839
|
<spacer name="verticalSpacer_7">
|
840
840
|
<property name="orientation">
|
841
|
-
<enum>Qt::
|
841
|
+
<enum>Qt::Vertical</enum>
|
842
842
|
</property>
|
843
843
|
<property name="sizeHint" stdset="0">
|
844
844
|
<size>
|
@@ -851,7 +851,7 @@
|
|
851
851
|
<item row="5" column="4">
|
852
852
|
<spacer name="horizontalSpacer_11">
|
853
853
|
<property name="orientation">
|
854
|
-
<enum>Qt::
|
854
|
+
<enum>Qt::Horizontal</enum>
|
855
855
|
</property>
|
856
856
|
<property name="sizeHint" stdset="0">
|
857
857
|
<size>
|
@@ -864,7 +864,7 @@
|
|
864
864
|
<item row="5" column="3">
|
865
865
|
<spacer name="horizontalSpacer_9">
|
866
866
|
<property name="orientation">
|
867
|
-
<enum>Qt::
|
867
|
+
<enum>Qt::Horizontal</enum>
|
868
868
|
</property>
|
869
869
|
<property name="sizeHint" stdset="0">
|
870
870
|
<size>
|
@@ -877,7 +877,7 @@
|
|
877
877
|
<item row="5" column="5">
|
878
878
|
<spacer name="horizontalSpacer_10">
|
879
879
|
<property name="orientation">
|
880
|
-
<enum>Qt::
|
880
|
+
<enum>Qt::Horizontal</enum>
|
881
881
|
</property>
|
882
882
|
<property name="sizeHint" stdset="0">
|
883
883
|
<size>
|
@@ -890,7 +890,7 @@
|
|
890
890
|
<item row="5" column="1">
|
891
891
|
<spacer name="horizontalSpacer_8">
|
892
892
|
<property name="orientation">
|
893
|
-
<enum>Qt::
|
893
|
+
<enum>Qt::Horizontal</enum>
|
894
894
|
</property>
|
895
895
|
<property name="sizeHint" stdset="0">
|
896
896
|
<size>
|
@@ -903,7 +903,7 @@
|
|
903
903
|
<item row="0" column="1">
|
904
904
|
<spacer name="verticalSpacer_6">
|
905
905
|
<property name="orientation">
|
906
|
-
<enum>Qt::
|
906
|
+
<enum>Qt::Vertical</enum>
|
907
907
|
</property>
|
908
908
|
<property name="sizeHint" stdset="0">
|
909
909
|
<size>
|
@@ -1499,84 +1499,119 @@
|
|
1499
1499
|
<string>Bands</string>
|
1500
1500
|
</attribute>
|
1501
1501
|
<layout class="QGridLayout" name="gridLayout_9">
|
1502
|
-
<item row="
|
1503
|
-
<widget class="QCheckBox" name="
|
1502
|
+
<item row="0" column="0">
|
1503
|
+
<widget class="QCheckBox" name="activate_160m">
|
1504
1504
|
<property name="text">
|
1505
|
-
<string>
|
1505
|
+
<string>160M</string>
|
1506
1506
|
</property>
|
1507
1507
|
</widget>
|
1508
1508
|
</item>
|
1509
|
-
<item row="
|
1510
|
-
<widget class="QCheckBox" name="
|
1509
|
+
<item row="1" column="0">
|
1510
|
+
<widget class="QCheckBox" name="activate_80m">
|
1511
1511
|
<property name="text">
|
1512
|
-
<string>
|
1512
|
+
<string>80M</string>
|
1513
1513
|
</property>
|
1514
1514
|
</widget>
|
1515
1515
|
</item>
|
1516
1516
|
<item row="2" column="0">
|
1517
|
-
<widget class="QCheckBox" name="
|
1517
|
+
<widget class="QCheckBox" name="activate_60m">
|
1518
1518
|
<property name="text">
|
1519
|
-
<string>
|
1519
|
+
<string>60M</string>
|
1520
1520
|
</property>
|
1521
1521
|
</widget>
|
1522
1522
|
</item>
|
1523
|
-
<item row="
|
1524
|
-
<widget class="QCheckBox" name="
|
1523
|
+
<item row="3" column="0">
|
1524
|
+
<widget class="QCheckBox" name="activate_40m">
|
1525
1525
|
<property name="text">
|
1526
|
-
<string>
|
1526
|
+
<string>40M</string>
|
1527
1527
|
</property>
|
1528
1528
|
</widget>
|
1529
1529
|
</item>
|
1530
|
-
<item row="
|
1531
|
-
<widget class="QCheckBox" name="
|
1530
|
+
<item row="4" column="0">
|
1531
|
+
<widget class="QCheckBox" name="activate_30m">
|
1532
1532
|
<property name="text">
|
1533
|
-
<string>
|
1533
|
+
<string>30M</string>
|
1534
1534
|
</property>
|
1535
1535
|
</widget>
|
1536
1536
|
</item>
|
1537
|
-
<item row="
|
1538
|
-
<widget class="QCheckBox" name="
|
1537
|
+
<item row="5" column="0">
|
1538
|
+
<widget class="QCheckBox" name="activate_20m">
|
1539
1539
|
<property name="text">
|
1540
|
-
<string>
|
1540
|
+
<string>20M</string>
|
1541
1541
|
</property>
|
1542
1542
|
</widget>
|
1543
1543
|
</item>
|
1544
|
-
<item row="
|
1545
|
-
<widget class="QCheckBox" name="
|
1544
|
+
<item row="6" column="0">
|
1545
|
+
<widget class="QCheckBox" name="activate_17m">
|
1546
1546
|
<property name="text">
|
1547
|
-
<string>
|
1547
|
+
<string>17M</string>
|
1548
1548
|
</property>
|
1549
1549
|
</widget>
|
1550
1550
|
</item>
|
1551
|
-
<item row="
|
1551
|
+
<item row="7" column="0">
|
1552
1552
|
<widget class="QCheckBox" name="activate_15m">
|
1553
1553
|
<property name="text">
|
1554
1554
|
<string>15M</string>
|
1555
1555
|
</property>
|
1556
1556
|
</widget>
|
1557
1557
|
</item>
|
1558
|
-
<item row="
|
1558
|
+
<item row="9" column="0">
|
1559
|
+
<widget class="QCheckBox" name="activate_12m">
|
1560
|
+
<property name="text">
|
1561
|
+
<string>12M</string>
|
1562
|
+
</property>
|
1563
|
+
</widget>
|
1564
|
+
</item>
|
1565
|
+
<item row="0" column="1">
|
1559
1566
|
<widget class="QCheckBox" name="activate_10m">
|
1560
1567
|
<property name="text">
|
1561
1568
|
<string>10M</string>
|
1562
1569
|
</property>
|
1563
1570
|
</widget>
|
1564
1571
|
</item>
|
1572
|
+
<item row="1" column="1">
|
1573
|
+
<widget class="QCheckBox" name="activate_6m">
|
1574
|
+
<property name="text">
|
1575
|
+
<string>6M</string>
|
1576
|
+
</property>
|
1577
|
+
</widget>
|
1578
|
+
</item>
|
1579
|
+
<item row="2" column="1">
|
1580
|
+
<widget class="QCheckBox" name="activate_4m">
|
1581
|
+
<property name="text">
|
1582
|
+
<string>4M</string>
|
1583
|
+
</property>
|
1584
|
+
</widget>
|
1585
|
+
</item>
|
1565
1586
|
<item row="3" column="1">
|
1587
|
+
<widget class="QCheckBox" name="activate_2m">
|
1588
|
+
<property name="text">
|
1589
|
+
<string>2M</string>
|
1590
|
+
</property>
|
1591
|
+
</widget>
|
1592
|
+
</item>
|
1593
|
+
<item row="4" column="1">
|
1594
|
+
<widget class="QCheckBox" name="activate_1dot25">
|
1595
|
+
<property name="text">
|
1596
|
+
<string>1.25M</string>
|
1597
|
+
</property>
|
1598
|
+
</widget>
|
1599
|
+
</item>
|
1600
|
+
<item row="5" column="1">
|
1566
1601
|
<widget class="QCheckBox" name="activate_70cm">
|
1567
1602
|
<property name="text">
|
1568
1603
|
<string>70cm</string>
|
1569
1604
|
</property>
|
1570
1605
|
</widget>
|
1571
1606
|
</item>
|
1572
|
-
<item row="
|
1607
|
+
<item row="6" column="1">
|
1573
1608
|
<widget class="QCheckBox" name="activate_33cm">
|
1574
1609
|
<property name="text">
|
1575
1610
|
<string>33cm</string>
|
1576
1611
|
</property>
|
1577
1612
|
</widget>
|
1578
1613
|
</item>
|
1579
|
-
<item row="
|
1614
|
+
<item row="7" column="1">
|
1580
1615
|
<widget class="QCheckBox" name="activate_23cm">
|
1581
1616
|
<property name="text">
|
1582
1617
|
<string>23cm</string>
|
not1mm/data/main.ui
CHANGED
@@ -99,7 +99,7 @@
|
|
99
99
|
<item>
|
100
100
|
<widget class="QLabel" name="cw_band_160">
|
101
101
|
<property name="accessibleName">
|
102
|
-
<string>160
|
102
|
+
<string>160</string>
|
103
103
|
</property>
|
104
104
|
<property name="text">
|
105
105
|
<string>160</string>
|
@@ -119,6 +119,16 @@
|
|
119
119
|
</property>
|
120
120
|
</widget>
|
121
121
|
</item>
|
122
|
+
<item>
|
123
|
+
<widget class="QLabel" name="cw_band_60">
|
124
|
+
<property name="text">
|
125
|
+
<string>60</string>
|
126
|
+
</property>
|
127
|
+
<property name="alignment">
|
128
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
129
|
+
</property>
|
130
|
+
</widget>
|
131
|
+
</item>
|
122
132
|
<item>
|
123
133
|
<widget class="QLabel" name="cw_band_40">
|
124
134
|
<property name="text">
|
@@ -129,6 +139,16 @@
|
|
129
139
|
</property>
|
130
140
|
</widget>
|
131
141
|
</item>
|
142
|
+
<item>
|
143
|
+
<widget class="QLabel" name="cw_band_30">
|
144
|
+
<property name="text">
|
145
|
+
<string>30</string>
|
146
|
+
</property>
|
147
|
+
<property name="alignment">
|
148
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
149
|
+
</property>
|
150
|
+
</widget>
|
151
|
+
</item>
|
132
152
|
<item>
|
133
153
|
<widget class="QLabel" name="cw_band_20">
|
134
154
|
<property name="text">
|
@@ -139,6 +159,16 @@
|
|
139
159
|
</property>
|
140
160
|
</widget>
|
141
161
|
</item>
|
162
|
+
<item>
|
163
|
+
<widget class="QLabel" name="cw_band_17">
|
164
|
+
<property name="text">
|
165
|
+
<string>17</string>
|
166
|
+
</property>
|
167
|
+
<property name="alignment">
|
168
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
169
|
+
</property>
|
170
|
+
</widget>
|
171
|
+
</item>
|
142
172
|
<item>
|
143
173
|
<widget class="QLabel" name="cw_band_15">
|
144
174
|
<property name="text">
|
@@ -149,6 +179,16 @@
|
|
149
179
|
</property>
|
150
180
|
</widget>
|
151
181
|
</item>
|
182
|
+
<item>
|
183
|
+
<widget class="QLabel" name="cw_band_12">
|
184
|
+
<property name="text">
|
185
|
+
<string>12</string>
|
186
|
+
</property>
|
187
|
+
<property name="alignment">
|
188
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
189
|
+
</property>
|
190
|
+
</widget>
|
191
|
+
</item>
|
152
192
|
<item>
|
153
193
|
<widget class="QLabel" name="cw_band_10">
|
154
194
|
<property name="text">
|
@@ -169,6 +209,16 @@
|
|
169
209
|
</property>
|
170
210
|
</widget>
|
171
211
|
</item>
|
212
|
+
<item>
|
213
|
+
<widget class="QLabel" name="cw_band_4">
|
214
|
+
<property name="text">
|
215
|
+
<string>4</string>
|
216
|
+
</property>
|
217
|
+
<property name="alignment">
|
218
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
219
|
+
</property>
|
220
|
+
</widget>
|
221
|
+
</item>
|
172
222
|
<item>
|
173
223
|
<widget class="QLabel" name="cw_band_2">
|
174
224
|
<property name="text">
|
@@ -292,6 +342,16 @@
|
|
292
342
|
</property>
|
293
343
|
</widget>
|
294
344
|
</item>
|
345
|
+
<item>
|
346
|
+
<widget class="QLabel" name="ssb_band_60">
|
347
|
+
<property name="text">
|
348
|
+
<string>60</string>
|
349
|
+
</property>
|
350
|
+
<property name="alignment">
|
351
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
352
|
+
</property>
|
353
|
+
</widget>
|
354
|
+
</item>
|
295
355
|
<item>
|
296
356
|
<widget class="QLabel" name="ssb_band_40">
|
297
357
|
<property name="text">
|
@@ -312,6 +372,16 @@
|
|
312
372
|
</property>
|
313
373
|
</widget>
|
314
374
|
</item>
|
375
|
+
<item>
|
376
|
+
<widget class="QLabel" name="ssb_band_17">
|
377
|
+
<property name="text">
|
378
|
+
<string>17</string>
|
379
|
+
</property>
|
380
|
+
<property name="alignment">
|
381
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
382
|
+
</property>
|
383
|
+
</widget>
|
384
|
+
</item>
|
315
385
|
<item>
|
316
386
|
<widget class="QLabel" name="ssb_band_15">
|
317
387
|
<property name="text">
|
@@ -322,6 +392,16 @@
|
|
322
392
|
</property>
|
323
393
|
</widget>
|
324
394
|
</item>
|
395
|
+
<item>
|
396
|
+
<widget class="QLabel" name="ssb_band_12">
|
397
|
+
<property name="text">
|
398
|
+
<string>12</string>
|
399
|
+
</property>
|
400
|
+
<property name="alignment">
|
401
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
402
|
+
</property>
|
403
|
+
</widget>
|
404
|
+
</item>
|
325
405
|
<item>
|
326
406
|
<widget class="QLabel" name="ssb_band_10">
|
327
407
|
<property name="text">
|
@@ -342,6 +422,16 @@
|
|
342
422
|
</property>
|
343
423
|
</widget>
|
344
424
|
</item>
|
425
|
+
<item>
|
426
|
+
<widget class="QLabel" name="ssb_band_4">
|
427
|
+
<property name="text">
|
428
|
+
<string>4</string>
|
429
|
+
</property>
|
430
|
+
<property name="alignment">
|
431
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
432
|
+
</property>
|
433
|
+
</widget>
|
434
|
+
</item>
|
345
435
|
<item>
|
346
436
|
<widget class="QLabel" name="ssb_band_2">
|
347
437
|
<property name="text">
|
@@ -465,6 +555,16 @@
|
|
465
555
|
</property>
|
466
556
|
</widget>
|
467
557
|
</item>
|
558
|
+
<item>
|
559
|
+
<widget class="QLabel" name="rtty_band_60">
|
560
|
+
<property name="text">
|
561
|
+
<string>60</string>
|
562
|
+
</property>
|
563
|
+
<property name="alignment">
|
564
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
565
|
+
</property>
|
566
|
+
</widget>
|
567
|
+
</item>
|
468
568
|
<item>
|
469
569
|
<widget class="QLabel" name="rtty_band_40">
|
470
570
|
<property name="text">
|
@@ -475,6 +575,16 @@
|
|
475
575
|
</property>
|
476
576
|
</widget>
|
477
577
|
</item>
|
578
|
+
<item>
|
579
|
+
<widget class="QLabel" name="rtty_band_30">
|
580
|
+
<property name="text">
|
581
|
+
<string>30</string>
|
582
|
+
</property>
|
583
|
+
<property name="alignment">
|
584
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
585
|
+
</property>
|
586
|
+
</widget>
|
587
|
+
</item>
|
478
588
|
<item>
|
479
589
|
<widget class="QLabel" name="rtty_band_20">
|
480
590
|
<property name="text">
|
@@ -485,6 +595,16 @@
|
|
485
595
|
</property>
|
486
596
|
</widget>
|
487
597
|
</item>
|
598
|
+
<item>
|
599
|
+
<widget class="QLabel" name="rtty_band_17">
|
600
|
+
<property name="text">
|
601
|
+
<string>17</string>
|
602
|
+
</property>
|
603
|
+
<property name="alignment">
|
604
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
605
|
+
</property>
|
606
|
+
</widget>
|
607
|
+
</item>
|
488
608
|
<item>
|
489
609
|
<widget class="QLabel" name="rtty_band_15">
|
490
610
|
<property name="text">
|
@@ -495,6 +615,16 @@
|
|
495
615
|
</property>
|
496
616
|
</widget>
|
497
617
|
</item>
|
618
|
+
<item>
|
619
|
+
<widget class="QLabel" name="rtty_band_12">
|
620
|
+
<property name="text">
|
621
|
+
<string>12</string>
|
622
|
+
</property>
|
623
|
+
<property name="alignment">
|
624
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
625
|
+
</property>
|
626
|
+
</widget>
|
627
|
+
</item>
|
498
628
|
<item>
|
499
629
|
<widget class="QLabel" name="rtty_band_10">
|
500
630
|
<property name="text">
|
@@ -515,6 +645,16 @@
|
|
515
645
|
</property>
|
516
646
|
</widget>
|
517
647
|
</item>
|
648
|
+
<item>
|
649
|
+
<widget class="QLabel" name="rtty_band_4">
|
650
|
+
<property name="text">
|
651
|
+
<string>4</string>
|
652
|
+
</property>
|
653
|
+
<property name="alignment">
|
654
|
+
<set>Qt::AlignmentFlag::AlignCenter</set>
|
655
|
+
</property>
|
656
|
+
</widget>
|
657
|
+
</item>
|
518
658
|
<item>
|
519
659
|
<widget class="QLabel" name="rtty_band_2">
|
520
660
|
<property name="text">
|
@@ -638,6 +778,12 @@
|
|
638
778
|
</item>
|
639
779
|
<item>
|
640
780
|
<widget class="QLineEdit" name="sent">
|
781
|
+
<property name="minimumSize">
|
782
|
+
<size>
|
783
|
+
<width>60</width>
|
784
|
+
<height>0</height>
|
785
|
+
</size>
|
786
|
+
</property>
|
641
787
|
<property name="font">
|
642
788
|
<font>
|
643
789
|
<family>JetBrains Mono ExtraLight</family>
|
@@ -673,6 +819,12 @@
|
|
673
819
|
</item>
|
674
820
|
<item>
|
675
821
|
<widget class="QLineEdit" name="receive">
|
822
|
+
<property name="minimumSize">
|
823
|
+
<size>
|
824
|
+
<width>60</width>
|
825
|
+
<height>0</height>
|
826
|
+
</size>
|
827
|
+
</property>
|
676
828
|
<property name="font">
|
677
829
|
<font>
|
678
830
|
<family>JetBrains Mono ExtraLight</family>
|
not1mm/lib/ham_utility.py
CHANGED
@@ -99,6 +99,8 @@ def getband(freq: str) -> str:
|
|
99
99
|
return "10"
|
100
100
|
if 54000000 > frequency > 50000000:
|
101
101
|
return "6"
|
102
|
+
if 70500000 > frequency > 70000000:
|
103
|
+
return "4"
|
102
104
|
if 148000000 > frequency > 144000000:
|
103
105
|
return "2"
|
104
106
|
if 225000000 > frequency > 222000000:
|
@@ -143,6 +145,8 @@ def get_logged_band(freq: str) -> str:
|
|
143
145
|
return "28"
|
144
146
|
if 54000000 > frequency > 50000000:
|
145
147
|
return "50"
|
148
|
+
if 70500000 > frequency > 70000000:
|
149
|
+
return "70"
|
146
150
|
if 148000000 > frequency > 144000000:
|
147
151
|
return "144"
|
148
152
|
if 225000000 > frequency > 222000000:
|
@@ -249,6 +253,7 @@ def fakefreq(band: str, mode: str) -> str:
|
|
249
253
|
"12": ["24911", "24920", "24970"],
|
250
254
|
"10": ["28065", "28070", "28400"],
|
251
255
|
"6": ["50030", "50300", "50125"],
|
256
|
+
"4": ["70030", "70300", "70125"],
|
252
257
|
"2": ["144030", "144144", "144250"],
|
253
258
|
"222": ["222100", "222070", "222100"],
|
254
259
|
"432": ["432070", "432200", "432100"],
|
not1mm/lib/settings.py
CHANGED
@@ -79,9 +79,7 @@ class Settings(QtWidgets.QDialog):
|
|
79
79
|
self.n1mm_lookupport.setText(str(self.preference.get("n1mm_lookupport", "")))
|
80
80
|
self.n1mm_scoreport.setText(str(self.preference.get("n1mm_scoreport", "")))
|
81
81
|
self.send_n1mm_radio.setChecked(bool(self.preference.get("send_n1mm_radio")))
|
82
|
-
self.send_n1mm_contact.setChecked(
|
83
|
-
bool(self.preference.get("send_n1mm_contact"))
|
84
|
-
)
|
82
|
+
self.send_n1mm_contact.setChecked(bool(self.preference.get("send_n1mm_contact")))
|
85
83
|
self.send_n1mm_lookup.setChecked(bool(self.preference.get("send_n1mm_lookup")))
|
86
84
|
self.send_n1mm_score.setChecked(bool(self.preference.get("send_n1mm_score")))
|
87
85
|
|
@@ -96,15 +94,18 @@ class Settings(QtWidgets.QDialog):
|
|
96
94
|
self.cluster_mode.setCurrentIndex(index)
|
97
95
|
self.activate_160m.setChecked(bool("160" in self.preference.get("bands", [])))
|
98
96
|
self.activate_80m.setChecked(bool("80" in self.preference.get("bands", [])))
|
97
|
+
self.activate_60m.setChecked(bool("60" in self.preference.get("bands", [])))
|
99
98
|
self.activate_40m.setChecked(bool("40" in self.preference.get("bands", [])))
|
99
|
+
self.activate_30m.setChecked(bool("30" in self.preference.get("bands", [])))
|
100
100
|
self.activate_20m.setChecked(bool("20" in self.preference.get("bands", [])))
|
101
|
+
self.activate_17m.setChecked(bool("17" in self.preference.get("bands", [])))
|
101
102
|
self.activate_15m.setChecked(bool("15" in self.preference.get("bands", [])))
|
103
|
+
self.activate_12m.setChecked(bool("12" in self.preference.get("bands", [])))
|
102
104
|
self.activate_10m.setChecked(bool("10" in self.preference.get("bands", [])))
|
103
105
|
self.activate_6m.setChecked(bool("6" in self.preference.get("bands", [])))
|
106
|
+
self.activate_4m.setChecked(bool("4" in self.preference.get("bands", [])))
|
104
107
|
self.activate_2m.setChecked(bool("2" in self.preference.get("bands", [])))
|
105
|
-
self.activate_1dot25.setChecked(
|
106
|
-
bool("1.25" in self.preference.get("bands", []))
|
107
|
-
)
|
108
|
+
self.activate_1dot25.setChecked(bool("1.25" in self.preference.get("bands", [])))
|
108
109
|
self.activate_70cm.setChecked(bool("70cm" in self.preference.get("bands", [])))
|
109
110
|
self.activate_33cm.setChecked(bool("33cm" in self.preference.get("bands", [])))
|
110
111
|
self.activate_23cm.setChecked(bool("23cm" in self.preference.get("bands", [])))
|
@@ -166,16 +167,26 @@ class Settings(QtWidgets.QDialog):
|
|
166
167
|
bandlist.append("160")
|
167
168
|
if self.activate_80m.isChecked():
|
168
169
|
bandlist.append("80")
|
170
|
+
if self.activate_60m.isChecked():
|
171
|
+
bandlist.append("60")
|
169
172
|
if self.activate_40m.isChecked():
|
170
173
|
bandlist.append("40")
|
174
|
+
if self.activate_30m.isChecked():
|
175
|
+
bandlist.append("30")
|
171
176
|
if self.activate_20m.isChecked():
|
172
177
|
bandlist.append("20")
|
178
|
+
if self.activate_17m.isChecked():
|
179
|
+
bandlist.append("17")
|
173
180
|
if self.activate_15m.isChecked():
|
174
181
|
bandlist.append("15")
|
182
|
+
if self.activate_12m.isChecked():
|
183
|
+
bandlist.append("12")
|
175
184
|
if self.activate_10m.isChecked():
|
176
185
|
bandlist.append("10")
|
177
186
|
if self.activate_6m.isChecked():
|
178
187
|
bandlist.append("6")
|
188
|
+
if self.activate_4m.isChecked():
|
189
|
+
bandlist.append("4")
|
179
190
|
if self.activate_2m.isChecked():
|
180
191
|
bandlist.append("2")
|
181
192
|
if self.activate_1dot25.isChecked():
|
not1mm/lib/version.py
CHANGED
not1mm/radio.py
CHANGED
@@ -90,30 +90,39 @@ class Radio(QObject):
|
|
90
90
|
self.cat.sendcw(texttosend)
|
91
91
|
|
92
92
|
def set_vfo(self, vfo):
|
93
|
+
self.vfoa = vfo
|
94
|
+
|
93
95
|
if self.cat:
|
94
96
|
self.cat.set_vfo(vfo)
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
97
|
+
try:
|
98
|
+
self.poll_callback.emit(
|
99
|
+
{
|
100
|
+
"vfoa": self.vfoa,
|
101
|
+
"mode": self.mode,
|
102
|
+
"bw": self.bw,
|
103
|
+
"online": self.online,
|
104
|
+
}
|
105
|
+
)
|
106
|
+
except RuntimeError:
|
107
|
+
...
|
104
108
|
|
105
109
|
def set_mode(self, mode):
|
110
|
+
self.mode = mode
|
111
|
+
|
106
112
|
if self.cat:
|
107
113
|
self.cat.set_mode(mode)
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
114
|
+
|
115
|
+
try:
|
116
|
+
self.poll_callback.emit(
|
117
|
+
{
|
118
|
+
"vfoa": self.vfoa,
|
119
|
+
"mode": self.mode,
|
120
|
+
"bw": self.bw,
|
121
|
+
"online": self.online,
|
122
|
+
}
|
123
|
+
)
|
124
|
+
except RuntimeError:
|
125
|
+
...
|
117
126
|
|
118
127
|
def get_modes(self):
|
119
128
|
return self.modes
|
not1mm/test.py
CHANGED
@@ -31,10 +31,17 @@
|
|
31
31
|
# from not1mm.radio import Radio
|
32
32
|
from not1mm.lib.cat_interface import CAT
|
33
33
|
|
34
|
+
rig_control = None
|
35
|
+
|
36
|
+
print(f"{rig_control and rig_control.online}")
|
37
|
+
|
34
38
|
rig_control = CAT("rigctld", "127.0.0.1", 4532)
|
35
39
|
|
40
|
+
print(f"{rig_control and rig_control.online}")
|
41
|
+
|
36
42
|
modes = rig_control.get_mode_list()
|
43
|
+
mode = rig_control.get_mode()
|
37
44
|
vfo = rig_control.get_vfo()
|
38
45
|
|
39
46
|
print(f"{modes=}\n")
|
40
|
-
print(f"{vfo=}")
|
47
|
+
print(f"{vfo=} {mode=}")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.9.
|
3
|
+
Version: 24.9.28
|
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
|
@@ -230,6 +230,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
230
230
|
|
231
231
|
## Recent Changes
|
232
232
|
|
233
|
+
- [24-9-28] Fixed crash with CAT None, Display tweek. Refactored a couple conditionals.
|
234
|
+
- [24-9-25-1] Added WARC and 4M bands.
|
233
235
|
- [24-9-25] Fix QRZ lookup crash on non-existant call.
|
234
236
|
- [24-9-24] Correct crash in CWT.
|
235
237
|
- [24-9-23] Improved serial interface to rigctld. Send RTTY macros to fldigi when radio modes are RTTY, USB-D, LSB-D, PKTLSB, PKTUSB, DIGI-U, DIGI-L.
|
@@ -1,12 +1,12 @@
|
|
1
1
|
not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
not1mm/__main__.py,sha256=
|
2
|
+
not1mm/__main__.py,sha256=OfJVg-K9ej-huBPzrTaY0wcRBNiLnvzhjelFx0T7nEY,129231
|
3
3
|
not1mm/bandmap.py,sha256=1b5tXCfGTnpqqn6hPNt7zRA8SmuwSXzSwNHZXhCRt70,31434
|
4
4
|
not1mm/checkwindow.py,sha256=aI-nr8OF90IWV7R_XRdmitvBJ9M85evCs72HoU3Jnvc,10374
|
5
5
|
not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
|
6
6
|
not1mm/logwindow.py,sha256=pwhiwolmGnW01LF4sjlu3ywLsgfxL6KuGuKuYKYmgeY,44403
|
7
7
|
not1mm/lookupservice.py,sha256=jsFg5tsB9cVnahLP-hI3CMwbjlEpMx944O8RLWntAy4,3342
|
8
|
-
not1mm/radio.py,sha256=
|
9
|
-
not1mm/test.py,sha256=
|
8
|
+
not1mm/radio.py,sha256=3X38i3jzZG9D1QN7p4pYZpMzRz6xyuWuN8rxLK3UNik,3662
|
9
|
+
not1mm/test.py,sha256=HI1lUcKncR-5QXpBuepliRc4HYSSOcwZJWXrP6yjXb8,2453
|
10
10
|
not1mm/vfo.py,sha256=IvmUQYMIPzLJw_BHQGis4J_IEW-vlBtdfxZLXPh7OzI,12335
|
11
11
|
not1mm/voice_keying.py,sha256=sA3gw5_k7kShTg2qhG7HkKDM5M6KheJVRkAc_C7mxDk,3006
|
12
12
|
not1mm/data/JetBrainsMono-ExtraLight.ttf,sha256=g5Hn7BPounWMGDj1a8zZcyKMz03HSqW__pUluRR7Evg,274144
|
@@ -16,7 +16,7 @@ not1mm/data/alpha bravo charlie delta.txt,sha256=d5QMmSWEUAe4Rj1XbNjTPLa_5Be4Se6
|
|
16
16
|
not1mm/data/bandmap.ui,sha256=hvovf1YKyfUVVbKl6Ib2zU4RdUrFsQwm-255wVeKXZE,7180
|
17
17
|
not1mm/data/check.png,sha256=UvFOLr8V-79qnjW8wUaGItXk_OSP8m8hqPevs8NDlFY,387
|
18
18
|
not1mm/data/checkwindow.ui,sha256=Ux5EgO-JalGB9qx3M6tmMpGHO0RmuuY1w0XEbuwd1xk,4658
|
19
|
-
not1mm/data/configuration.ui,sha256=
|
19
|
+
not1mm/data/configuration.ui,sha256=L3gZPd_qaAntVIojUktJXSj6dAAs9NNWLgzxdaWEZBE,53488
|
20
20
|
not1mm/data/contests.sql,sha256=4hmJCDvrbxnA_Y5S4T5o52TZieeFk6QUwFerwlFePNA,89307
|
21
21
|
not1mm/data/cty.json,sha256=sBIN1raQOKeVIO5dRaWn0Yqq8XZKpM_VCzS3kMlcwp4,4871545
|
22
22
|
not1mm/data/cwmacros.txt,sha256=PvJ7TxGILq-ErHb6Gbrm-08x76BbCdXb8AY8a7st5mg,451
|
@@ -30,7 +30,7 @@ not1mm/data/k6gte.not1mm-32.png,sha256=XdTsCa3xqwTfn26Ga7RwO_Vlbg_77RKkSc8bMxVcC
|
|
30
30
|
not1mm/data/k6gte.not1mm-64.png,sha256=6ku45Gq1g5ezh04F07osoKRtanb3e4kbx5XdIEh3N90,2925
|
31
31
|
not1mm/data/logwindow.ui,sha256=f7vULj96tHIQuR1nJMyvPHHcmVgzkhv9D1isyojsnFU,1458
|
32
32
|
not1mm/data/logwindowx.ui,sha256=CwpI-h7cI1yqyldH9quKftsdHL5lTyL9ABOcf80nfqc,1632
|
33
|
-
not1mm/data/main.ui,sha256=
|
33
|
+
not1mm/data/main.ui,sha256=IOrAJfJDhG30bWi08pLBGzDKjBvjKfPNI9-GNpvu0vI,61886
|
34
34
|
not1mm/data/new_contest.ui,sha256=jR_bQMvsKgqD3az9iNS2fvPSs3WTf_phs5JXp1Ra8nA,23008
|
35
35
|
not1mm/data/not1mm.html,sha256=c9-mfjMwDt4f5pySUruz2gREW33CQ2_rCddM2z5CZQo,23273
|
36
36
|
not1mm/data/opon.ui,sha256=QDicqAk2lORG2UWsHa6jHlsGn6uzrrI2R4HSAocpPes,2258
|
@@ -104,7 +104,7 @@ not1mm/lib/edit_station.py,sha256=doL21Hs6jzIE43ohAopdFt_iqnRJZHFcqzcnCS0-iio,19
|
|
104
104
|
not1mm/lib/fldigi_sendstring.py,sha256=EeXSBRKgyUEzNyHBjMtHiFe-iOU3TcWcCCX77t0ur_I,602
|
105
105
|
not1mm/lib/fldigi_watcher.py,sha256=reZz3fZLDoJVVZhJD9nIssk2aczCzadDSQTVu-5mTCM,919
|
106
106
|
not1mm/lib/ft8_watcher.py,sha256=BFmVIsnbwuRMWoe-dIBybuCgi0WFmr8Km0O9l4eiwMM,4624
|
107
|
-
not1mm/lib/ham_utility.py,sha256=
|
107
|
+
not1mm/lib/ham_utility.py,sha256=WMmYLDI_fJHHsn0wkpGVit2Hv8fo6r9ybexXROia8Cg,11967
|
108
108
|
not1mm/lib/lookup.py,sha256=_Awt1HjiuSrhLTrwoF8EoFQC_bYYH1vqfAo_HSaMb00,10838
|
109
109
|
not1mm/lib/multicast.py,sha256=bnFUNHyy82GmIb3_88EPBVVssj7-HzkJPaH671cK8Qw,3249
|
110
110
|
not1mm/lib/n1mm.py,sha256=H54mpgJF0GAmKavM-nb5OAq2SJFWYkux4eMWWiSRxJc,6288
|
@@ -112,9 +112,9 @@ not1mm/lib/new_contest.py,sha256=IznTDMq7yXHB6zBoGUEC_WDYPCPpsSZW4wwMJi16zK0,816
|
|
112
112
|
not1mm/lib/playsound.py,sha256=kxkcitBFbZCXJ2wxQ1lxg4rBwfxiSpuNpJSXHOPCoXA,9241
|
113
113
|
not1mm/lib/plugin_common.py,sha256=HbphFFzU1XIIHgsCHOb_tCAnQyqT-nYnxoiz1oZ2_cg,9623
|
114
114
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
115
|
-
not1mm/lib/settings.py,sha256=
|
115
|
+
not1mm/lib/settings.py,sha256=0Su8BQM4haVhc_P74q8UhzRZxtgWhM40UmVtQdMJQeM,10022
|
116
116
|
not1mm/lib/super_check_partial.py,sha256=p5l3u2ZOCBtlWgbvskC50FpuoaIpR07tfC6zTdRWbh4,2334
|
117
|
-
not1mm/lib/version.py,sha256=
|
117
|
+
not1mm/lib/version.py,sha256=xJwA0FCG5-fYglNvxnhp4t5R1Y5yj0T8ddodCCyOGME,48
|
118
118
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
119
119
|
not1mm/plugins/10_10_fall_cw.py,sha256=IttjX1yy4nDdACGsiYlPteFG8eVseX_WtoFio6bqHE8,10953
|
120
120
|
not1mm/plugins/10_10_spring_cw.py,sha256=ThCptdM3dX4ywhoy2JRcOEyHSqcJolFaT7O_PYzM1Mg,10958
|
@@ -140,7 +140,7 @@ not1mm/plugins/cq_ww_cw.py,sha256=m4Xkqb_qFyXWEgkxqbanvtiCTvI8NNPKNXzHgFZzhnE,12
|
|
140
140
|
not1mm/plugins/cq_ww_rtty.py,sha256=RK7xmZN3f_7Pk1bFKXvqEQd1NAsoJFO-xuhLrtp0qhw,16279
|
141
141
|
not1mm/plugins/cq_ww_ssb.py,sha256=hZwG88-hPLmwIGXHX_S_ty8Nhn1kIuPjSuTRpCWoN9g,12631
|
142
142
|
not1mm/plugins/cwt.py,sha256=k5yX_2Ma_arVxzDP2E9mwA08LUVFLOk8vUpHwHt2aGA,12777
|
143
|
-
not1mm/plugins/general_logging.py,sha256=
|
143
|
+
not1mm/plugins/general_logging.py,sha256=n-2es7erqK1ptwq_wwIKIwktptKN7ra2eWjAQlpXUac,3479
|
144
144
|
not1mm/plugins/helvetia.py,sha256=6aOO4uiLzFFgHA-A3xz6IRdCJpqPOAm0egKxP5Y_Ie0,15432
|
145
145
|
not1mm/plugins/iaru_fieldday_r1_cw.py,sha256=B_kh8d8LkC0va_iIiIzImOKAT8724yf9ceF-2eQdx1w,13301
|
146
146
|
not1mm/plugins/iaru_fieldday_r1_ssb.py,sha256=5hIL60cfGBzVlb70XFtI3OeGZT2966LoryTgKK6kDEc,13306
|
@@ -156,9 +156,9 @@ not1mm/plugins/ref_cw.py,sha256=aWjHHkqIKutjRUtzh09y5haFfnZK9poRQDWRQMDRxxU,1632
|
|
156
156
|
not1mm/plugins/stew_perry_topband.py,sha256=CKBQbYl4ETxhXJd2dma4fg_C5pag_s7Nf61SCztZtqE,10668
|
157
157
|
not1mm/plugins/weekly_rtty.py,sha256=DQcy3SY0Zn56EdlYGf3NxrRhTnkNa5IqRQPRQdKDSPs,14255
|
158
158
|
not1mm/plugins/winter_field_day.py,sha256=4rcfRtobwjHO6BNL3WOTHzBmyyeuX79BNGBG8PfjrI8,10238
|
159
|
-
not1mm-24.9.
|
160
|
-
not1mm-24.9.
|
161
|
-
not1mm-24.9.
|
162
|
-
not1mm-24.9.
|
163
|
-
not1mm-24.9.
|
164
|
-
not1mm-24.9.
|
159
|
+
not1mm-24.9.28.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
160
|
+
not1mm-24.9.28.dist-info/METADATA,sha256=DFYxDeIDI6L48rN6I73typUeVY5aRBh2ryaSTbvSwTo,31639
|
161
|
+
not1mm-24.9.28.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
162
|
+
not1mm-24.9.28.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
163
|
+
not1mm-24.9.28.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
164
|
+
not1mm-24.9.28.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|