--- a/eric6/Documentation/Source/eric6.E5Gui.E5MessageBox.html Thu Mar 04 17:48:09 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5MessageBox.html Thu Mar 04 19:39:54 2021 +0100 @@ -113,7 +113,7 @@ <a NAME="E5MessageBox.__init__" ID="E5MessageBox.__init__"></a> <h4>E5MessageBox (Constructor)</h4> -<b>E5MessageBox</b>(<i>icon, title, text, modal=False, buttons=QMessageBox.NoButton, parent=None</i>) +<b>E5MessageBox</b>(<i>icon, title, text, modal=False, buttons=QMessageBox.StandardButton.NoButton, parent=None</i>) <p> Constructor @@ -150,7 +150,7 @@ <hr /> <a NAME="__messageBox" ID="__messageBox"></a> <h2>__messageBox</h2> -<b>__messageBox</b>(<i>parent, title, text, icon, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton, textFormat=Qt.AutoText</i>) +<b>__messageBox</b>(<i>parent, title, text, icon, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton, textFormat=Qt.TextFormat.AutoText</i>) <p> Private module function to show a modal message box. @@ -199,7 +199,7 @@ <hr /> <a NAME="critical" ID="critical"></a> <h2>critical</h2> -<b>critical</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>critical</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal critical message box. @@ -240,7 +240,7 @@ <hr /> <a NAME="information" ID="information"></a> <h2>information</h2> -<b>information</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>information</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal information message box. @@ -281,7 +281,7 @@ <hr /> <a NAME="okToClearData" ID="okToClearData"></a> <h2>okToClearData</h2> -<b>okToClearData</b>(<i>parent, title, text, saveFunc, textFormat=Qt.AutoText</i>) +<b>okToClearData</b>(<i>parent, title, text, saveFunc, textFormat=Qt.TextFormat.AutoText</i>) <p> Function to show a model message box to ask for clearing the data. @@ -321,7 +321,7 @@ <hr /> <a NAME="question" ID="question"></a> <h2>question</h2> -<b>question</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>question</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal question message box. @@ -362,7 +362,7 @@ <hr /> <a NAME="retryAbort" ID="retryAbort"></a> <h2>retryAbort</h2> -<b>retryAbort</b>(<i>parent, title, text, icon=Question, textFormat=Qt.AutoText</i>) +<b>retryAbort</b>(<i>parent, title, text, icon=Question, textFormat=Qt.TextFormat.AutoText</i>) <p> Function to show a model abort/retry message box. @@ -409,7 +409,7 @@ <hr /> <a NAME="warning" ID="warning"></a> <h2>warning</h2> -<b>warning</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>warning</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal warning message box. @@ -450,7 +450,7 @@ <hr /> <a NAME="yesNo" ID="yesNo"></a> <h2>yesNo</h2> -<b>yesNo</b>(<i>parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.AutoText</i>) +<b>yesNo</b>(<i>parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.TextFormat.AutoText</i>) <p> Function to show a model yes/no message box.