diff --git a/cromulant/config.py b/cromulant/config.py index 392f56b..ce79bf6 100644 --- a/cromulant/config.py +++ b/cromulant/config.py @@ -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 diff --git a/cromulant/window.py b/cromulant/window.py index 85b2f69..4da94e2 100644 --- a/cromulant/window.py +++ b/cromulant/window.py @@ -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)