代码拉取完成,页面将自动刷新
同步操作将从 179916249/Pyqt5文件增量备份源码 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mian.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# 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(800, 600)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("img/logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout.setObjectName("verticalLayout")
self.widget = QtWidgets.QWidget(self.centralwidget)
self.widget.setMaximumSize(QtCore.QSize(16777215, 100))
self.widget.setObjectName("widget")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget)
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_2.setSpacing(0)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.frame = QtWidgets.QFrame(self.widget)
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
self.horizontalLayout.setObjectName("horizontalLayout")
self.line_org_path = QtWidgets.QLineEdit(self.frame)
self.line_org_path.setReadOnly(True)
self.line_org_path.setObjectName("line_org_path")
self.horizontalLayout.addWidget(self.line_org_path)
self.but_org_path = QtWidgets.QPushButton(self.frame)
self.but_org_path.setObjectName("but_org_path")
self.horizontalLayout.addWidget(self.but_org_path)
self.line_trg_path = QtWidgets.QLineEdit(self.frame)
self.line_trg_path.setReadOnly(True)
self.line_trg_path.setObjectName("line_trg_path")
self.horizontalLayout.addWidget(self.line_trg_path)
self.but_trg_path = QtWidgets.QPushButton(self.frame)
self.but_trg_path.setObjectName("but_trg_path")
self.horizontalLayout.addWidget(self.but_trg_path)
self.verticalLayout_2.addWidget(self.frame)
self.frame_2 = QtWidgets.QFrame(self.widget)
self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_2.setObjectName("frame_2")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_2)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label = QtWidgets.QLabel(self.frame_2)
self.label.setObjectName("label")
self.horizontalLayout_2.addWidget(self.label)
self.spin_sleep = QtWidgets.QSpinBox(self.frame_2)
self.spin_sleep.setMinimum(30)
self.spin_sleep.setMaximum(99999)
self.spin_sleep.setSingleStep(5)
self.spin_sleep.setObjectName("spin_sleep")
self.horizontalLayout_2.addWidget(self.spin_sleep)
self.label_2 = QtWidgets.QLabel(self.frame_2)
self.label_2.setObjectName("label_2")
self.horizontalLayout_2.addWidget(self.label_2)
self.line_file_type = QtWidgets.QLineEdit(self.frame_2)
self.line_file_type.setText("")
self.line_file_type.setObjectName("line_file_type")
self.horizontalLayout_2.addWidget(self.line_file_type)
self.but_run = QtWidgets.QPushButton(self.frame_2)
self.but_run.setObjectName("but_run")
self.horizontalLayout_2.addWidget(self.but_run)
self.verticalLayout_2.addWidget(self.frame_2)
self.verticalLayout.addWidget(self.widget)
self.widget_2 = QtWidgets.QWidget(self.centralwidget)
self.widget_2.setObjectName("widget_2")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.widget_2)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.label_3 = QtWidgets.QLabel(self.widget_2)
self.label_3.setObjectName("label_3")
self.horizontalLayout_4.addWidget(self.label_3)
self.line_dirs = QtWidgets.QLineEdit(self.widget_2)
self.line_dirs.setObjectName("line_dirs")
self.horizontalLayout_4.addWidget(self.line_dirs)
self.verticalLayout.addWidget(self.widget_2)
self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox.setObjectName("groupBox")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.log_out = QtWidgets.QTextBrowser(self.groupBox)
self.log_out.setObjectName("log_out")
self.horizontalLayout_3.addWidget(self.log_out)
self.verticalLayout.addWidget(self.groupBox)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 23))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "深林老鸟-文件同步 v1.0 作者邮箱:m.go@qq.com"))
self.but_org_path.setText(_translate("MainWindow", "选择原路径"))
self.but_trg_path.setText(_translate("MainWindow", "选择目标路径"))
self.label.setText(_translate("MainWindow", "间隔(秒):"))
self.label_2.setText(_translate("MainWindow", "同步文件类型:"))
self.line_file_type.setPlaceholderText(_translate("MainWindow", "默认所有类型,自定义类型如:txt|jpg|png"))
self.but_run.setText(_translate("MainWindow", "启动"))
self.label_3.setText(_translate("MainWindow", "排除文件夹:"))
self.line_dirs.setPlaceholderText(_translate("MainWindow", "默认不排除,自定义如:文件夹1|文件夹2|"))
self.groupBox.setTitle(_translate("MainWindow", "同步记录"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。