[app] adding config

This commit is contained in:
wendtalexander 2024-10-14 08:41:12 +02:00
parent 30bd705e1a
commit e999d25951

View File

@ -4,6 +4,7 @@ from PyQt6.QtCore import QSettings
from PyQt6.QtWidgets import QApplication
from pyrelacs import info
from pyrelacs.config.config_loader import Config
from pyrelacs.ui.mainwindow import PyRelacs
from pyrelacs import (
@ -25,7 +26,11 @@ def main():
x = int(settings.value("app/pos_x", 100))
y = int(settings.value("app/pos_y", 100))
# load config
# load the config
config = Config()
# start the app
window = PyRelacs()
window.setMinimumWidth(200)
window.setMinimumHeight(200)