wf-worldstate/gui.py
2023-08-03 13:37:46 +05:00

24 lines
520 B
Python

import gui_base
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QApplication
import sys
# GUI constructor from generated gui_base file
# doesn't really need to exist but its here now
class GUI(QtWidgets.QMainWindow, gui_base.Ui_MainWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setupUi(self)
# test code
def main():
app = QApplication(sys.argv)
gui = ExampleApp()
gui.show()
app.exec_()
if __name__ == '__main__':
main()