1
0
Fork 0
mirror of synced 2024-07-01 12:40:28 +12:00
Rare/rare/ui/components/dialogs/launch_dialog.py
loathingKernel d3bee28443 Ui: Delete QtCore.QMetaObject.connectSlotsByName from UI python files
Since pyuic5 doesn't handle `connectSlotByName=False` in ui files
use sed in `misc/ui2py.sh` to remove those lines

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:07 +02:00

51 lines
2 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'rare/ui/components/dialogs/launch_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_LaunchDialog(object):
def setupUi(self, LaunchDialog):
LaunchDialog.setObjectName("LaunchDialog")
LaunchDialog.resize(400, 160)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(LaunchDialog.sizePolicy().hasHeightForWidth())
LaunchDialog.setSizePolicy(sizePolicy)
LaunchDialog.setMinimumSize(QtCore.QSize(400, 160))
LaunchDialog.setMaximumSize(QtCore.QSize(400, 160))
self.launch_dialog_layout = QtWidgets.QVBoxLayout(LaunchDialog)
self.launch_dialog_layout.setObjectName("launch_dialog_layout")
self.title_label = QtWidgets.QLabel(LaunchDialog)
self.title_label.setObjectName("title_label")
self.launch_dialog_layout.addWidget(self.title_label)
self.progress_bar = QtWidgets.QProgressBar(LaunchDialog)
self.progress_bar.setProperty("value", 0)
self.progress_bar.setObjectName("progress_bar")
self.launch_dialog_layout.addWidget(self.progress_bar)
self.retranslateUi(LaunchDialog)
def retranslateUi(self, LaunchDialog):
_translate = QtCore.QCoreApplication.translate
LaunchDialog.setWindowTitle(_translate("LaunchDialog", "Launching Rare"))
self.title_label.setText(_translate("LaunchDialog", "<h2>Launching Rare</h2>"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
LaunchDialog = QtWidgets.QDialog()
ui = Ui_LaunchDialog()
ui.setupUi(LaunchDialog)
LaunchDialog.show()
sys.exit(app.exec_())