pyqt UI文件

  1 # -*- coding: utf-8 -*-
  2 
  3 # Form implementation generated from reading ui file 'Mainform.ui'
  4 #
  5 # Created by: PyQt5 UI code generator 5.11.2
  6 #
  7 # WARNING! All changes made in this file will be lost!
  8 
  9 from PyQt5 import QtCore, QtGui, QtWidgets
 10 
 11 class Ui_Frame(object):
 12     def setupUi(self, Frame):
 13         Frame.setObjectName("Frame")
 14         Frame.resize(700, 500)
 15         Frame.setMinimumSize(QtCore.QSize(700, 500))
 16         Frame.setMaximumSize(QtCore.QSize(700, 500))
 17         Frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
 18         Frame.setFrameShadow(QtWidgets.QFrame.Raised)
 19         self.layoutWidget = QtWidgets.QWidget(Frame)
 20         self.layoutWidget.setGeometry(QtCore.QRect(30, 30, 648, 333))
 21         self.layoutWidget.setObjectName("layoutWidget")
 22         self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.layoutWidget)
 23         self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
 24         self.verticalLayout_3.setObjectName("verticalLayout_3")
 25         self.verticalLayout_2 = QtWidgets.QVBoxLayout()
 26         self.verticalLayout_2.setSpacing(40)
 27         self.verticalLayout_2.setObjectName("verticalLayout_2")
 28         self.verticalLayout = QtWidgets.QVBoxLayout()
 29         self.verticalLayout.setSpacing(20)
 30         self.verticalLayout.setObjectName("verticalLayout")
 31         self.horizontalLayout = QtWidgets.QHBoxLayout()
 32         self.horizontalLayout.setObjectName("horizontalLayout")
 33         self.label = QtWidgets.QLabel(self.layoutWidget)
 34         self.label.setObjectName("label")
 35         self.horizontalLayout.addWidget(self.label)
 36         self.lineEdit = QtWidgets.QLineEdit(self.layoutWidget)
 37         self.lineEdit.setMinimumSize(QtCore.QSize(450, 0))
 38         self.lineEdit.setObjectName("lineEdit")
 39         self.horizontalLayout.addWidget(self.lineEdit)
 40         self.toolButton = QtWidgets.QToolButton(self.layoutWidget)
 41         self.toolButton.setObjectName("toolButton")
 42         self.horizontalLayout.addWidget(self.toolButton)
 43         self.verticalLayout.addLayout(self.horizontalLayout)
 44         self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
 45         self.horizontalLayout_2.setObjectName("horizontalLayout_2")
 46         self.label_2 = QtWidgets.QLabel(self.layoutWidget)
 47         self.label_2.setObjectName("label_2")
 48         self.horizontalLayout_2.addWidget(self.label_2)
 49         self.lineEdit_2 = QtWidgets.QLineEdit(self.layoutWidget)
 50         self.lineEdit_2.setMinimumSize(QtCore.QSize(450, 0))
 51         self.lineEdit_2.setObjectName("lineEdit_2")
 52         self.horizontalLayout_2.addWidget(self.lineEdit_2)
 53         self.toolButton_2 = QtWidgets.QToolButton(self.layoutWidget)
 54         self.toolButton_2.setObjectName("toolButton_2")
 55         self.horizontalLayout_2.addWidget(self.toolButton_2)
 56         self.verticalLayout.addLayout(self.horizontalLayout_2)
 57         self.verticalLayout_2.addLayout(self.verticalLayout)
 58         self.progressBar = QtWidgets.QProgressBar(self.layoutWidget)
 59         self.progressBar.setMaximumSize(QtCore.QSize(500, 16777215))
 60         self.progressBar.setProperty("value", 0)
 61         self.progressBar.setTextVisible(True)
 62         self.progressBar.setInvertedAppearance(False)
 63         self.progressBar.setObjectName("progressBar")
 64         self.verticalLayout_2.addWidget(self.progressBar)
 65         self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
 66         self.horizontalLayout_3.setContentsMargins(350, -1, 0, -1)
 67         self.horizontalLayout_3.setObjectName("horizontalLayout_3")
 68         self.pushButton = QtWidgets.QPushButton(self.layoutWidget)
 69         self.pushButton.setMaximumSize(QtCore.QSize(120, 16777215))
 70         self.pushButton.setLayoutDirection(QtCore.Qt.RightToLeft)
 71         self.pushButton.setObjectName("pushButton")
 72         self.horizontalLayout_3.addWidget(self.pushButton)
 73         self.pushButton_2 = QtWidgets.QPushButton(self.layoutWidget)
 74         self.pushButton_2.setMaximumSize(QtCore.QSize(120, 16777215))
 75         self.pushButton_2.setLayoutDirection(QtCore.Qt.RightToLeft)
 76         self.pushButton_2.setObjectName("pushButton_2")
 77         self.horizontalLayout_3.addWidget(self.pushButton_2)
 78         self.verticalLayout_2.addLayout(self.horizontalLayout_3)
 79         self.verticalLayout_3.addLayout(self.verticalLayout_2)
 80         self.textBrowser = QtWidgets.QTextBrowser(self.layoutWidget)
 81         self.textBrowser.setObjectName("textBrowser")
 82         self.verticalLayout_3.addWidget(self.textBrowser)
 83 
 84         self.retranslateUi(Frame)
 85         QtCore.QMetaObject.connectSlotsByName(Frame)
 86 
 87     def retranslateUi(self, Frame):
 88         _translate = QtCore.QCoreApplication.translate
 89         Frame.setWindowTitle(_translate("Frame", "Frame"))
 90         self.label.setText(_translate("Frame", "模板文件"))
 91         self.toolButton.setText(_translate("Frame", "..."))
 92         self.label_2.setText(_translate("Frame", "适配文件"))
 93         self.toolButton_2.setText(_translate("Frame", "..."))
 94         self.pushButton.setText(_translate("Frame", "开始"))
 95         self.pushButton_2.setText(_translate("Frame", "对话框"))
 96         self.textBrowser.setHtml(_translate("Frame", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
 97 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
 98 "p, li { white-space: pre-wrap; }\n"
 99 "</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
100 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600; color:#ff0000;\">【操作】</span></p>\n"
101 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1.修改模板文件</p>\n"
102 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2.选择对应路径</p>\n"
103 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.点击开始</p>\n"
104 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
105 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600; color:#ff0000;\">【注意事项】</span></p>\n"
106 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1.开始前请关闭对应Excel文件</p>\n"
107 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2.模板文件不要有项目、子项目、姓名重复的数据</p>"
108 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600; color:#ff0000;\">【操作2】</span></p>\n"
109 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1.修改模板文件</p>\n"
110 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2.修改模板文件</p>\n"
111 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
112 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
113 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
114 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
115 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
116 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
117 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
118 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3.修改模板文件</p>\n"
119 
120                                                      "</body></html>"))

 

posted @ 2018-09-06 02:20  aloneOnWorld  阅读(514)  评论(0编辑  收藏  举报