forked from tillhanke/QuidditchScoreboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sureBro_ui.py
54 lines (48 loc) · 2.5 KB
/
sureBro_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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'sureBro.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_sureBro(object):
def setupUi(self, sureBro):
sureBro.setObjectName("sureBro")
sureBro.resize(677, 503)
self.verticalLayout = QtWidgets.QVBoxLayout(sureBro)
self.verticalLayout.setObjectName("verticalLayout")
self.label = QtWidgets.QLabel(sureBro)
font = QtGui.QFont()
font.setPointSize(20)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.label_2 = QtWidgets.QLabel(sureBro)
self.label_2.setObjectName("label_2")
self.verticalLayout.addWidget(self.label_2)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.pushButton_2 = QtWidgets.QPushButton(sureBro)
self.pushButton_2.setObjectName("pushButton_2")
self.horizontalLayout.addWidget(self.pushButton_2)
self.pushButton = QtWidgets.QPushButton(sureBro)
self.pushButton.setObjectName("pushButton")
self.horizontalLayout.addWidget(self.pushButton)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem1)
self.verticalLayout.addLayout(self.horizontalLayout)
self.retranslateUi(sureBro)
self.pushButton_2.clicked.connect(sureBro.yes)
self.pushButton.clicked.connect(sureBro.no)
QtCore.QMetaObject.connectSlotsByName(sureBro)
def retranslateUi(self, sureBro):
_translate = QtCore.QCoreApplication.translate
sureBro.setWindowTitle(_translate("sureBro", "Dialog"))
self.label.setText(_translate("sureBro", "Really wanna close this pal?"))
self.label_2.setText(_translate("sureBro", "<html><head/><body><p align=\"center\"><img src=\":/newPrefix/Graphical QT5/please_dont.jpg\"/></p></body></html>"))
self.pushButton_2.setText(_translate("sureBro", "Yea sure!"))
self.pushButton.setText(_translate("sureBro", "No please take me back."))
import resource_rc