mirror of
https://github.com/marcriera/ddgo-converter.git
synced 2025-05-02 06:27:04 +02:00
Add Qt5 GUI
This commit is contained in:
parent
cc8a271883
commit
0c9428fdd8
6 changed files with 433 additions and 147 deletions
17
gui/main.py
Executable file
17
gui/main.py
Executable file
|
@ -0,0 +1,17 @@
|
|||
import sys
|
||||
from PyQt5 import uic
|
||||
from PyQt5.QtWidgets import QMainWindow
|
||||
from gui.main_ui import Ui_MainWindow
|
||||
|
||||
class MainWindow(QMainWindow):
|
||||
def __init__(self, main_controller):
|
||||
super().__init__()
|
||||
|
||||
self._main_controller = main_controller
|
||||
self._gui = Ui_MainWindow()
|
||||
self._gui.setupUi(self)
|
||||
|
||||
self._gui.pushButton_emulatedControllerStart.clicked.connect(self.startPressed)
|
||||
|
||||
def startPressed(self):
|
||||
self._gui.statusbar.showMessage("Hello!")
|
Loading…
Add table
Add a link
Reference in a new issue