82 lines
3.2 KiB
Python
82 lines
3.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
################################################################################
|
|
## Form generated from reading UI file 'log.ui'
|
|
##
|
|
## Created by: Qt User Interface Compiler version 6.9.0
|
|
##
|
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
################################################################################
|
|
|
|
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
|
QMetaObject, QObject, QPoint, QRect,
|
|
QSize, QTime, QUrl, Qt)
|
|
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
|
QFont, QFontDatabase, QGradient, QIcon,
|
|
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
from PySide6.QtWidgets import (QAbstractButton, QApplication, QDialog, QDialogButtonBox,
|
|
QHBoxLayout, QLabel, QLineEdit, QSizePolicy,
|
|
QVBoxLayout, QWidget)
|
|
|
|
class Ui_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
if not Dialog.objectName():
|
|
Dialog.setObjectName(u"Dialog")
|
|
Dialog.resize(400, 300)
|
|
self.buttonBox = QDialogButtonBox(Dialog)
|
|
self.buttonBox.setObjectName(u"buttonBox")
|
|
self.buttonBox.setGeometry(QRect(30, 240, 341, 32))
|
|
self.buttonBox.setOrientation(Qt.Orientation.Horizontal)
|
|
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
|
|
self.widget = QWidget(Dialog)
|
|
self.widget.setObjectName(u"widget")
|
|
self.widget.setGeometry(QRect(50, 80, 301, 101))
|
|
self.verticalLayout = QVBoxLayout(self.widget)
|
|
self.verticalLayout.setObjectName(u"verticalLayout")
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
self.horizontalLayout = QHBoxLayout()
|
|
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
|
self.label = QLabel(self.widget)
|
|
self.label.setObjectName(u"label")
|
|
|
|
self.horizontalLayout.addWidget(self.label)
|
|
|
|
self.username = QLineEdit(self.widget)
|
|
self.username.setObjectName(u"username")
|
|
|
|
self.horizontalLayout.addWidget(self.username)
|
|
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
|
|
self.horizontalLayout_2 = QHBoxLayout()
|
|
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
self.label_2 = QLabel(self.widget)
|
|
self.label_2.setObjectName(u"label_2")
|
|
|
|
self.horizontalLayout_2.addWidget(self.label_2)
|
|
|
|
self.password = QLineEdit(self.widget)
|
|
self.password.setObjectName(u"password")
|
|
|
|
self.horizontalLayout_2.addWidget(self.password)
|
|
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
|
|
|
|
self.retranslateUi(Dialog)
|
|
self.buttonBox.accepted.connect(Dialog.accept)
|
|
self.buttonBox.rejected.connect(Dialog.reject)
|
|
|
|
QMetaObject.connectSlotsByName(Dialog)
|
|
# setupUi
|
|
|
|
def retranslateUi(self, Dialog):
|
|
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"\u767b\u5f55", None))
|
|
self.label.setText(QCoreApplication.translate("Dialog", u"\u7528\u6237\u540d", None))
|
|
self.label_2.setText(QCoreApplication.translate("Dialog", u"\u5bc6\u7801 ", None))
|
|
# retranslateUi
|
|
|