eric6/Documentation/Source/eric6.E5Gui.E5MessageBox.html

changeset 8152
0c740fcffd34
parent 7989
a21d673a8f99
equal deleted inserted replaced
8151:8c1445825e7b 8152:0c740fcffd34
111 <tr><td>None</td></tr> 111 <tr><td>None</td></tr>
112 </table> 112 </table>
113 113
114 <a NAME="E5MessageBox.__init__" ID="E5MessageBox.__init__"></a> 114 <a NAME="E5MessageBox.__init__" ID="E5MessageBox.__init__"></a>
115 <h4>E5MessageBox (Constructor)</h4> 115 <h4>E5MessageBox (Constructor)</h4>
116 <b>E5MessageBox</b>(<i>icon, title, text, modal=False, buttons=QMessageBox.NoButton, parent=None</i>) 116 <b>E5MessageBox</b>(<i>icon, title, text, modal=False, buttons=QMessageBox.StandardButton.NoButton, parent=None</i>)
117 117
118 <p> 118 <p>
119 Constructor 119 Constructor
120 </p> 120 </p>
121 <dl> 121 <dl>
148 <div align="right"><a href="#top">Up</a></div> 148 <div align="right"><a href="#top">Up</a></div>
149 <hr /> 149 <hr />
150 <hr /> 150 <hr />
151 <a NAME="__messageBox" ID="__messageBox"></a> 151 <a NAME="__messageBox" ID="__messageBox"></a>
152 <h2>__messageBox</h2> 152 <h2>__messageBox</h2>
153 <b>__messageBox</b>(<i>parent, title, text, icon, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton, textFormat=Qt.AutoText</i>) 153 <b>__messageBox</b>(<i>parent, title, text, icon, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton, textFormat=Qt.TextFormat.AutoText</i>)
154 154
155 <p> 155 <p>
156 Private module function to show a modal message box. 156 Private module function to show a modal message box.
157 </p> 157 </p>
158 <dl> 158 <dl>
197 <div align="right"><a href="#top">Up</a></div> 197 <div align="right"><a href="#top">Up</a></div>
198 <hr /> 198 <hr />
199 <hr /> 199 <hr />
200 <a NAME="critical" ID="critical"></a> 200 <a NAME="critical" ID="critical"></a>
201 <h2>critical</h2> 201 <h2>critical</h2>
202 <b>critical</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) 202 <b>critical</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>)
203 203
204 <p> 204 <p>
205 Function to show a modal critical message box. 205 Function to show a modal critical message box.
206 </p> 206 </p>
207 <dl> 207 <dl>
238 <div align="right"><a href="#top">Up</a></div> 238 <div align="right"><a href="#top">Up</a></div>
239 <hr /> 239 <hr />
240 <hr /> 240 <hr />
241 <a NAME="information" ID="information"></a> 241 <a NAME="information" ID="information"></a>
242 <h2>information</h2> 242 <h2>information</h2>
243 <b>information</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) 243 <b>information</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>)
244 244
245 <p> 245 <p>
246 Function to show a modal information message box. 246 Function to show a modal information message box.
247 </p> 247 </p>
248 <dl> 248 <dl>
279 <div align="right"><a href="#top">Up</a></div> 279 <div align="right"><a href="#top">Up</a></div>
280 <hr /> 280 <hr />
281 <hr /> 281 <hr />
282 <a NAME="okToClearData" ID="okToClearData"></a> 282 <a NAME="okToClearData" ID="okToClearData"></a>
283 <h2>okToClearData</h2> 283 <h2>okToClearData</h2>
284 <b>okToClearData</b>(<i>parent, title, text, saveFunc, textFormat=Qt.AutoText</i>) 284 <b>okToClearData</b>(<i>parent, title, text, saveFunc, textFormat=Qt.TextFormat.AutoText</i>)
285 285
286 <p> 286 <p>
287 Function to show a model message box to ask for clearing the data. 287 Function to show a model message box to ask for clearing the data.
288 </p> 288 </p>
289 <dl> 289 <dl>
319 <div align="right"><a href="#top">Up</a></div> 319 <div align="right"><a href="#top">Up</a></div>
320 <hr /> 320 <hr />
321 <hr /> 321 <hr />
322 <a NAME="question" ID="question"></a> 322 <a NAME="question" ID="question"></a>
323 <h2>question</h2> 323 <h2>question</h2>
324 <b>question</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) 324 <b>question</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>)
325 325
326 <p> 326 <p>
327 Function to show a modal question message box. 327 Function to show a modal question message box.
328 </p> 328 </p>
329 <dl> 329 <dl>
360 <div align="right"><a href="#top">Up</a></div> 360 <div align="right"><a href="#top">Up</a></div>
361 <hr /> 361 <hr />
362 <hr /> 362 <hr />
363 <a NAME="retryAbort" ID="retryAbort"></a> 363 <a NAME="retryAbort" ID="retryAbort"></a>
364 <h2>retryAbort</h2> 364 <h2>retryAbort</h2>
365 <b>retryAbort</b>(<i>parent, title, text, icon=Question, textFormat=Qt.AutoText</i>) 365 <b>retryAbort</b>(<i>parent, title, text, icon=Question, textFormat=Qt.TextFormat.AutoText</i>)
366 366
367 <p> 367 <p>
368 Function to show a model abort/retry message box. 368 Function to show a model abort/retry message box.
369 </p> 369 </p>
370 <dl> 370 <dl>
407 <div align="right"><a href="#top">Up</a></div> 407 <div align="right"><a href="#top">Up</a></div>
408 <hr /> 408 <hr />
409 <hr /> 409 <hr />
410 <a NAME="warning" ID="warning"></a> 410 <a NAME="warning" ID="warning"></a>
411 <h2>warning</h2> 411 <h2>warning</h2>
412 <b>warning</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) 412 <b>warning</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>)
413 413
414 <p> 414 <p>
415 Function to show a modal warning message box. 415 Function to show a modal warning message box.
416 </p> 416 </p>
417 <dl> 417 <dl>
448 <div align="right"><a href="#top">Up</a></div> 448 <div align="right"><a href="#top">Up</a></div>
449 <hr /> 449 <hr />
450 <hr /> 450 <hr />
451 <a NAME="yesNo" ID="yesNo"></a> 451 <a NAME="yesNo" ID="yesNo"></a>
452 <h2>yesNo</h2> 452 <h2>yesNo</h2>
453 <b>yesNo</b>(<i>parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.AutoText</i>) 453 <b>yesNo</b>(<i>parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.TextFormat.AutoText</i>)
454 454
455 <p> 455 <p>
456 Function to show a model yes/no message box. 456 Function to show a model yes/no message box.
457 </p> 457 </p>
458 <dl> 458 <dl>

eric ide

mercurial