From 60380a253a7c4b862fad4d4111301044f28312b5 Mon Sep 17 00:00:00 2001 From: Blaine Date: Fri, 5 Jun 2020 12:14:26 +0530 Subject: json file format + qsettings --- src/main/python/utils/app.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/python/utils/app.py') diff --git a/src/main/python/utils/app.py b/src/main/python/utils/app.py index 4540a43..4ee11c3 100644 --- a/src/main/python/utils/app.py +++ b/src/main/python/utils/app.py @@ -3,7 +3,10 @@ Declare fbs application so that it can be imported in other modules. """ from fbs_runtime.application_context.PyQt5 import ApplicationContext +from PyQt5.QtCore import QSettings + app = ApplicationContext() +settings = QSettings(QSettings.IniFormat, QSettings.UserScope ,"FOSSEE", "Chemical-PFD") def fileImporter(file): # Helper function to fetch files from src/main/resources -- cgit