代码拉取完成,页面将自动刷新
# -*- 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", "取消保存"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。