# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(846, 613)
        MainWindow.setToolTip("")
        MainWindow.setStyleSheet("*{font: 75 10pt \"微软雅黑\";}\n"
"\n"
"#lb_title{\n"
"color:red;\n"
"    font: 75 11pt \"微软雅黑\";\n"
"}")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setAutoFillBackground(False)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_4 = QtWidgets.QLabel(self.tab)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 2)
        self.label_3 = QtWidgets.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 0, 2, 1, 1)
        self.bt_copy_class = QtWidgets.QPushButton(self.tab)
        self.bt_copy_class.setMaximumSize(QtCore.QSize(100, 16777215))
        self.bt_copy_class.setObjectName("bt_copy_class")
        self.gridLayout_2.addWidget(self.bt_copy_class, 0, 3, 1, 1)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.nameLabel = QtWidgets.QLabel(self.tab)
        self.nameLabel.setObjectName("nameLabel")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.nameLabel)
        self.nameLineEdit = QtWidgets.QLineEdit(self.tab)
        self.nameLineEdit.setObjectName("nameLineEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.nameLineEdit)
        self.classLabel = QtWidgets.QLabel(self.tab)
        self.classLabel.setObjectName("classLabel")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.classLabel)
        self.cbb_class = QtWidgets.QComboBox(self.tab)
        self.cbb_class.setObjectName("cbb_class")
        self.cbb_class.addItem("")
        self.cbb_class.addItem("")
        self.cbb_class.addItem("")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.cbb_class)
        self.uiClassLabel = QtWidgets.QLabel(self.tab)
        self.uiClassLabel.setObjectName("uiClassLabel")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.uiClassLabel)
        self.ed_ui_path = QtWidgets.QLineEdit(self.tab)
        self.ed_ui_path.setText("")
        self.ed_ui_path.setEchoMode(QtWidgets.QLineEdit.Normal)
        self.ed_ui_path.setDragEnabled(False)
        self.ed_ui_path.setReadOnly(False)
        self.ed_ui_path.setPlaceholderText("")
        self.ed_ui_path.setClearButtonEnabled(False)
        self.ed_ui_path.setObjectName("ed_ui_path")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.ed_ui_path)
        self.bt_ui_path = QtWidgets.QPushButton(self.tab)
        self.bt_ui_path.setObjectName("bt_ui_path")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.bt_ui_path)
        self.titleLabel = QtWidgets.QLabel(self.tab)
        self.titleLabel.setObjectName("titleLabel")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.titleLabel)
        self.titleLineEdit = QtWidgets.QLineEdit(self.tab)
        self.titleLineEdit.setObjectName("titleLineEdit")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.titleLineEdit)
        self.sizeLabel = QtWidgets.QLabel(self.tab)
        self.sizeLabel.setObjectName("sizeLabel")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.sizeLabel)
        self.sizeLineEdit = QtWidgets.QLineEdit(self.tab)
        self.sizeLineEdit.setObjectName("sizeLineEdit")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.sizeLineEdit)
        self.moveLabel = QtWidgets.QLabel(self.tab)
        self.moveLabel.setObjectName("moveLabel")
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.moveLabel)
        self.moveLineEdit = QtWidgets.QLineEdit(self.tab)
        self.moveLineEdit.setObjectName("moveLineEdit")
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.moveLineEdit)
        self.flagsLabel = QtWidgets.QLabel(self.tab)
        self.flagsLabel.setObjectName("flagsLabel")
        self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.flagsLabel)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.cb_wbk = QtWidgets.QCheckBox(self.tab)
        self.cb_wbk.setObjectName("cb_wbk")
        self.gridLayout.addWidget(self.cb_wbk, 1, 2, 1, 1)
        self.cb_max_bt = QtWidgets.QCheckBox(self.tab)
        self.cb_max_bt.setTabletTracking(False)
        self.cb_max_bt.setAcceptDrops(False)
        self.cb_max_bt.setAutoFillBackground(False)
        self.cb_max_bt.setChecked(True)
        self.cb_max_bt.setObjectName("cb_max_bt")
        self.gridLayout.addWidget(self.cb_max_bt, 0, 0, 1, 1)
        self.cb_min_bt = QtWidgets.QCheckBox(self.tab)
        self.cb_min_bt.setChecked(True)
        self.cb_min_bt.setObjectName("cb_min_bt")
        self.gridLayout.addWidget(self.cb_min_bt, 0, 1, 1, 1)
        self.cbb_flags = QtWidgets.QComboBox(self.tab)
        self.cbb_flags.setObjectName("cbb_flags")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.cbb_flags.addItem("")
        self.gridLayout.addWidget(self.cbb_flags, 3, 0, 1, 3)
        self.cb_exit = QtWidgets.QCheckBox(self.tab)
        self.cb_exit.setChecked(True)
        self.cb_exit.setObjectName("cb_exit")
        self.gridLayout.addWidget(self.cb_exit, 0, 2, 1, 1)
        self.cb_top = QtWidgets.QCheckBox(self.tab)
        self.cb_top.setObjectName("cb_top")
        self.gridLayout.addWidget(self.cb_top, 1, 0, 1, 1)
        self.cb_bjtm = QtWidgets.QCheckBox(self.tab)
        self.cb_bjtm.setObjectName("cb_bjtm")
        self.gridLayout.addWidget(self.cb_bjtm, 1, 1, 1, 1)
        self.ed_transp = QtWidgets.QLineEdit(self.tab)
        self.ed_transp.setObjectName("ed_transp")
        self.gridLayout.addWidget(self.ed_transp, 2, 2, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.tab)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 2)
        self.formLayout.setLayout(7, QtWidgets.QFormLayout.FieldRole, self.gridLayout)
        self.bt_code_generation = QtWidgets.QPushButton(self.tab)
        self.bt_code_generation.setObjectName("bt_code_generation")
        self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.bt_code_generation)
        self.gridLayout_2.addLayout(self.formLayout, 1, 0, 2, 2)
        self.ed_code_class = QtWidgets.QTextEdit(self.tab)
        self.ed_code_class.setObjectName("ed_code_class")
        self.gridLayout_2.addWidget(self.ed_code_class, 1, 2, 1, 2)
        self.bt_copy_init = QtWidgets.QPushButton(self.tab)
        self.bt_copy_init.setMaximumSize(QtCore.QSize(100, 16777215))
        self.bt_copy_init.setObjectName("bt_copy_init")
        self.gridLayout_2.addWidget(self.bt_copy_init, 2, 3, 2, 1)
        self.label = QtWidgets.QLabel(self.tab)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 3, 0, 1, 1)
        self.bt_copy_import = QtWidgets.QPushButton(self.tab)
        self.bt_copy_import.setMaximumSize(QtCore.QSize(100, 16777215))
        self.bt_copy_import.setObjectName("bt_copy_import")
        self.gridLayout_2.addWidget(self.bt_copy_import, 3, 1, 2, 1)
        self.label_2 = QtWidgets.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 3, 2, 1, 1)
        self.ed_code_init = QtWidgets.QTextEdit(self.tab)
        self.ed_code_init.setObjectName("ed_code_init")
        self.gridLayout_2.addWidget(self.ed_code_init, 4, 2, 2, 2)
        self.ed_code_import = QtWidgets.QTextEdit(self.tab)
        self.ed_code_import.setObjectName("ed_code_import")
        self.gridLayout_2.addWidget(self.ed_code_import, 5, 0, 1, 2)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.tab_2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.lb_title = QtWidgets.QLabel(self.tab_2)
        self.lb_title.setObjectName("lb_title")
        self.verticalLayout.addWidget(self.lb_title)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName("formLayout_2")
        self.signalLabel_2 = QtWidgets.QLabel(self.tab_2)
        self.signalLabel_2.setObjectName("signalLabel_2")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.signalLabel_2)
        self.cbb_signal = QtWidgets.QComboBox(self.tab_2)
        self.cbb_signal.setObjectName("cbb_signal")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.cbb_signal)
        self.signalLabel_3 = QtWidgets.QLabel(self.tab_2)
        self.signalLabel_3.setObjectName("signalLabel_3")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.signalLabel_3)
        self.cbb_qevent = QtWidgets.QComboBox(self.tab_2)
        self.cbb_qevent.setObjectName("cbb_qevent")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.cbb_qevent)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.bt_pyqtapi = QtWidgets.QPushButton(self.tab_2)
        self.bt_pyqtapi.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bt_pyqtapi.setObjectName("bt_pyqtapi")
        self.horizontalLayout_2.addWidget(self.bt_pyqtapi)
        self.bt_qss = QtWidgets.QPushButton(self.tab_2)
        self.bt_qss.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bt_qss.setObjectName("bt_qss")
        self.horizontalLayout_2.addWidget(self.bt_qss)
        self.bt_qss_2 = QtWidgets.QPushButton(self.tab_2)
        self.bt_qss_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bt_qss_2.setObjectName("bt_qss_2")
        self.horizontalLayout_2.addWidget(self.bt_qss_2)
        self.formLayout_2.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2)
        self.verticalLayout.addLayout(self.formLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_6 = QtWidgets.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_3.addWidget(self.label_6)
        self.bt_copy_bind = QtWidgets.QPushButton(self.tab_2)
        self.bt_copy_bind.setMaximumSize(QtCore.QSize(100, 16777215))
        self.bt_copy_bind.setObjectName("bt_copy_bind")
        self.horizontalLayout_3.addWidget(self.bt_copy_bind)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.ed_signal = QtWidgets.QTextEdit(self.tab_2)
        self.ed_signal.setObjectName("ed_signal")
        self.verticalLayout.addWidget(self.ed_signal)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_7 = QtWidgets.QLabel(self.tab_2)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_4.addWidget(self.label_7)
        self.bt_copy_connect = QtWidgets.QPushButton(self.tab_2)
        self.bt_copy_connect.setMaximumSize(QtCore.QSize(100, 16777215))
        self.bt_copy_connect.setObjectName("bt_copy_connect")
        self.horizontalLayout_4.addWidget(self.bt_copy_connect)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.ed_connect = QtWidgets.QTextEdit(self.tab_2)
        self.ed_connect.setObjectName("ed_connect")
        self.verticalLayout.addWidget(self.ed_connect)
        self.tabWidget.addTab(self.tab_2, "")
        self.horizontalLayout.addWidget(self.tabWidget)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.label_4.setText(_translate("MainWindow", "参数:必须遵守命名规则 ui生成的py文件都对应UI_class参数的值"))
        self.label_3.setText(_translate("MainWindow", "类主体:"))
        self.bt_copy_class.setText(_translate("MainWindow", "复制主体"))
        self.nameLabel.setText(_translate("MainWindow", "Name:"))
        self.nameLineEdit.setText(_translate("MainWindow", "window_main"))
        self.classLabel.setText(_translate("MainWindow", "Class:"))
        self.cbb_class.setItemText(0, _translate("MainWindow", "QMainWindow"))
        self.cbb_class.setItemText(1, _translate("MainWindow", "QWidget"))
        self.cbb_class.setItemText(2, _translate("MainWindow", "QDialog"))
        self.uiClassLabel.setText(_translate("MainWindow", "ui_path:"))
        self.bt_ui_path.setText(_translate("MainWindow", "1.选择designer生成的py文件"))
        self.titleLabel.setText(_translate("MainWindow", "Title:"))
        self.titleLineEdit.setText(_translate("MainWindow", "我的主窗口"))
        self.sizeLabel.setText(_translate("MainWindow", "Size"))
        self.sizeLineEdit.setText(_translate("MainWindow", "500*500"))
        self.moveLabel.setText(_translate("MainWindow", "Move:"))
        self.moveLineEdit.setText(_translate("MainWindow", "200,200"))
        self.flagsLabel.setText(_translate("MainWindow", "Flags:"))
        self.cb_wbk.setText(_translate("MainWindow", "窗口无边框"))
        self.cb_max_bt.setText(_translate("MainWindow", "最大化按钮"))
        self.cb_min_bt.setText(_translate("MainWindow", "最小化按钮"))
        self.cbb_flags.setItemText(0, _translate("MainWindow", "Qt.Widget默认值 自动识别是什么窗口"))
        self.cbb_flags.setItemText(1, _translate("MainWindow", "Qt.Window 部件始终为窗口"))
        self.cbb_flags.setItemText(2, _translate("MainWindow", "Qt.Dialog 部件为对话框"))
        self.cbb_flags.setItemText(3, _translate("MainWindow", "Qt.Sheet 部件是一个Macintosh表单"))
        self.cbb_flags.setItemText(4, _translate("MainWindow", "Qt.Drawer 部件是一个Macintosh抽屉"))
        self.cbb_flags.setItemText(5, _translate("MainWindow", "Qt.Popup 部件是一个弹出式顶层窗口"))
        self.cbb_flags.setItemText(6, _translate("MainWindow", "Qt.Tool 部件是一个工具窗口"))
        self.cbb_flags.setItemText(7, _translate("MainWindow", "Qt.ToolTip:部件是一个提示窗口"))
        self.cbb_flags.setItemText(8, _translate("MainWindow", "Qt.Desktop 部件是一个桌面"))
        self.cbb_flags.setItemText(9, _translate("MainWindow", "Qt.SplashScreen 部件是一个欢迎窗口"))
        self.cbb_flags.setItemText(10, _translate("MainWindow", "Qt.SubWindow:部件是一个子窗口"))
        self.cb_exit.setText(_translate("MainWindow", "关闭按钮"))
        self.cb_top.setText(_translate("MainWindow", "永远置顶"))
        self.cb_bjtm.setText(_translate("MainWindow", "背景为透明"))
        self.ed_transp.setText(_translate("MainWindow", "1"))
        self.label_5.setText(_translate("MainWindow", "窗口透明度(0-1之间的小数):"))
        self.bt_code_generation.setText(_translate("MainWindow", "2.生成代码与预览"))
        self.ed_code_class.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'微软雅黑\'; font-size:10pt; font-weight:72; font-style:normal;\">\n"
"<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; font-family:\'SimSun\'; font-size:9pt; font-weight:400;\"><br /></p></body></html>"))
        self.bt_copy_init.setText(_translate("MainWindow", "复制实例"))
        self.label.setText(_translate("MainWindow", "模块引用:"))
        self.bt_copy_import.setText(_translate("MainWindow", "复制引用"))
        self.label_2.setText(_translate("MainWindow", "实例化:"))
        self.ed_code_init.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'微软雅黑\'; font-size:10pt; font-weight:72; font-style:normal;\">\n"
"<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; font-family:\'SimSun\'; font-size:9pt; font-weight:400;\"><br /></p></body></html>"))
        self.ed_code_import.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'微软雅黑\'; font-size:10pt; font-weight:72; font-style:normal;\">\n"
"<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; font-family:\'SimSun\'; font-size:9pt; font-weight:400;\"><br /></p></body></html>"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "UI加载与初始化"))
        self.lb_title.setText(_translate("MainWindow", "当前选中的控件为:bt_xxx(QPushButton)"))
        self.signalLabel_2.setText(_translate("MainWindow", "常用Signal:"))
        self.signalLabel_3.setText(_translate("MainWindow", "重写QEvent:"))
        self.bt_pyqtapi.setText(_translate("MainWindow", "PYqt5官方api文档"))
        self.bt_qss.setText(_translate("MainWindow", "官方QSS文档英文版"))
        self.bt_qss_2.setText(_translate("MainWindow", "QSS中文帮助文档"))
        self.label_6.setText(_translate("MainWindow", "信号绑定槽函数:"))
        self.bt_copy_bind.setText(_translate("MainWindow", "复制绑定"))
        self.label_7.setText(_translate("MainWindow", "槽函数/重写 实现代码:"))
        self.bt_copy_connect.setText(_translate("MainWindow", "复制实现"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "3.信号与槽(预览后来这里)"))
