# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'userinfoUi.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_Frame(object): def setupUi(self, Frame): Frame.setObjectName("Frame") Frame.resize(800, 720) Frame.setCursor(QtGui.QCursor(QtCore.Qt.IBeamCursor)) Frame.setMouseTracking(True) Frame.setTabletTracking(True) self.horizontalLayout_3 = QtWidgets.QHBoxLayout(Frame) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setHorizontalSpacing(6) self.gridLayout.setObjectName("gridLayout") self.l_avatar = QtWidgets.QLabel(Frame) self.l_avatar.setMinimumSize(QtCore.QSize(80, 80)) self.l_avatar.setMaximumSize(QtCore.QSize(80, 80)) self.l_avatar.setText("") self.l_avatar.setPixmap(QtGui.QPixmap("../../../a_img/be0fa6c0c4707fb5f7b37b660de826d3.jpg")) self.l_avatar.setScaledContents(True) self.l_avatar.setObjectName("l_avatar") self.gridLayout.addWidget(self.l_avatar, 0, 0, 3, 1) self.l_remark = QtWidgets.QLabel(Frame) self.l_remark.setMinimumSize(QtCore.QSize(0, 30)) self.l_remark.setMaximumSize(QtCore.QSize(16777215, 30)) font = QtGui.QFont() font.setPointSize(15) self.l_remark.setFont(font) self.l_remark.setObjectName("l_remark") self.gridLayout.addWidget(self.l_remark, 0, 1, 1, 1) self.l_nickname = QtWidgets.QLabel(Frame) self.l_nickname.setMinimumSize(QtCore.QSize(0, 30)) self.l_nickname.setMaximumSize(QtCore.QSize(16777215, 30)) self.l_nickname.setObjectName("l_nickname") self.gridLayout.addWidget(self.l_nickname, 1, 1, 1, 1) self.l_username = QtWidgets.QLabel(Frame) self.l_username.setMinimumSize(QtCore.QSize(0, 20)) self.l_username.setMaximumSize(QtCore.QSize(16777215, 20)) self.l_username.setObjectName("l_username") self.gridLayout.addWidget(self.l_username, 2, 1, 1, 1) self.gridLayout.setRowStretch(0, 1) self.gridLayout.setRowStretch(1, 1) self.gridLayout.setRowStretch(2, 1) self.verticalLayout.addLayout(self.gridLayout) spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem2) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label = QtWidgets.QLabel(Frame) self.label.setMinimumSize(QtCore.QSize(80, 0)) self.label.setMaximumSize(QtCore.QSize(80, 16777215)) font = QtGui.QFont() font.setPointSize(15) self.label.setFont(font) self.label.setObjectName("label") self.horizontalLayout.addWidget(self.label) self.lineEdit = QtWidgets.QLineEdit(Frame) self.lineEdit.setMinimumSize(QtCore.QSize(0, 25)) self.lineEdit.setMaximumSize(QtCore.QSize(16777215, 25)) font = QtGui.QFont() font.setPointSize(15) self.lineEdit.setFont(font) self.lineEdit.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit.setAutoFillBackground(False) self.lineEdit.setStyleSheet("background:transparent;border-width:0;border-style:outset") self.lineEdit.setObjectName("lineEdit") self.horizontalLayout.addWidget(self.lineEdit) self.verticalLayout.addLayout(self.horizontalLayout) spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem3) self.progressBar = QtWidgets.QProgressBar(Frame) self.progressBar.setProperty("value", 24) self.progressBar.setObjectName("progressBar") self.verticalLayout.addWidget(self.progressBar) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem4) self.verticalLayout.setStretch(0, 2) self.verticalLayout.setStretch(1, 3) self.verticalLayout.setStretch(2, 4) self.verticalLayout.setStretch(3, 1) self.verticalLayout.setStretch(4, 4) self.verticalLayout.setStretch(5, 1) self.verticalLayout.setStretch(6, 2) self.horizontalLayout_2.addLayout(self.verticalLayout) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem5) self.horizontalLayout_2.setStretch(0, 1) self.horizontalLayout_2.setStretch(1, 2) self.horizontalLayout_2.setStretch(2, 1) self.horizontalLayout_3.addLayout(self.horizontalLayout_2) self.retranslateUi(Frame) QtCore.QMetaObject.connectSlotsByName(Frame) def retranslateUi(self, Frame): _translate = QtCore.QCoreApplication.translate Frame.setWindowTitle(_translate("Frame", "Frame")) self.l_remark.setText(_translate("Frame", "曹雨萱")) self.l_nickname.setText(_translate("Frame", "昵称:997")) self.l_username.setText(_translate("Frame", "账号:TextLabel")) self.label.setText(_translate("Frame", "备注名")) self.lineEdit.setText(_translate("Frame", "曹雨萱"))