Bodge hates camels
parent
340a1ef389
commit
551f7db8f6
|
@ -1,6 +1,6 @@
|
|||
from PySide6 import QtCore, QtWidgets
|
||||
|
||||
class MainWindow(QtWidgets.QWidget):
|
||||
class Window(QtWidgets.QWidget):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.text = QtWidgets.QLabel("Hello World", alignment=QtCore.Qt.AlignCenter)
|
||||
|
|
2
main.py
2
main.py
|
@ -26,7 +26,7 @@ configuration = Config(configuration_file_path, default_configuration)
|
|||
################################################################################
|
||||
|
||||
app = QtWidgets.QApplication([])
|
||||
main_window = gui_handler.MainWindow()
|
||||
main_window = gui_handler.Window()
|
||||
main_window.resize(800, 600)
|
||||
main_window.show()
|
||||
|
||||
|
|
Reference in New Issue