3 |
3 |
4 # Copyright (c) 2004 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # Copyright (c) 2004 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> |
5 # |
5 # |
6 |
6 |
7 """ |
7 """ |
8 Eric5 UI Previewer. |
8 Eric6 UI Previewer. |
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 ui previewer and starts the Qt event loop. This is a standalone version |
11 of the ui previewer and starts the Qt event loop. This is a standalone version |
12 of the integrated ui previewer. |
12 of the integrated ui previewer. |
13 """ |
13 """ |
58 options = [ |
58 options = [ |
59 ("--config=configDir", |
59 ("--config=configDir", |
60 "use the given directory as the one containing the config files"), |
60 "use the given directory as the one containing the config files"), |
61 ] |
61 ] |
62 appinfo = AppInfo.makeAppInfo(sys.argv, |
62 appinfo = AppInfo.makeAppInfo(sys.argv, |
63 "Eric5 UI Previewer", |
63 "Eric6 UI Previewer", |
64 "file", |
64 "file", |
65 "UI file previewer", |
65 "UI file previewer", |
66 options) |
66 options) |
67 res = Startup.simpleAppStartup(sys.argv, |
67 res = Startup.simpleAppStartup(sys.argv, |
68 appinfo, |
68 appinfo, |