1
0
forked from IPKM/nmreval

BUGFIX: VFT;

change to src layout
This commit is contained in:
dominik
2022-10-20 17:23:15 +02:00
parent 89ce4bab9f
commit 8d148b639b
445 changed files with 1387 additions and 1920 deletions

18
src/gui_qt/__init__.py Normal file
View File

@@ -0,0 +1,18 @@
from nmreval.configs import read_configuration
from .Qt import QtWidgets
from .lib.styles import MyProxyStyle
class App(QtWidgets.QApplication):
color = 'light'
theme = 'normal'
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
configs = read_configuration()
App.theme = configs.get('GUI', 'Theme')
App.color = configs.get('GUI', 'Color')
self.setStyle(MyProxyStyle(App.color))