-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout_window.py
167 lines (158 loc) · 7.35 KB
/
about_window.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'about_window.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# 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_AboutWindow(object):
def setupUi(self, AboutWindow):
AboutWindow.setObjectName("AboutWindow")
AboutWindow.resize(675, 600)
AboutWindow.setMinimumSize(QtCore.QSize(675, 600))
AboutWindow.setMaximumSize(QtCore.QSize(675, 600))
AboutWindow.setStyleSheet("QDioalog {\n"
"background: #E3EDF2;\n"
"}\n"
"\n"
"QWidget {\n"
"background: #E3EDF2;\n"
"}\n"
"\n"
"QLabel {\n"
"color: #4E7D96;\n"
"}")
self.gridLayoutWidget = QtWidgets.QWidget(AboutWindow)
self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 10, 651, 581))
self.gridLayoutWidget.setObjectName("gridLayoutWidget")
self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.label_11 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(10)
self.label_11.setFont(font)
self.label_11.setAlignment(QtCore.Qt.AlignCenter)
self.label_11.setObjectName("label_11")
self.gridLayout.addWidget(self.label_11, 14, 0, 1, 1)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
self.label_7 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(14)
self.label_7.setFont(font)
self.label_7.setAlignment(QtCore.Qt.AlignCenter)
self.label_7.setObjectName("label_7")
self.gridLayout.addWidget(self.label_7, 7, 0, 1, 1)
self.label_9 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(14)
self.label_9.setFont(font)
self.label_9.setAlignment(QtCore.Qt.AlignCenter)
self.label_9.setObjectName("label_9")
self.gridLayout.addWidget(self.label_9, 12, 0, 1, 1)
self.label_10 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(14)
self.label_10.setFont(font)
self.label_10.setAlignment(QtCore.Qt.AlignCenter)
self.label_10.setObjectName("label_10")
self.gridLayout.addWidget(self.label_10, 13, 0, 1, 1)
self.label_5 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(14)
self.label_5.setFont(font)
self.label_5.setText("")
self.label_5.setPixmap(QtGui.QPixmap("images/udg-logo.png"))
self.label_5.setScaledContents(False)
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
self.label_5.setObjectName("label_5")
self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
self.label_12 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(16)
self.label_12.setFont(font)
self.label_12.setAlignment(QtCore.Qt.AlignCenter)
self.label_12.setObjectName("label_12")
self.gridLayout.addWidget(self.label_12, 10, 0, 1, 1)
self.label_6 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(16)
self.label_6.setFont(font)
self.label_6.setAlignment(QtCore.Qt.AlignCenter)
self.label_6.setObjectName("label_6")
self.gridLayout.addWidget(self.label_6, 6, 0, 1, 1)
self.label = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(26)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
self.label_4 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(16)
self.label_4.setFont(font)
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
self.label_4.setObjectName("label_4")
self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
self.label_8 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(14)
self.label_8.setFont(font)
self.label_8.setAlignment(QtCore.Qt.AlignCenter)
self.label_8.setObjectName("label_8")
self.gridLayout.addWidget(self.label_8, 8, 0, 1, 1)
self.label_2 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(18)
self.label_2.setFont(font)
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(self.gridLayoutWidget)
font = QtGui.QFont()
font.setFamily("Open Sans")
font.setPointSize(16)
self.label_3.setFont(font)
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.gridLayout.addItem(spacerItem1, 11, 0, 1, 1)
self.retranslateUi(AboutWindow)
QtCore.QMetaObject.connectSlotsByName(AboutWindow)
def retranslateUi(self, AboutWindow):
_translate = QtCore.QCoreApplication.translate
AboutWindow.setWindowTitle(_translate("AboutWindow", "About this Project"))
self.label_11.setText(_translate("AboutWindow", "2023-B"))
self.label_7.setText(_translate("AboutWindow", "Sección: D02"))
self.label_9.setText(_translate("AboutWindow", "215638591 - Avila Guerrero Ismael Guadalupe"))
self.label_10.setText(_translate("AboutWindow", "216794422 - Beltran Villegas Oscar"))
self.label_12.setText(_translate("AboutWindow", "Proyecto Final - Clasificador de Spam"))
self.label_6.setText(_translate("AboutWindow", "Seminario de Solución de Problemas de Inteligencia Artificial II"))
self.label.setText(_translate("AboutWindow", "Universidad de Guadalajara"))
self.label_4.setText(_translate("AboutWindow", "Departamento de Ciencias Computacionales"))
self.label_8.setText(_translate("AboutWindow", "Profesor: Julio Esteban Valdes Lopez"))
self.label_2.setText(_translate("AboutWindow", "Centro Universitario de Ciencias Exactas e Ingenierías"))
self.label_3.setText(_translate("AboutWindow", "División de Tecnologías Para la Integración Ciber-Humana"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
AboutWindow = QtWidgets.QDialog()
ui = Ui_AboutWindow()
ui.setupUi(AboutWindow)
AboutWindow.show()
sys.exit(app.exec_())