src/eric7/Toolbox/Startup.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9624
b47dfa7a137d
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
271 app = EricApplication(argv) 271 app = EricApplication(argv)
272 application = app 272 application = app
273 app.setQuitOnLastWindowClosed(quitOnLastWindowClosed) 273 app.setQuitOnLastWindowClosed(quitOnLastWindowClosed)
274 274
275 # the following code depends upon a valid application object 275 # the following code depends upon a valid application object
276 from eric7 import Preferences 276 from eric7 import Preferences # __IGNORE_WARNING_I101__
277 277
278 # set the application style sheet 278 # set the application style sheet
279 app.setStyleSheetFile(Preferences.getUI("StyleSheet")) 279 app.setStyleSheetFile(Preferences.getUI("StyleSheet"))
280 280
281 initializeResourceSearchPath(app) 281 initializeResourceSearchPath(app)
297 if raiseIt: 297 if raiseIt:
298 w.raise_() 298 w.raise_()
299 299
300 if installErrorHandler: 300 if installErrorHandler:
301 # generate a graphical error handler 301 # generate a graphical error handler
302 from eric7.EricWidgets import EricErrorMessage 302 from eric7.EricWidgets import EricErrorMessage # __IGNORE_WARNING_I101__
303 303
304 eMsg = EricErrorMessage.qtHandler() 304 eMsg = EricErrorMessage.qtHandler()
305 eMsg.setMinimumSize(600, 400) 305 eMsg.setMinimumSize(600, 400)
306 306
307 return app.exec() 307 return app.exec()

eric ide

mercurial