--- a/src/eric7/Documentation/Source/eric7.Sessions.CrashedSessionsSelectionDialog.html Sun Apr 06 11:01:28 2025 +0200 +++ b/src/eric7/Documentation/Source/eric7.Sessions.CrashedSessionsSelectionDialog.html Sun Apr 06 14:51:33 2025 +0200 @@ -60,13 +60,21 @@ <td>Private method to read the given session file and add a list entry for it.</td> </tr> <tr> -<td><a href="#CrashedSessionsSelectionDialog.__updateOk">__updateOk</a></td> -<td>Private method to update the enabled state of the OK button.</td> +<td><a href="#CrashedSessionsSelectionDialog.__updateButtonStates">__updateButtonStates</a></td> +<td>Private method to update the enabled state of the buttons.</td> </tr> <tr> <td><a href="#CrashedSessionsSelectionDialog.getSelectedCrashSession">getSelectedCrashSession</a></td> <td>Public method to get the selected crash session file name.</td> </tr> +<tr> +<td><a href="#CrashedSessionsSelectionDialog.getSelectedCrashSessions">getSelectedCrashSessions</a></td> +<td>Public method to get the selected crash session file names.</td> +</tr> +<tr> +<td><a href="#CrashedSessionsSelectionDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> +<td>Private slot to remove the selected crash session files.</td> +</tr> </table> <h3>Static Methods</h3> @@ -77,7 +85,7 @@ <a NAME="CrashedSessionsSelectionDialog.__init__" ID="CrashedSessionsSelectionDialog.__init__"></a> <h4>CrashedSessionsSelectionDialog (Constructor)</h4> -<b>CrashedSessionsSelectionDialog</b>(<i>sessionFiles, parent=None</i>) +<b>CrashedSessionsSelectionDialog</b>(<i>sessionFiles, deleteMode=False, parent=None</i>) <p> Constructor </p> @@ -88,6 +96,10 @@ <dd> list of crash session file names </dd> +<dt><i>deleteMode</i> (bool (optional))</dt> +<dd> +flag indicating the delete mode (defaults to False) +</dd> <dt><i>parent</i> (QWidget (optional))</dt> <dd> reference to the parent widget (defaults to None) @@ -107,11 +119,11 @@ file name of the session to be read </dd> </dl> -<a NAME="CrashedSessionsSelectionDialog.__updateOk" ID="CrashedSessionsSelectionDialog.__updateOk"></a> -<h4>CrashedSessionsSelectionDialog.__updateOk</h4> -<b>__updateOk</b>(<i></i>) +<a NAME="CrashedSessionsSelectionDialog.__updateButtonStates" ID="CrashedSessionsSelectionDialog.__updateButtonStates"></a> +<h4>CrashedSessionsSelectionDialog.__updateButtonStates</h4> +<b>__updateButtonStates</b>(<i></i>) <p> - Private method to update the enabled state of the OK button. + Private method to update the enabled state of the buttons. </p> <a NAME="CrashedSessionsSelectionDialog.getSelectedCrashSession" ID="CrashedSessionsSelectionDialog.getSelectedCrashSession"></a> @@ -133,6 +145,32 @@ str </dd> </dl> +<a NAME="CrashedSessionsSelectionDialog.getSelectedCrashSessions" ID="CrashedSessionsSelectionDialog.getSelectedCrashSessions"></a> +<h4>CrashedSessionsSelectionDialog.getSelectedCrashSessions</h4> +<b>getSelectedCrashSessions</b>(<i></i>) +<p> + Public method to get the selected crash session file names. +</p> + +<dl> +<dt>Return:</dt> +<dd> +file names of the selected crash sessions +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> +<a NAME="CrashedSessionsSelectionDialog.on_removeButton_clicked" ID="CrashedSessionsSelectionDialog.on_removeButton_clicked"></a> +<h4>CrashedSessionsSelectionDialog.on_removeButton_clicked</h4> +<b>on_removeButton_clicked</b>(<i></i>) +<p> + Private slot to remove the selected crash session files. +</p> + <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>