src/eric7/eric7_sqlbrowser.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
9 9
10 This is the main Python script that performs the necessary initialization 10 This is the main Python script that performs the necessary initialization
11 of the SQL browser and starts the Qt event loop. 11 of the SQL browser and starts the Qt event loop.
12 """ 12 """
13 13
14 import os
14 import sys 15 import sys
15 import os
16 16
17 for arg in sys.argv[:]: 17 for arg in sys.argv[:]:
18 if arg.startswith("--config="): 18 if arg.startswith("--config="):
19 from eric7 import Globals 19 from eric7 import Globals
20 20
31 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir 31 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir
32 ) 32 )
33 sys.argv.remove(arg) 33 sys.argv.remove(arg)
34 34
35 from eric7.Globals import AppInfo 35 from eric7.Globals import AppInfo
36
37 from eric7.Toolbox import Startup 36 from eric7.Toolbox import Startup
38 37
39 38
40 def createMainWidget(argv): 39 def createMainWidget(argv):
41 """ 40 """

eric ide

mercurial