You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
3 years ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'untitled.ui'
|
||
|
#
|
||
|
# Created by: PyQt5 UI code generator 5.15.0
|
||
|
#
|
||
|
# 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_Form(object):
|
||
|
def setupUi(self, Form):
|
||
|
Form.setObjectName("Form")
|
||
|
Form.resize(479, 392)
|
||
|
self.pushButton = QtWidgets.QPushButton(Form)
|
||
|
self.pushButton.setGeometry(QtCore.QRect(140, 140, 99, 27))
|
||
|
self.pushButton.setObjectName("pushButton")
|
||
|
|
||
|
self.retranslateUi(Form)
|
||
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
||
|
|
||
|
def retranslateUi(self, Form):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
Form.setWindowTitle(_translate("Form", "Form"))
|
||
|
self.pushButton.setText(_translate("Form", "PushButton"))
|
||
|
|
||
|
if __name__=="__main__":
|
||
|
import sys
|
||
|
app=QtWidgets.QApplication(sys.argv)
|
||
|
widget=QtWidgets.QWidget()
|
||
|
ui=Ui_Form()
|
||
|
ui.setupUi(widget)
|
||
|
widget.show()
|
||
|
sys.exit(app.exec_())
|