2 Star 6 Fork 5

邱海/Python爬虫小说下载阅读

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
settingsUI.py 4.19 KB
一键复制 编辑 原始数据 按行查看 历史
邱海 提交于 2021-12-20 14:27 . 设置守护线程更新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'settingsUI.ui'
#
# Created by: PyQt5 UI code generator 5.12.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1332, 414)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.widget = QtWidgets.QWidget(self.centralwidget)
self.widget.setGeometry(QtCore.QRect(30, 60, 1261, 241))
self.widget.setObjectName("widget")
self.mainLayout = QtWidgets.QGridLayout(self.widget)
self.mainLayout.setContentsMargins(0, 0, 0, 0)
self.mainLayout.setObjectName("mainLayout")
self.pathLabel = QtWidgets.QLabel(self.widget)
self.pathLabel.setObjectName("pathLabel")
self.mainLayout.addWidget(self.pathLabel, 0, 0, 1, 1)
self.pathText = QtWidgets.QLineEdit(self.widget)
self.pathText.setText("")
self.pathText.setPlaceholderText("")
self.pathText.setObjectName("pathText")
self.mainLayout.addWidget(self.pathText, 0, 1, 1, 1)
self.choosePathBtn = QtWidgets.QPushButton(self.widget)
self.choosePathBtn.setObjectName("choosePathBtn")
self.mainLayout.addWidget(self.choosePathBtn, 0, 2, 1, 1)
self.numLabel = QtWidgets.QLabel(self.widget)
self.numLabel.setObjectName("numLabel")
self.mainLayout.addWidget(self.numLabel, 1, 0, 1, 1)
self.numSpinBox = QtWidgets.QSpinBox(self.widget)
self.numSpinBox.setMinimum(1)
self.numSpinBox.setMaximum(999)
self.numSpinBox.setProperty("value", 5)
self.numSpinBox.setObjectName("numSpinBox")
self.mainLayout.addWidget(self.numSpinBox, 1, 1, 1, 1)
self.numTipLabel = QtWidgets.QLabel(self.widget)
self.numTipLabel.setObjectName("numTipLabel")
self.mainLayout.addWidget(self.numTipLabel, 1, 2, 1, 1)
self.label = QtWidgets.QLabel(self.widget)
self.label.setObjectName("label")
self.mainLayout.addWidget(self.label, 2, 0, 1, 1)
self.speedSpinBox = QtWidgets.QSpinBox(self.widget)
self.speedSpinBox.setMinimum(1)
self.speedSpinBox.setMaximum(999)
self.speedSpinBox.setObjectName("speedSpinBox")
self.mainLayout.addWidget(self.speedSpinBox, 2, 1, 1, 1)
self.numTipLabel_2 = QtWidgets.QLabel(self.widget)
self.numTipLabel_2.setObjectName("numTipLabel_2")
self.mainLayout.addWidget(self.numTipLabel_2, 2, 2, 1, 1)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.configBtn = QtWidgets.QPushButton(self.widget)
self.configBtn.setObjectName("configBtn")
self.horizontalLayout.addWidget(self.configBtn)
self.cancelBtn = QtWidgets.QPushButton(self.widget)
self.cancelBtn.setObjectName("cancelBtn")
self.horizontalLayout.addWidget(self.cancelBtn)
self.mainLayout.addLayout(self.horizontalLayout, 3, 2, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "设置"))
self.pathLabel.setText(_translate("MainWindow", "下载目录:"))
self.choosePathBtn.setText(_translate("MainWindow", "选择目录"))
self.numLabel.setText(_translate("MainWindow", "最大同时下载数量:"))
self.numTipLabel.setText(_translate("MainWindow", "(同时下载太多会占用大量系统资源)"))
self.label.setText(_translate("MainWindow", "下载速度:"))
self.numTipLabel_2.setText(_translate("MainWindow", "(下载速度过快会占用大量系统资源)"))
self.configBtn.setText(_translate("MainWindow", "保存修改"))
self.cancelBtn.setText(_translate("MainWindow", "取消保存"))
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/qiuhai182/scrapyTxt.git
git@gitee.com:qiuhai182/scrapyTxt.git
qiuhai182
scrapyTxt
Python爬虫小说下载阅读
master

搜索帮助