This commit is contained in:
Auric Vente 2024-07-20 01:07:27 -06:00
parent f4c3a5ebfd
commit 63debc5e5f
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import appdirs # type: ignore
class Config:
title: str = "Cromulant"
program: str = "cromulant"
width: int = 820
height: int = 900
max_ants: int = 100

View File

@ -63,9 +63,12 @@ class Window:
@staticmethod
def make() -> None:
Window.app = QApplication([])
Window.app.setApplicationName(Config.program)
Window.window = QMainWindow()
Window.window.setWindowTitle(Config.title)
Window.window.resize(Config.width, Config.height)
central_widget = QWidget()
Window.root = QVBoxLayout()
central_widget.setLayout(Window.root)