3 |
3 |
4 # Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> |
5 # |
5 # |
6 |
6 |
7 """ |
7 """ |
8 Eric4 TR Previewer |
8 Eric5 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 """ |
50 options = [\ |
50 options = [\ |
51 ("--config=configDir", |
51 ("--config=configDir", |
52 "use the given directory as the one containing the config files"), |
52 "use the given directory as the one containing the config files"), |
53 ] |
53 ] |
54 appinfo = Startup.makeAppInfo(sys.argv, |
54 appinfo = Startup.makeAppInfo(sys.argv, |
55 "Eric4 TR Previewer", |
55 "Eric5 TR Previewer", |
56 "file", |
56 "file", |
57 "TR file previewer", |
57 "TR file previewer", |
58 options) |
58 options) |
59 |
59 |
60 client = TRSingleApplicationClient() |
60 client = TRSingleApplicationClient() |