[app] adding config
This commit is contained in:
parent
30bd705e1a
commit
e999d25951
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user