-
Notifications
You must be signed in to change notification settings - Fork 1
/
smallwindow.py
93 lines (86 loc) · 3.87 KB
/
smallwindow.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'e:\class roster picker\smallwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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_smallwindow(object):
def setupUi(self, smallwindow):
smallwindow.setObjectName("smallwindow")
smallwindow.resize(291, 174)
self.label = QtWidgets.QLabel(smallwindow)
self.label.setGeometry(QtCore.QRect(10, 10, 271, 151))
self.label.setStyleSheet("background-color: rgba(194, 194, 194, 0.97);\n"
"border-top-left-radius :28px;\n"
"border-bottom-left-radius :28px;\n"
"border-top-right-radius :28px;\n"
"border-bottom-right-radius :28px;")
self.label.setText("")
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(smallwindow)
self.label_2.setGeometry(QtCore.QRect(27, 27, 231, 113))
self.label_2.setStyleSheet("* {\n"
" color: rgb(98, 105, 112);\n"
" font-family: \'Microsoft YaHei\';\n"
"}\n"
"")
self.label_2.setText("")
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
self.label_2.setWordWrap(True)
self.label_2.setObjectName("label_2")
self.frame = QtWidgets.QFrame(smallwindow)
self.frame.setGeometry(QtCore.QRect(205, 13, 71, 40))
self.frame.setStyleSheet("\n"
"QPushButton{\n"
" border:none;\n"
"}\n"
"QPushButton:hover{\n"
" padding-bottom:4px;\n"
"}")
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.pushButton_2 = QtWidgets.QPushButton(self.frame)
self.pushButton_2.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/icons/hide.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_2.setIcon(icon)
self.pushButton_2.setIconSize(QtCore.QSize(20, 20))
self.pushButton_2.setObjectName("pushButton_2")
self.horizontalLayout_2.addWidget(self.pushButton_2)
self.pushButton_4 = QtWidgets.QPushButton(self.frame)
self.pushButton_4.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icons/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_4.setIcon(icon1)
self.pushButton_4.setIconSize(QtCore.QSize(20, 20))
self.pushButton_4.setObjectName("pushButton_4")
self.horizontalLayout_2.addWidget(self.pushButton_4)
self.pushButton_7 = QtWidgets.QPushButton(smallwindow)
self.pushButton_7.setGeometry(QtCore.QRect(90, 30, 111, 101))
self.pushButton_7.setStyleSheet("\n"
"QPushButton{\n"
" border:none;\n"
"}")
self.pushButton_7.setText("")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icons/picker.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_7.setIcon(icon2)
self.pushButton_7.setIconSize(QtCore.QSize(100, 100))
self.pushButton_7.setObjectName("pushButton_7")
self.label_3 = QtWidgets.QLabel(smallwindow)
self.label_3.setGeometry(QtCore.QRect(37, 26, 64, 16))
self.label_3.setStyleSheet("font-size: 15px; \n"
"")
self.label_3.setText("")
self.label_3.setObjectName("label_3")
self.retranslateUi(smallwindow)
QtCore.QMetaObject.connectSlotsByName(smallwindow)
def retranslateUi(self, smallwindow):
_translate = QtCore.QCoreApplication.translate
smallwindow.setWindowTitle(_translate("smallwindow", "Form"))
import res