Files
cursopython2023/aula204/main.py

18 lines
360 B
Python

import sys
from PySide6.QtWidgets import QApplication, QWidget
from ui_workerui import Ui_myWidget
class MyWidget(QWidget, Ui_myWidget):
def __init__(self, parent=None):
super().__init__(parent)
self.setupUi(self)
if __name__ == '__main__':
app = QApplication(sys.argv)
myWidget = MyWidget()
myWidget.show()
app.exec()