31 lines
1000 B
Python
31 lines
1000 B
Python
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_())
|