clean home

master
Milan Suman 2022-03-19 10:28:21 +05:30
parent 551f7db8f6
commit b84e21a207
2 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,5 @@
from PySide6 import QtCore, QtWidgets
import sys
class Window(QtWidgets.QWidget):
def __init__(self):
@ -6,3 +7,10 @@ class Window(QtWidgets.QWidget):
self.text = QtWidgets.QLabel("Hello World", alignment=QtCore.Qt.AlignCenter)
self.layout = QtWidgets.QVBoxLayout(self)
self.layout.addWidget(self.text)
app = QtWidgets.QApplication([])
main_window = Window()
main_window.resize(800, 600)
main_window.show()
sys.exit(app.exec())

View File

@ -1,9 +1,7 @@
#!/usr/bin/python3
import os
import sys
import gui_helper
import gui_handler
from PySide6 import QtWidgets
from config import Config
################################################################################
@ -24,10 +22,3 @@ configuration = Config(configuration_file_path, default_configuration)
################################################################################
# PROGRAM MAIN WINDOW
################################################################################
app = QtWidgets.QApplication([])
main_window = gui_handler.Window()
main_window.resize(800, 600)
main_window.show()
sys.exit(app.exec())