This commit is contained in:
BarsTiger
2021-06-01 17:12:26 +03:00
parent 57c3b53cbc
commit 15c8377737
2 changed files with 54 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(436, 98)
self.label = QtWidgets.QLabel(Form)
self.label.setGeometry(QtCore.QRect(10, 10, 411, 81))
font = QtGui.QFont()
font.setPointSize(20)
self.label.setFont(font)
self.label.setObjectName("label")
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "ALWAYS CHECK TERMINAL"))
self.label.setText(_translate("Form", "<html><head/><body><p>Some apps will open in terminal.</p><p>You should check it!</p></body></html>"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Form = QtWidgets.QWidget()
ui = Ui_Form()
ui.setupUi(Form)
Form.show()
sys.exit(app.exec_())