eric5.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2677
3d4277929fb3
parent 2683
ef93fc7332a2
child 2847
1843ef6e2656
equal deleted inserted replaced
2790:6686a3326df8 2791:a9577f248f04
28 import traceback 28 import traceback
29 import time 29 import time
30 import logging 30 import logging
31 31
32 from PyQt4.QtCore import qWarning, QLibraryInfo, QTimer 32 from PyQt4.QtCore import qWarning, QLibraryInfo, QTimer
33 from PyQt4.QtGui import QApplication, QErrorMessage 33 from PyQt4.QtGui import QApplication
34 34
35 # some global variables needed to start the application 35 # some global variables needed to start the application
36 args = None 36 args = None
37 mainWindow = None 37 mainWindow = None
38 splash = None 38 splash = None
262 mainWindow.show() 262 mainWindow.show()
263 263
264 QTimer.singleShot(0, uiStartUp) 264 QTimer.singleShot(0, uiStartUp)
265 265
266 # generate a graphical error handler 266 # generate a graphical error handler
267 eMsg = QErrorMessage.qtHandler() 267 from E5Gui import E5ErrorMessage
268 eMsg = E5ErrorMessage.qtHandler()
268 eMsg.setMinimumSize(600, 400) 269 eMsg.setMinimumSize(600, 400)
269 270
270 # start the event loop 271 # start the event loop
271 res = app.exec_() 272 res = app.exec_()
272 logging.debug("Shutting down, result {0:d}".format(res)) 273 logging.debug("Shutting down, result {0:d}".format(res))

eric ide

mercurial