加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
searchUI.py 5.81 KB
一键复制 编辑 原始数据 按行查看 历史
rovesoul 提交于 2022-04-27 11:09 . first commit
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '.\search.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.setEnabled(True)
MainWindow.resize(1625, 746)
MainWindow.setFixedSize(1625, 746)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/icons/监督审查.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
MainWindow.setStyleSheet("")
MainWindow.setAnimated(False)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
self.progressBar.setGeometry(QtCore.QRect(30, 690, 1571, 21))
self.progressBar.setProperty("value", 0)
self.progressBar.setObjectName("progressBar")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(391, 51, 381, 16))
font = QtGui.QFont()
font.setPointSize(11)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(390, 470, 361, 16))
font = QtGui.QFont()
font.setPointSize(11)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.SuccessWidget = QtWidgets.QTableWidget(self.centralwidget)
self.SuccessWidget.setGeometry(QtCore.QRect(390, 70, 1211, 381))
self.SuccessWidget.setStyleSheet("")
self.SuccessWidget.setObjectName("SuccessWidget")
self.SuccessWidget.setColumnCount(0)
self.SuccessWidget.setRowCount(0)
self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget.setGeometry(QtCore.QRect(30, 50, 331, 621))
self.layoutWidget.setObjectName("layoutWidget")
self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.PathLb = QtWidgets.QLabel(self.layoutWidget)
font = QtGui.QFont()
font.setFamily("仿宋")
font.setPointSize(10)
self.PathLb.setFont(font)
self.PathLb.setStyleSheet("color: rgb(107, 0, 0);")
self.PathLb.setObjectName("PathLb")
self.gridLayout.addWidget(self.PathLb, 1, 1, 1, 2)
self.scanShowlb = QtWidgets.QLabel(self.layoutWidget)
font = QtGui.QFont()
font.setFamily("仿宋")
font.setPointSize(10)
self.scanShowlb.setFont(font)
self.scanShowlb.setObjectName("scanShowlb")
self.gridLayout.addWidget(self.scanShowlb, 1, 0, 1, 1)
self.GoButton = QtWidgets.QPushButton(self.layoutWidget)
self.GoButton.setMouseTracking(False)
self.GoButton.setAutoFillBackground(False)
self.GoButton.setStyleSheet("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icons/statics/查询.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.GoButton.setIcon(icon1)
self.GoButton.setObjectName("GoButton")
self.gridLayout.addWidget(self.GoButton, 5, 1, 1, 2)
self.label = QtWidgets.QLabel(self.layoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
self.label.setFont(font)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
self.FindTextIn = QtWidgets.QTextEdit(self.layoutWidget)
self.FindTextIn.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.IBeamCursor))
self.FindTextIn.setStyleSheet("")
self.FindTextIn.setObjectName("FindTextIn")
self.gridLayout.addWidget(self.FindTextIn, 4, 0, 1, 3)
self.choiceFolder = QtWidgets.QPushButton(self.layoutWidget)
self.choiceFolder.setObjectName("choiceFolder")
self.gridLayout.addWidget(self.choiceFolder, 0, 2, 1, 1)
self.scanShowlb_3 = QtWidgets.QLabel(self.layoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(11)
self.scanShowlb_3.setFont(font)
self.scanShowlb_3.setObjectName("scanShowlb_3")
self.gridLayout.addWidget(self.scanShowlb_3, 2, 0, 1, 3)
self.listWidget = QtWidgets.QListWidget(self.centralwidget)
self.listWidget.setGeometry(QtCore.QRect(390, 490, 1211, 181))
self.listWidget.setObjectName("listWidget")
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "FastDocxFilter"))
self.label_2.setText(_translate("MainWindow", "成功匹配的文件(双击文件列名称打开)"))
self.label_3.setText(_translate("MainWindow", "匹配失败的文件(文件为空或为缓存文件)"))
self.PathLb.setText(_translate("MainWindow", "待选择"))
self.scanShowlb.setText(_translate("MainWindow", "文件夹地址:"))
self.GoButton.setText(_translate("MainWindow", "开始搜索 Go"))
self.label.setText(_translate("MainWindow", "① 选择扫描文件夹"))
self.choiceFolder.setText(_translate("MainWindow", "点我选择"))
self.scanShowlb_3.setText(_translate("MainWindow", "② 输入要搜索内容:"))
import resource_rc
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化