修改部分ui

This commit is contained in:
shuaikangzhou 2024-01-06 23:59:35 +08:00
parent 0a69b7b749
commit 65a96b162b
3 changed files with 6 additions and 10 deletions

View File

@ -27,6 +27,7 @@ class Ui_Frame(object):
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem1) self.verticalLayout.addItem(spacerItem1)
self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2 = QtWidgets.QGridLayout()
self.gridLayout_2.setVerticalSpacing(2)
self.gridLayout_2.setObjectName("gridLayout_2") self.gridLayout_2.setObjectName("gridLayout_2")
self.l_avatar = QtWidgets.QLabel(Frame) self.l_avatar = QtWidgets.QLabel(Frame)
self.l_avatar.setMinimumSize(QtCore.QSize(80, 80)) self.l_avatar.setMinimumSize(QtCore.QSize(80, 80))
@ -60,13 +61,13 @@ class Ui_Frame(object):
self.gridLayout_2.addLayout(self.horizontalLayout, 0, 1, 1, 1) self.gridLayout_2.addLayout(self.horizontalLayout, 0, 1, 1, 1)
self.l_nickname = QtWidgets.QLabel(Frame) self.l_nickname = QtWidgets.QLabel(Frame)
self.l_nickname.setMinimumSize(QtCore.QSize(0, 20)) self.l_nickname.setMinimumSize(QtCore.QSize(0, 20))
self.l_nickname.setMaximumSize(QtCore.QSize(16777215, 20)) self.l_nickname.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.l_nickname.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse) self.l_nickname.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
self.l_nickname.setObjectName("l_nickname") self.l_nickname.setObjectName("l_nickname")
self.gridLayout_2.addWidget(self.l_nickname, 1, 1, 1, 1) self.gridLayout_2.addWidget(self.l_nickname, 1, 1, 1, 1)
self.l_username = QtWidgets.QLabel(Frame) self.l_username = QtWidgets.QLabel(Frame)
self.l_username.setMinimumSize(QtCore.QSize(0, 20)) self.l_username.setMinimumSize(QtCore.QSize(0, 20))
self.l_username.setMaximumSize(QtCore.QSize(16777215, 20)) self.l_username.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.l_username.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse) self.l_username.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
self.l_username.setObjectName("l_username") self.l_username.setObjectName("l_username")
self.gridLayout_2.addWidget(self.l_username, 2, 1, 1, 1) self.gridLayout_2.addWidget(self.l_username, 2, 1, 1, 1)

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'decryptUi.ui' # Form implementation generated from reading ui file 'decryptUi.ui'
# #
# Created by: PyQt5 UI code generator 5.15.7 # Created by: PyQt5 UI code generator 5.15.10
# #
# WARNING: Any manual changes made to this file will be lost when pyuic5 is # 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. # run again. Do not edit this file unless you know what you are doing.
@ -155,13 +155,10 @@ class Ui_Dialog(object):
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem4) self.horizontalLayout_2.addItem(spacerItem4)
self.btn_start = QtWidgets.QPushButton(Dialog) self.btn_start = QtWidgets.QPushButton(Dialog)
self.btn_start.setMinimumSize(QtCore.QSize(0, 40)) self.btn_start.setMinimumSize(QtCore.QSize(80, 40))
self.btn_start.setMaximumSize(QtCore.QSize(100, 16777215)) self.btn_start.setMaximumSize(QtCore.QSize(200, 16777215))
self.btn_start.setObjectName("btn_start") self.btn_start.setObjectName("btn_start")
self.horizontalLayout_2.addWidget(self.btn_start) self.horizontalLayout_2.addWidget(self.btn_start)
self.label_tip = QtWidgets.QLabel(Dialog)
self.label_tip.setObjectName("label_tip")
self.horizontalLayout_2.addWidget(self.label_tip)
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem5) self.horizontalLayout_2.addItem(spacerItem5)
self.verticalLayout.addLayout(self.horizontalLayout_2) self.verticalLayout.addLayout(self.horizontalLayout_2)
@ -202,5 +199,4 @@ class Ui_Dialog(object):
self.btn_getinfo.setText(_translate("Dialog", "获取信息")) self.btn_getinfo.setText(_translate("Dialog", "获取信息"))
self.btn_db_dir.setText(_translate("Dialog", "设置微信路径")) self.btn_db_dir.setText(_translate("Dialog", "设置微信路径"))
self.btn_start.setText(_translate("Dialog", "开始启动")) self.btn_start.setText(_translate("Dialog", "开始启动"))
self.label_tip.setText(_translate("Dialog", "TextLabel"))
self.label_ready.setText(_translate("Dialog", "未就绪")) self.label_ready.setText(_translate("Dialog", "未就绪"))

View File

@ -38,7 +38,6 @@ class DecryptControl(QWidget, decryptUi.Ui_Dialog, QCursorGif):
self.btn_db_dir.setIcon(Icon.Folder_Icon) self.btn_db_dir.setIcon(Icon.Folder_Icon)
self.btn_start.setIcon(Icon.Start_Icon) self.btn_start.setIcon(Icon.Start_Icon)
self.btn_help.setIcon(Icon.Help_Icon) self.btn_help.setIcon(Icon.Help_Icon)
self.label_tip.setVisible(False)
self.info = {} self.info = {}
self.lineEdit.setFocus() self.lineEdit.setFocus()
self.ready = False self.ready = False