1 Star 0 Fork 0

watalo/ProjPool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
uipp.py 8.29 KB
一键复制 编辑 原始数据 按行查看 历史
watalo 提交于 2020-03-17 00:08 . Initial commit
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'uipp.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QHeaderView
from PyQt5.QtCore import *
from PyQt5.QtGui import *
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(795, 599)
font = QtGui.QFont()
font.setFamily("宋体")
MainWindow.setFont(font)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(0, 32, 791, 61))
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(1, 96, 90, 501))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.btn_addproj = QtWidgets.QPushButton(self.verticalLayoutWidget)
self.btn_addproj.setObjectName("addproj")
self.verticalLayout.addWidget(self.btn_addproj)
self.pushButton_4 = QtWidgets.QPushButton(self.verticalLayoutWidget)
self.pushButton_4.setObjectName("pushButton_4")
self.verticalLayout.addWidget(self.pushButton_4)
self.pushButton_3 = QtWidgets.QPushButton(self.verticalLayoutWidget)
self.pushButton_3.setEnabled(True)
self.pushButton_3.setObjectName("pushButton_3")
self.verticalLayout.addWidget(self.pushButton_3)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.pushButton = QtWidgets.QPushButton(self.verticalLayoutWidget)
self.pushButton.setObjectName("pushButton")
self.verticalLayout.addWidget(self.pushButton)
spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.verticalLayout.addItem(spacerItem1)
self.verticalLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(90, 96, 701, 501))
self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_2)
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_2.setSpacing(1)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.tabWidget = QtWidgets.QTabWidget(self.verticalLayoutWidget_2)
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.horizontalLayoutWidget_3 = QtWidgets.QWidget(self.tab)
self.horizontalLayoutWidget_3.setGeometry(QtCore.QRect(10, 0, 681, 31))
self.horizontalLayoutWidget_3.setObjectName("horizontalLayoutWidget_3")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_3)
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setSpacing(7)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem2)
self.pushButton_9 = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
self.pushButton_9.setObjectName("pushButton_9")
self.horizontalLayout_3.addWidget(self.pushButton_9)
self.pushButton_10 = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
self.pushButton_10.setObjectName("pushButton_10")
self.horizontalLayout_3.addWidget(self.pushButton_10)
self.pushButton_11 = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
self.pushButton_11.setObjectName("pushButton_11")
self.horizontalLayout_3.addWidget(self.pushButton_11)
self.pushButton_12 = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
self.pushButton_12.setObjectName("pushButton_12")
self.horizontalLayout_3.addWidget(self.pushButton_12)
self.tableView_proj = QtWidgets.QTableView(self.tab)
self.tableView_proj.setGeometry(QtCore.QRect(2, 33, 691, 441))
self.tableView_proj.setObjectName("tableView_proj")
# self.tableView_proj.horizontalHeader().setStretchLastSection(True)
self.tableView_proj.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch)
self.tabWidget.addTab(self.tab, "")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.horizontalLayoutWidget_2 = QtWidgets.QWidget(self.tab_2)
self.horizontalLayoutWidget_2.setGeometry(QtCore.QRect(10, 0, 681, 31))
self.horizontalLayoutWidget_2.setObjectName("horizontalLayoutWidget_2")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_2)
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_2.setSpacing(7)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem3)
self.pushButton_7 = QtWidgets.QPushButton(self.horizontalLayoutWidget_2)
self.pushButton_7.setObjectName("pushButton_7")
self.horizontalLayout_2.addWidget(self.pushButton_7)
self.pushButton_8 = QtWidgets.QPushButton(self.horizontalLayoutWidget_2)
self.pushButton_8.setObjectName("pushButton_8")
self.horizontalLayout_2.addWidget(self.pushButton_8)
self.pushButton_6 = QtWidgets.QPushButton(self.horizontalLayoutWidget_2)
self.pushButton_6.setObjectName("pushButton_6")
self.horizontalLayout_2.addWidget(self.pushButton_6)
self.pushButton_5 = QtWidgets.QPushButton(self.horizontalLayoutWidget_2)
self.pushButton_5.setObjectName("pushButton_5")
self.horizontalLayout_2.addWidget(self.pushButton_5)
self.tableView = QtWidgets.QTableView(self.tab_2)
self.tableView.setGeometry(QtCore.QRect(2, 33, 691, 441))
self.tableView.setObjectName("tableView")
self.tabWidget.addTab(self.tab_2, "")
self.verticalLayout_2.addWidget(self.tabWidget)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(1)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "大桃尽调助手"))
self.btn_addproj.setText(_translate("MainWindow", "新建项目"))
self.pushButton_4.setText(_translate("MainWindow", "删除项目"))
self.pushButton_3.setText(_translate("MainWindow", "待定"))
self.pushButton.setText(_translate("MainWindow", "PushButton"))
self.pushButton_9.setText(_translate("MainWindow", "更新进展"))
self.pushButton_10.setText(_translate("MainWindow", "新增产品"))
self.pushButton_11.setText(_translate("MainWindow", "删除产品"))
self.pushButton_12.setText(_translate("MainWindow", "待定"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1"))
self.pushButton_7.setText(_translate("MainWindow", "详情"))
self.pushButton_8.setText(_translate("MainWindow", "1111"))
self.pushButton_6.setText(_translate("MainWindow", "2222"))
self.pushButton_5.setText(_translate("MainWindow", "3333"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2"))
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/watalo/ProjPool.git
[email protected]:watalo/ProjPool.git
watalo
ProjPool
ProjPool
master

搜索帮助