not1mm 24.11.12.1__py3-none-any.whl → 24.11.17__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
@@ -608,11 +608,8 @@ class MainWindow(QtWidgets.QMainWindow):
608
608
  if len(x) == 1:
609
609
  if int(x[0]) > 6:
610
610
  old_Qt = False
611
- elif len(x) == 2:
612
- if int(x[0]) >= 6 and int(x[1]) > 8:
613
- old_Qt = False
614
- elif len(x) == 3:
615
- if int(x[0]) >= 6 and int(x[1]) >= 7 and int(x[2]) >= 2:
611
+ elif len(x) >= 2:
612
+ if int(x[0]) >= 6 and int(x[1]) >= 8:
616
613
  old_Qt = False
617
614
 
618
615
  # Featureset for wayland if pyqt is older that 6.7.1
@@ -3030,6 +3027,8 @@ class MainWindow(QtWidgets.QMainWindow):
3030
3027
  self.use_call_history = self.pref.get("use_call_history", False)
3031
3028
  if self.use_call_history:
3032
3029
  self.history_info.show()
3030
+ else:
3031
+ self.history_info.hide()
3033
3032
  self.use_esm = self.pref.get("use_esm", False)
3034
3033
  self.esm_dict["CQ"] = fkey_dict.get(self.pref.get("esm_cq", "DISABLED"))
3035
3034
  self.esm_dict["EXCH"] = fkey_dict.get(self.pref.get("esm_exch", "DISABLED"))
@@ -3275,6 +3274,11 @@ class MainWindow(QtWidgets.QMainWindow):
3275
3274
  self.dupe_indicator.show()
3276
3275
  else:
3277
3276
  self.dupe_indicator.hide()
3277
+ if self.contest:
3278
+ if self.use_call_history and hasattr(
3279
+ self.contest, "populate_history_info_line"
3280
+ ):
3281
+ self.contest.populate_history_info_line(self)
3278
3282
 
3279
3283
  def change_freq(self, stripped_text: str) -> None:
3280
3284
  """
@@ -3429,7 +3433,7 @@ class MainWindow(QtWidgets.QMainWindow):
3429
3433
  self.contact["CountryPrefix"] = primary_pfx
3430
3434
  self.contact["ZN"] = int(cq)
3431
3435
  if self.contest:
3432
- if self.contest.name == "IARU HF":
3436
+ if self.contest.name in ("IARU HF", "LZ DX"):
3433
3437
  self.contact["ZN"] = int(itu)
3434
3438
  self.contact["Continent"] = continent
3435
3439
  self.dx_entity.setText(
not1mm/checkwindow.py CHANGED
@@ -41,7 +41,7 @@ class CheckWindow(QDockWidget):
41
41
 
42
42
  character_remove_color = "#dd3333"
43
43
  character_add_color = "#3333dd"
44
- character_match_color = "#33dd33"
44
+ character_match_color = "#33bb33"
45
45
 
46
46
  masterScrollWidget: QWidget = None
47
47
 
@@ -31,6 +31,12 @@
31
31
  <property name="focusPolicy">
32
32
  <enum>Qt::ClickFocus</enum>
33
33
  </property>
34
+ <property name="font">
35
+ <font>
36
+ <family>JetBrains Mono ExtraLight</family>
37
+ <pointsize>12</pointsize>
38
+ </font>
39
+ </property>
34
40
  <property name="sizeAdjustPolicy">
35
41
  <enum>QAbstractScrollArea::AdjustToContents</enum>
36
42
  </property>
@@ -62,6 +68,12 @@
62
68
  <property name="focusPolicy">
63
69
  <enum>Qt::ClickFocus</enum>
64
70
  </property>
71
+ <property name="font">
72
+ <font>
73
+ <family>JetBrains Mono ExtraLight</family>
74
+ <pointsize>12</pointsize>
75
+ </font>
76
+ </property>
65
77
  <property name="sizeAdjustPolicy">
66
78
  <enum>QAbstractScrollArea::AdjustToContents</enum>
67
79
  </property>
@@ -93,6 +105,12 @@
93
105
  <property name="focusPolicy">
94
106
  <enum>Qt::ClickFocus</enum>
95
107
  </property>
108
+ <property name="font">
109
+ <font>
110
+ <family>JetBrains Mono ExtraLight</family>
111
+ <pointsize>12</pointsize>
112
+ </font>
113
+ </property>
96
114
  <property name="sizeAdjustPolicy">
97
115
  <enum>QAbstractScrollArea::AdjustToContents</enum>
98
116
  </property>
@@ -347,6 +347,11 @@
347
347
  <string>K1USN SST</string>
348
348
  </property>
349
349
  </item>
350
+ <item>
351
+ <property name="text">
352
+ <string>LZ-DX</string>
353
+ </property>
354
+ </item>
350
355
  <item>
351
356
  <property name="text">
352
357
  <string>NAQP CW</string>
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.11.12.1"
3
+ __version__ = "24.11.17"
@@ -134,6 +134,16 @@ def prefill(self):
134
134
  field.setText(serial_nr)
135
135
 
136
136
 
137
+ def populate_history_info_line(self):
138
+ result = self.database.fetch_call_history(self.callsign.text())
139
+ if result:
140
+ self.history_info.setText(
141
+ f"{result.get('Call', '')}, {result.get('CK', '')}, {result.get('Sect', '')}, {result.get('UserText','...')}"
142
+ )
143
+ else:
144
+ self.history_info.setText("")
145
+
146
+
137
147
  def check_call_history(self):
138
148
  """"""
139
149
  result = self.database.fetch_call_history(self.callsign.text())
@@ -537,6 +537,16 @@ def ft8_handler(the_packet: dict):
537
537
  ALTEREGO.save_contact()
538
538
 
539
539
 
540
+ def populate_history_info_line(self):
541
+ result = self.database.fetch_call_history(self.callsign.text())
542
+ if result:
543
+ self.history_info.setText(
544
+ f"{result.get('Call', '')}, {result.get('Loc1', '')}, {result.get('UserText','...')}"
545
+ )
546
+ else:
547
+ self.history_info.setText("")
548
+
549
+
540
550
  def check_call_history(self):
541
551
  """"""
542
552
  result = self.database.fetch_call_history(self.callsign.text())
@@ -505,6 +505,16 @@ def ft8_handler(the_packet: dict):
505
505
  ALTEREGO.save_contact()
506
506
 
507
507
 
508
+ def populate_history_info_line(self):
509
+ result = self.database.fetch_call_history(self.callsign.text())
510
+ if result:
511
+ self.history_info.setText(
512
+ f"{result.get('Call', '')}, {result.get('Loc1', '')}, {result.get('UserText','...')}"
513
+ )
514
+ else:
515
+ self.history_info.setText("")
516
+
517
+
508
518
  def check_call_history(self):
509
519
  """"""
510
520
  result = self.database.fetch_call_history(self.callsign.text())
@@ -505,6 +505,16 @@ def ft8_handler(the_packet: dict):
505
505
  ALTEREGO.save_contact()
506
506
 
507
507
 
508
+ def populate_history_info_line(self):
509
+ result = self.database.fetch_call_history(self.callsign.text())
510
+ if result:
511
+ self.history_info.setText(
512
+ f"{result.get('Call', '')}, {result.get('Loc1', '')}, {result.get('UserText','...')}"
513
+ )
514
+ else:
515
+ self.history_info.setText("")
516
+
517
+
508
518
  def check_call_history(self):
509
519
  """"""
510
520
  result = self.database.fetch_call_history(self.callsign.text())
@@ -450,6 +450,16 @@ def recalculate_mults(self):
450
450
  trigger_update(self)
451
451
 
452
452
 
453
+ def populate_history_info_line(self):
454
+ result = self.database.fetch_call_history(self.callsign.text())
455
+ if result:
456
+ self.history_info.setText(
457
+ f"{result.get('Call', '')}, {result.get('UserText','...')}"
458
+ )
459
+ else:
460
+ self.history_info.setText("")
461
+
462
+
453
463
  def check_call_history(self):
454
464
  """"""
455
465
  result = self.database.fetch_call_history(self.callsign.text())
@@ -450,6 +450,16 @@ def recalculate_mults(self):
450
450
  trigger_update(self)
451
451
 
452
452
 
453
+ def populate_history_info_line(self):
454
+ result = self.database.fetch_call_history(self.callsign.text())
455
+ if result:
456
+ self.history_info.setText(
457
+ f"{result.get('Call', '')}, {result.get('UserText','...')}"
458
+ )
459
+ else:
460
+ self.history_info.setText("")
461
+
462
+
453
463
  def check_call_history(self):
454
464
  """"""
455
465
  result = self.database.fetch_call_history(self.callsign.text())
@@ -520,6 +520,16 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
520
520
  self.process_function_key(button)
521
521
 
522
522
 
523
+ def populate_history_info_line(self):
524
+ result = self.database.fetch_call_history(self.callsign.text())
525
+ if result:
526
+ self.history_info.setText(
527
+ f"{result.get('Call', '')}, {result.get('CQZone', '')}, {result.get('UserText','...')}"
528
+ )
529
+ else:
530
+ self.history_info.setText("")
531
+
532
+
523
533
  def check_call_history(self):
524
534
  """"""
525
535
  result = self.database.fetch_call_history(self.callsign.text())
@@ -639,6 +639,16 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
639
639
  self.fldigi_util.send_string(sendstring)
640
640
 
641
641
 
642
+ def populate_history_info_line(self):
643
+ result = self.database.fetch_call_history(self.callsign.text())
644
+ if result:
645
+ self.history_info.setText(
646
+ f"{result.get('Call', '')}, {result.get('CQZone', '')}, {result.get('State', '')}, {result.get('UserText','...')}"
647
+ )
648
+ else:
649
+ self.history_info.setText("")
650
+
651
+
642
652
  def check_call_history(self):
643
653
  """"""
644
654
  result = self.database.fetch_call_history(self.callsign.text())
@@ -508,6 +508,16 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
508
508
  self.process_function_key(button)
509
509
 
510
510
 
511
+ def populate_history_info_line(self):
512
+ result = self.database.fetch_call_history(self.callsign.text())
513
+ if result:
514
+ self.history_info.setText(
515
+ f"{result.get('Call', '')}, {result.get('CQZone', '')}, {result.get('UserText','...')}"
516
+ )
517
+ else:
518
+ self.history_info.setText("")
519
+
520
+
511
521
  def check_call_history(self):
512
522
  """"""
513
523
  result = self.database.fetch_call_history(self.callsign.text())
not1mm/plugins/cwt.py CHANGED
@@ -514,6 +514,16 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
514
514
  self.process_function_key(button)
515
515
 
516
516
 
517
+ def populate_history_info_line(self):
518
+ result = self.database.fetch_call_history(self.callsign.text())
519
+ if result:
520
+ self.history_info.setText(
521
+ f"{result.get('Call', '')}, {result.get('Name', '')}, {result.get('Exch1', '')}, {result.get('UserText','...')}"
522
+ )
523
+ else:
524
+ self.history_info.setText("")
525
+
526
+
517
527
  def check_call_history(self):
518
528
  """"""
519
529
  result = self.database.fetch_call_history(self.callsign.text())
@@ -524,6 +524,16 @@ def cabrillo(self, file_encoding):
524
524
  return
525
525
 
526
526
 
527
+ def populate_history_info_line(self):
528
+ result = self.database.fetch_call_history(self.callsign.text())
529
+ if result:
530
+ self.history_info.setText(
531
+ f"{result.get('Call', '')}, {result.get('Exch1', '')}, {result.get('UserText','...')}"
532
+ )
533
+ else:
534
+ self.history_info.setText("")
535
+
536
+
527
537
  def check_call_history(self):
528
538
  """"""
529
539
  result = self.database.fetch_call_history(self.callsign.text())
@@ -493,6 +493,16 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
493
493
  self.process_function_key(button)
494
494
 
495
495
 
496
+ def populate_history_info_line(self):
497
+ result = self.database.fetch_call_history(self.callsign.text())
498
+ if result:
499
+ self.history_info.setText(
500
+ f"{result.get('Call', '')}, {result.get('Name', '')}, {result.get('Exch1', '')}, {result.get('UserText','...')}"
501
+ )
502
+ else:
503
+ self.history_info.setText("")
504
+
505
+
496
506
  def check_call_history(self):
497
507
  """"""
498
508
  result = self.database.fetch_call_history(self.callsign.text())