Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from PyQt5.QtGui import *
- from PyQt5.QtCore import *
- from PyQt5.QtWidgets import *
- import gui
- import sys
- class Example(QMainWindow, gui.Ui_MainWindow):
- def __init__(self):
- super().__init__()
- self.setupUi(self)
- if __name__ == '__main__':
- app = QApplication(sys.argv)
- form = Example()
- form.show()
- app.exec()
Advertisement
Add Comment
Please, Sign In to add comment