3 |
3 |
4 # Copyright (c) 2007 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # Copyright (c) 2007 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> |
5 # |
5 # |
6 |
6 |
7 """ |
7 """ |
8 Eric6 Editor. |
8 eric Editor. |
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 MiniEditor module and starts the Qt event loop. This is a standalone |
11 of the MiniEditor module and starts the Qt event loop. This is a standalone |
12 version of the integrated MiniEditor module. |
12 version of the integrated MiniEditor module. |
13 """ |
13 """ |
70 ("--settings=settingsDir", |
70 ("--settings=settingsDir", |
71 "use the given directory to store the settings files"), |
71 "use the given directory to store the settings files"), |
72 ("", "name of file to edit") |
72 ("", "name of file to edit") |
73 ] |
73 ] |
74 appinfo = AppInfo.makeAppInfo(sys.argv, |
74 appinfo = AppInfo.makeAppInfo(sys.argv, |
75 "Eric6 Editor", |
75 "eric Editor", |
76 "", |
76 "", |
77 "Simplified version of the eric6 editor", |
77 "Simplified version of the eric editor", |
78 options) |
78 options) |
79 res = Startup.simpleAppStartup(sys.argv, |
79 res = Startup.simpleAppStartup(sys.argv, |
80 appinfo, |
80 appinfo, |
81 createMainWidget) |
81 createMainWidget) |
82 sys.exit(res) |
82 sys.exit(res) |