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 TR Previewer. |
8 Eric6 TR 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 tr previewer and starts the Qt event loop. This is a standalone version |
11 of the tr previewer and starts the Qt event loop. This is a standalone version |
12 of the integrated tr previewer. |
12 of the integrated tr previewer. |
13 """ |
13 """ |
61 options = [ |
61 options = [ |
62 ("--config=configDir", |
62 ("--config=configDir", |
63 "use the given directory as the one containing the config files"), |
63 "use the given directory as the one containing the config files"), |
64 ] |
64 ] |
65 appinfo = AppInfo.makeAppInfo(sys.argv, |
65 appinfo = AppInfo.makeAppInfo(sys.argv, |
66 "Eric5 TR Previewer", |
66 "Eric6 TR Previewer", |
67 "file", |
67 "file", |
68 "TR file previewer", |
68 "TR file previewer", |
69 options) |
69 options) |
70 |
70 |
71 app = E5Application(sys.argv) |
71 app = E5Application(sys.argv) |