eric6_trpreviewer.py

branch
maintenance
changeset 6826
c6dda2cbe081
parent 6702
793af5761910
equal deleted inserted replaced
6764:d14ddbfbbd36 6826:c6dda2cbe081
44 from Tools.TRSingleApplication import TRSingleApplicationClient 44 from Tools.TRSingleApplication import TRSingleApplicationClient
45 from Globals import AppInfo 45 from Globals import AppInfo
46 46
47 from Toolbox import Startup 47 from Toolbox import Startup
48 48
49 app = None
50
49 51
50 def createMainWidget(argv): 52 def createMainWidget(argv):
51 """ 53 """
52 Function to create the main widget. 54 Function to create the main widget.
53 55
67 69
68 def main(): 70 def main():
69 """ 71 """
70 Main entry point into the application. 72 Main entry point into the application.
71 """ 73 """
74 global app
75
72 options = [ 76 options = [
73 ("--config=configDir", 77 ("--config=configDir",
74 "use the given directory as the one containing the config files"), 78 "use the given directory as the one containing the config files"),
75 ("--settings=settingsDir", 79 ("--settings=settingsDir",
76 "use the given directory to store the settings files"), 80 "use the given directory to store the settings files"),

eric ide

mercurial