Add No signal title

This commit is contained in:
alessandro90
2018-10-11 18:47:42 +02:00
parent d002e1d779
commit bbe470be99
2 changed files with 4 additions and 4 deletions

View File

@@ -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:

View File

@@ -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>
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:15pt;&quot;&gt;No signal&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>