223 app=None, raiseIt=True, installErrorHandler=False): |
223 app=None, raiseIt=True, installErrorHandler=False): |
224 """ |
224 """ |
225 Module function to start up an application that doesn't need a specialized |
225 Module function to start up an application that doesn't need a specialized |
226 start up. |
226 start up. |
227 |
227 |
228 This function is used by all of eric6's helper programs. |
228 This function is used by all of eric's helper programs. |
229 |
229 |
230 @param argv list of commandline parameters (list of strings) |
230 @param argv list of commandline parameters (list of strings) |
231 @param appinfo dictionary describing the application |
231 @param appinfo dictionary describing the application |
232 @param mwFactory factory function generating the main widget. This |
232 @param mwFactory factory function generating the main widget. This |
233 function must accept the following parameter. |
233 function must accept the following parameter. |
234 <dl> |
234 <dl> |
235 <dt>argv</dt> |
235 <dt>argv</dt> |
236 <dd>list of commandline parameters (list of strings)</dd> |
236 <dd>list of commandline parameters (list of strings)</dd> |
237 </dl> |
237 </dl> |
238 @keyparam quitOnLastWindowClosed flag indicating to quit the application, |
238 @param quitOnLastWindowClosed flag indicating to quit the application, |
239 if the last window was closed (boolean) |
239 if the last window was closed (boolean) |
240 @keyparam app reference to the application object (QApplication or None) |
240 @param app reference to the application object (QApplication or None) |
241 @keyparam raiseIt flag indicating to raise the generated application |
241 @param raiseIt flag indicating to raise the generated application |
242 window (boolean) |
242 window (boolean) |
243 @keyparam installErrorHandler flag indicating to install an error |
243 @param installErrorHandler flag indicating to install an error |
244 handler dialog (boolean) |
244 handler dialog (boolean) |
245 @return exit result (integer) |
245 @return exit result (integer) |
246 """ |
246 """ |
247 global application |
247 global application |
248 |
248 |