-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ui_ShareConf.py
97 lines (90 loc) · 5.19 KB
/
Ui_ShareConf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\12463\PycharmProjects\nju-seafile\seafile-python\ShareConf.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_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(905, 630)
self.generateLinksButton = QtWidgets.QPushButton(Dialog)
self.generateLinksButton.setEnabled(True)
self.generateLinksButton.setGeometry(QtCore.QRect(10, 410, 93, 28))
self.generateLinksButton.setObjectName("generateLinksButton")
self.SetPassword = QtWidgets.QCheckBox(Dialog)
self.SetPassword.setEnabled(True)
self.SetPassword.setGeometry(QtCore.QRect(10, 20, 117, 19))
self.SetPassword.setObjectName("SetPassword")
self.SetExpiration = QtWidgets.QCheckBox(Dialog)
self.SetExpiration.setEnabled(True)
self.SetExpiration.setGeometry(QtCore.QRect(10, 200, 117, 19))
self.SetExpiration.setObjectName("SetExpiration")
self.widget_2 = QtWidgets.QWidget(Dialog)
self.widget_2.setGeometry(QtCore.QRect(10, 290, 124, 93))
self.widget_2.setObjectName("widget_2")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget_2)
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.checkAndDownload = QtWidgets.QRadioButton(self.widget_2)
self.checkAndDownload.setEnabled(True)
self.checkAndDownload.setObjectName("checkAndDownload")
self.verticalLayout_2.addWidget(self.checkAndDownload)
self.checkOnly = QtWidgets.QRadioButton(self.widget_2)
self.checkOnly.setEnabled(True)
self.checkOnly.setObjectName("checkOnly")
self.verticalLayout_2.addWidget(self.checkOnly)
self.downloadAndUpload = QtWidgets.QRadioButton(self.widget_2)
self.downloadAndUpload.setEnabled(True)
self.downloadAndUpload.setObjectName("downloadAndUpload")
self.verticalLayout_2.addWidget(self.downloadAndUpload)
self.Expiration = QtWidgets.QDateTimeEdit(Dialog)
self.Expiration.setEnabled(False)
self.Expiration.setGeometry(QtCore.QRect(20, 240, 194, 22))
self.Expiration.setObjectName("Expiration")
self.frame = QtWidgets.QFrame(Dialog)
self.frame.setEnabled(False)
self.frame.setGeometry(QtCore.QRect(20, 50, 521, 113))
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.samePassword = QtWidgets.QRadioButton(self.frame)
self.samePassword.setGeometry(QtCore.QRect(10, 20, 231, 16))
self.samePassword.setObjectName("samePassword")
self.password = QtWidgets.QLineEdit(self.frame)
self.password.setEnabled(False)
self.password.setGeometry(QtCore.QRect(12, 77, 137, 24))
self.password.setObjectName("password")
self.label = QtWidgets.QLabel(self.frame)
self.label.setEnabled(False)
self.label.setGeometry(QtCore.QRect(10, 50, 81, 16))
self.label.setObjectName("label")
self.generatePassword = QtWidgets.QRadioButton(self.frame)
self.generatePassword.setGeometry(QtCore.QRect(330, 20, 181, 16))
self.generatePassword.setObjectName("generatePassword")
self.retranslateUi(Dialog)
self.SetExpiration.clicked['bool'].connect(self.Expiration.setEnabled)
self.SetPassword.clicked['bool'].connect(self.frame.setEnabled)
self.samePassword.clicked['bool'].connect(self.label.setEnabled)
self.samePassword.clicked['bool'].connect(self.password.setEnabled)
self.generatePassword.clicked['bool'].connect(self.password.setDisabled)
self.generatePassword.clicked['bool'].connect(self.label.setDisabled)
QtCore.QMetaObject.connectSlotsByName(Dialog)
Dialog.setTabOrder(self.SetPassword, self.SetExpiration)
Dialog.setTabOrder(self.SetExpiration, self.checkAndDownload)
Dialog.setTabOrder(self.checkAndDownload, self.downloadAndUpload)
Dialog.setTabOrder(self.downloadAndUpload, self.generateLinksButton)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.generateLinksButton.setText(_translate("Dialog", "生成链接"))
self.SetPassword.setText(_translate("Dialog", "增加密码保护"))
self.SetExpiration.setText(_translate("Dialog", "设置过期时间"))
self.checkAndDownload.setText(_translate("Dialog", "预览与下载"))
self.checkOnly.setText(_translate("Dialog", "仅查看"))
self.downloadAndUpload.setText(_translate("Dialog", "下载和上传"))
self.samePassword.setText(_translate("Dialog", "所有链接使用相同密码"))
self.label.setText(_translate("Dialog", "输入密码"))
self.generatePassword.setText(_translate("Dialog", "为每个链接生成密码"))