🧑‍🔧️ GUI buttons correctly prefixed with pb.

This commit is contained in:
Robert Honz
2024-03-22 15:02:26 +01:00
parent 134836d471
commit 12d3360c12
6 changed files with 36 additions and 34 deletions
+19 -19
View File
@@ -187,26 +187,26 @@ class Ui_MainWindow:
self.lh_search.addWidget(self.cb_search_type)
self.b_search = QPushButton(self.w_central)
self.b_search.setObjectName("b_search")
self.pb_search = QPushButton(self.w_central)
self.pb_search.setObjectName("pb_search")
# if QT_CONFIG(statustip)
self.b_search.setStatusTip("")
self.pb_search.setStatusTip("")
# endif // QT_CONFIG(statustip)
# if QT_CONFIG(whatsthis)
self.b_search.setWhatsThis("")
self.pb_search.setWhatsThis("")
# endif // QT_CONFIG(whatsthis)
# if QT_CONFIG(accessibility)
self.b_search.setAccessibleName("")
self.pb_search.setAccessibleName("")
# endif // QT_CONFIG(accessibility)
# if QT_CONFIG(accessibility)
self.b_search.setAccessibleDescription("")
self.pb_search.setAccessibleDescription("")
# endif // QT_CONFIG(accessibility)
self.b_search.setText("Search")
self.pb_search.setText("Search")
# if QT_CONFIG(shortcut)
self.b_search.setShortcut("")
self.pb_search.setShortcut("")
# endif // QT_CONFIG(shortcut)
self.lh_search.addWidget(self.b_search)
self.lh_search.addWidget(self.pb_search)
self.lv_search_result.addLayout(self.lh_search)
@@ -315,29 +315,29 @@ class Ui_MainWindow:
self.lh_download.addWidget(self.cb_quality_video)
self.b_download = QPushButton(self.w_central)
self.b_download.setObjectName("b_download")
self.pb_download = QPushButton(self.w_central)
self.pb_download.setObjectName("pb_download")
# if QT_CONFIG(tooltip)
self.b_download.setToolTip("")
self.pb_download.setToolTip("")
# endif // QT_CONFIG(tooltip)
# if QT_CONFIG(statustip)
self.b_download.setStatusTip("")
self.pb_download.setStatusTip("")
# endif // QT_CONFIG(statustip)
# if QT_CONFIG(whatsthis)
self.b_download.setWhatsThis("")
self.pb_download.setWhatsThis("")
# endif // QT_CONFIG(whatsthis)
# if QT_CONFIG(accessibility)
self.b_download.setAccessibleName("")
self.pb_download.setAccessibleName("")
# endif // QT_CONFIG(accessibility)
# if QT_CONFIG(accessibility)
self.b_download.setAccessibleDescription("")
self.pb_download.setAccessibleDescription("")
# endif // QT_CONFIG(accessibility)
self.b_download.setText("Download")
self.pb_download.setText("Download")
# if QT_CONFIG(shortcut)
self.b_download.setShortcut("")
self.pb_download.setShortcut("")
# endif // QT_CONFIG(shortcut)
self.lh_download.addWidget(self.b_download)
self.lh_download.addWidget(self.pb_download)
self.lh_download.setStretch(0, 5)
self.lh_download.setStretch(2, 5)
+2 -2
View File
@@ -246,7 +246,7 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="b_search">
<widget class="QPushButton" name="pb_search">
<property name="statusTip">
<string notr="true"/>
</property>
@@ -436,7 +436,7 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="b_download">
<widget class="QPushButton" name="pb_download">
<property name="toolTip">
<string notr="true"/>
</property>