WeChatMsg/app/ui/dialog.py

62 lines
2.9 KiB
Python
Raw Normal View History

2023-12-24 20:07:18 +08:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '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_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(553, 394)
self.verticalLayout_2 = QtWidgets.QVBoxLayout(Dialog)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.label_version = QtWidgets.QLabel(Dialog)
self.label_version.setLayoutDirection(QtCore.Qt.LeftToRight)
self.label_version.setAlignment(QtCore.Qt.AlignCenter)
self.label_version.setObjectName("label_version")
self.verticalLayout.addWidget(self.label_version)
self.label_logo = QtWidgets.QLabel(Dialog)
self.label_logo.setMinimumSize(QtCore.QSize(100, 100))
self.label_logo.setObjectName("label_logo")
self.verticalLayout.addWidget(self.label_logo)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.horizontalLayout.addLayout(self.verticalLayout)
self.textBrowser = QtWidgets.QTextBrowser(Dialog)
self.textBrowser.setFrameShape(QtWidgets.QFrame.NoFrame)
self.textBrowser.setObjectName("textBrowser")
self.horizontalLayout.addWidget(self.textBrowser)
self.verticalLayout_2.addLayout(self.horizontalLayout)
self.label_weixin = QtWidgets.QLabel(Dialog)
self.label_weixin.setAlignment(QtCore.Qt.AlignCenter)
self.label_weixin.setObjectName("label_weixin")
self.verticalLayout_2.addWidget(self.label_weixin)
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.verticalLayout_2.addWidget(self.buttonBox)
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept) # type: ignore
self.buttonBox.rejected.connect(Dialog.reject) # type: ignore
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.label_version.setText(_translate("Dialog", "TextLabel"))
self.label_logo.setText(_translate("Dialog", "logo"))
self.label_weixin.setText(_translate("Dialog", "TextLabel"))