182 </p> |
182 </p> |
183 <div align="right"><a href="#top">Up</a></div> |
183 <div align="right"><a href="#top">Up</a></div> |
184 <hr /><hr /> |
184 <hr /><hr /> |
185 <a NAME="simpleAppStartup" ID="simpleAppStartup"></a> |
185 <a NAME="simpleAppStartup" ID="simpleAppStartup"></a> |
186 <h2>simpleAppStartup</h2> |
186 <h2>simpleAppStartup</h2> |
187 <b>simpleAppStartup</b>(<i>argv, appinfo, mwFactory, quitOnLastWindowClosed = True</i>) |
187 <b>simpleAppStartup</b>(<i>argv, appinfo, mwFactory, quitOnLastWindowClosed = True, app = None</i>) |
188 <p> |
188 <p> |
189 Module function to start up an application that doesn't need a specialized start up. |
189 Module function to start up an application that doesn't need a specialized start up. |
190 </p><p> |
190 </p><p> |
191 This function is used by all of eric5's helper programs. |
191 This function is used by all of eric5's helper programs. |
192 </p><dl> |
192 </p><dl> |
206 </dl> |
206 </dl> |
207 </dd><dt><i>quitOnLastWindowClosed=</i></dt> |
207 </dd><dt><i>quitOnLastWindowClosed=</i></dt> |
208 <dd> |
208 <dd> |
209 flag indicating to quit the application, |
209 flag indicating to quit the application, |
210 if the last window was closed (boolean) |
210 if the last window was closed (boolean) |
|
211 </dd><dt><i>app=</i></dt> |
|
212 <dd> |
|
213 reference to the application object (QApplication or None) |
211 </dd> |
214 </dd> |
212 </dl> |
215 </dl> |
213 <div align="right"><a href="#top">Up</a></div> |
216 <div align="right"><a href="#top">Up</a></div> |
214 <hr /><hr /> |
217 <hr /><hr /> |
215 <a NAME="usage" ID="usage"></a> |
218 <a NAME="usage" ID="usage"></a> |