-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsenior_ui_ui.py
97 lines (90 loc) · 4.43 KB
/
senior_ui_ui.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 'd:\Files\PythonFiles\WC\WindowsCleaner\resource\ui\senior_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# 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_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(583, 511)
self.gridLayout_3 = QtWidgets.QGridLayout(Form)
self.gridLayout_3.setObjectName("gridLayout_3")
self.label_4 = QtWidgets.QLabel(Form)
self.label_4.setMinimumSize(QtCore.QSize(0, 31))
self.label_4.setText("")
self.label_4.setObjectName("label_4")
self.gridLayout_3.addWidget(self.label_4, 0, 0, 1, 1)
self.label_3 = TitleLabel(Form)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(16)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.gridLayout_3.addWidget(self.label_3, 1, 0, 1, 1)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.pushButton = PrimaryPushButton(Form)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
self.pushButton.setFont(font)
self.pushButton.setObjectName("pushButton")
self.horizontalLayout.addWidget(self.pushButton)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.gridLayout_3.addLayout(self.horizontalLayout, 2, 0, 1, 1)
self.widget = CardWidget(Form)
self.widget.setObjectName("widget")
self.gridLayout = QtWidgets.QGridLayout(self.widget)
self.gridLayout.setObjectName("gridLayout")
self.checkBox = CheckBox(self.widget)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(13)
self.checkBox.setFont(font)
self.checkBox.setObjectName("checkBox")
self.gridLayout.addWidget(self.checkBox, 0, 0, 1, 1)
self.label = CaptionLabel(self.widget)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(13)
self.label.setFont(font)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
self.gridLayout_3.addWidget(self.widget, 3, 0, 1, 1)
self.widget_2 = CardWidget(Form)
self.widget_2.setObjectName("widget_2")
self.gridLayout_2 = QtWidgets.QGridLayout(self.widget_2)
self.gridLayout_2.setObjectName("gridLayout_2")
self.checkBox_2 = CheckBox(self.widget_2)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(13)
self.checkBox_2.setFont(font)
self.checkBox_2.setObjectName("checkBox_2")
self.gridLayout_2.addWidget(self.checkBox_2, 0, 0, 1, 1)
self.label_2 = CaptionLabel(self.widget_2)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(13)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
self.gridLayout_3.addWidget(self.widget_2, 4, 0, 1, 1)
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout_3.addItem(spacerItem1, 5, 0, 1, 1)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "Form"))
self.label_3.setText(_translate("Form", "移除系统组件或修改系统设置Beta"))
self.pushButton.setText(_translate("Form", "执行"))
self.checkBox.setText(_translate("Form", "转移虚拟内存"))
self.label.setText(_translate("Form", "注意⚠:此操作可能会导致\n"
"VMware等虚拟机软件无法正常运行"))
self.checkBox_2.setText(_translate("Form", "关闭系统休眠"))
self.label_2.setText(_translate("Form", "✅关闭后不会影响系统睡眠及正常使用"))
from qfluentwidgets import CaptionLabel, CardWidget, CheckBox, PrimaryPushButton, TitleLabel