forked from EmeraldIngot/dontdie-minecraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmb2.py
51 lines (45 loc) · 2.45 KB
/
mb2.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
# Form implementation generated from reading ui file 'mb2.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(465, 135)
Form.setMinimumSize(QtCore.QSize(465, 135))
Form.setMaximumSize(QtCore.QSize(465, 135))
self.infoText = QtWidgets.QLabel(parent=Form)
self.infoText.setGeometry(QtCore.QRect(10, -10, 461, 131))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.infoText.sizePolicy().hasHeightForWidth())
self.infoText.setSizePolicy(sizePolicy)
self.infoText.setMinimumSize(QtCore.QSize(0, 100))
self.infoText.setStyleSheet("font: 700 28pt \"Cantarell\";\n"
"")
self.infoText.setWordWrap(True)
self.infoText.setObjectName("infoText")
self.buttonBox = QtWidgets.QDialogButtonBox(parent=Form)
self.buttonBox.setGeometry(QtCore.QRect(110, 100, 341, 32))
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(False)
self.buttonBox.setObjectName("buttonBox")
self.hidebox = QtWidgets.QCheckBox(parent=Form)
self.hidebox.setGeometry(QtCore.QRect(10, 100, 261, 20))
font = QtGui.QFont()
font.setFamily("Cantarell")
font.setPointSize(10)
self.hidebox.setFont(font)
self.hidebox.setObjectName("hidebox")
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "Don\'t Die Message"))
self.infoText.setText(_translate("Form", "<html><head/><body><p><span style=\" font-size:11pt;\">Please be sure minecraft is both open and running BEFORE you click ok, or else the program will not work.</span></p></body></html>"))
self.hidebox.setText(_translate("Form", "Don\'t show these warnings again"))