Loading files
# This Python file uses the following encoding: utf-8
import sys
from PySide6.QtWidgets import QApplication, QMainWindow
# Important:
# You need to run the following command to generate the ui_form.py file
# pyside6-uic form.ui -o ui_form.py, or
# pyside2-uic form.ui -o ui_form.py
from ui_form import Ui_chessbot_gui
class chessbot_gui(QMainWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.ui = Ui_chessbot_gui()
self.ui.setupUi(self)
if __name__ == "__main__":
app = QApplication(sys.argv)
widget = chessbot_gui()
widget.show()
sys.exit(app.exec())
0dae07df0This file is pinned to the selected release. Download the original to open it in your design tool.