Add No signal title
This commit is contained in:
5
main.py
5
main.py
@@ -65,8 +65,7 @@ class MyApp(QMainWindow, Ui_MainWindow):
|
||||
self.cat_num_stat,
|
||||
self.cat_time_sig,]
|
||||
|
||||
self.property_labels = [self.name_lab,
|
||||
self.freq_lab,
|
||||
self.property_labels = [self.freq_lab,
|
||||
self.band_lab,
|
||||
self.mode_lab,
|
||||
self.modul_lab,
|
||||
@@ -210,6 +209,8 @@ class MyApp(QMainWindow, Ui_MainWindow):
|
||||
self.url_button.setEnabled(False)
|
||||
self.url_button.setStyleSheet(f"color: {self.url_button.colors.inactive};")
|
||||
self.current_signal_name = ''
|
||||
self.name_lab.setText("No signal")
|
||||
self.name_lab.setAlignment(Qt.AlignHCenter)
|
||||
for lab in self.property_labels:
|
||||
lab.setText("N/A")
|
||||
for lab in self.category_labels:
|
||||
|
||||
@@ -366,8 +366,7 @@ QTabBar::tab:!selected {
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:20pt; font-weight:600; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:15pt;"><br /></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:15pt;"><br /></p></body></html></string>
|
||||
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:15pt;">No signal</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user