eric5-iconeditor.py

changeset 97
c4086afea02b
parent 18
3b1f5d872fd7
child 791
9ec2ac20e54e
equal deleted inserted replaced
96:9624a110667d 97:c4086afea02b
11 of the icon editor and starts the Qt event loop. This is a standalone version 11 of the icon editor and starts the Qt event loop. This is a standalone version
12 of the integrated icon editor. 12 of the integrated icon editor.
13 """ 13 """
14 14
15 import sys 15 import sys
16 import os
17 16
18 for arg in sys.argv: 17 for arg in sys.argv:
19 if arg.startswith("--config="): 18 if arg.startswith("--config="):
20 import Utilities 19 import Utilities
21 configDir = arg.replace("--config=", "") 20 configDir = arg.replace("--config=", "")
22 Utilities.setConfigDir(configDir) 21 Utilities.setConfigDir(configDir)
23 sys.argv.remove(arg) 22 sys.argv.remove(arg)
24 break 23 break
25 24
26 from Utilities import Startup 25 from Utilities import Startup
27 import Utilities
28 26
29 def createMainWidget(argv): 27 def createMainWidget(argv):
30 """ 28 """
31 Function to create the main widget. 29 Function to create the main widget.
32 30

eric ide

mercurial