--- a/Documentation/Source/eric6.HexEdit.HexEditMainWindow.html Sat Jan 23 18:13:25 2016 +0100 +++ b/Documentation/Source/eric6.HexEdit.HexEditMainWindow.html Sun Jan 24 16:03:00 2016 +0100 @@ -54,7 +54,7 @@ E5MainWindow <h3>Class Attributes</h3> <table> -<tr><td>windows</td></tr> +<tr><td>maxMenuFilePathLen</td></tr><tr><td>windows</td></tr> </table> <h3>Class Methods</h3> <table> @@ -72,9 +72,15 @@ <td><a href="#HexEditMainWindow.__aboutQt">__aboutQt</a></td> <td>Private slot to handle the About Qt dialog.</td> </tr><tr> +<td><a href="#HexEditMainWindow.__addToRecentList">__addToRecentList</a></td> +<td>Private method to add a file name to the list of recently opened files.</td> +</tr><tr> <td><a href="#HexEditMainWindow.__checkActions">__checkActions</a></td> <td>Private slot to check some actions for their enable/disable status.</td> </tr><tr> +<td><a href="#HexEditMainWindow.__clearRecent">__clearRecent</a></td> +<td>Private method to clear the list of recently opened files.</td> +</tr><tr> <td><a href="#HexEditMainWindow.__closeAll">__closeAll</a></td> <td>Private slot to close all windows.</td> </tr><tr> @@ -111,6 +117,9 @@ <td><a href="#HexEditMainWindow.__loadHexFile">__loadHexFile</a></td> <td>Private method to load a binary file.</td> </tr><tr> +<td><a href="#HexEditMainWindow.__loadRecent">__loadRecent</a></td> +<td>Private method to load the list of recently opened files.</td> +</tr><tr> <td><a href="#HexEditMainWindow.__maybeSave">__maybeSave</a></td> <td>Private method to ask the user to save the file, if it was modified.</td> </tr><tr> @@ -126,6 +135,9 @@ <td><a href="#HexEditMainWindow.__openHexFileReadOnly">__openHexFileReadOnly</a></td> <td>Private slot to open a binary file in read only mode.</td> </tr><tr> +<td><a href="#HexEditMainWindow.__openRecentHexFile">__openRecentHexFile</a></td> +<td>Private method to open a file from the list of recently opened files.</td> +</tr><tr> <td><a href="#HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog">__preferencesChangedByLocalPreferencesDialog</a></td> <td>Private slot to handle preferences changes by our local dialog.</td> </tr><tr> @@ -144,6 +156,9 @@ <td><a href="#HexEditMainWindow.__saveHexFileReadable">__saveHexFileReadable</a></td> <td>Private method to save the binary data in readable format.</td> </tr><tr> +<td><a href="#HexEditMainWindow.__saveRecent">__saveRecent</a></td> +<td>Private method to save the list of recently opened files.</td> +</tr><tr> <td><a href="#HexEditMainWindow.__saveSelectionReadable">__saveSelectionReadable</a></td> <td>Private method to save the data of the current selection in readable format.</td> </tr><tr> @@ -162,12 +177,18 @@ <td><a href="#HexEditMainWindow.__showEditMode">__showEditMode</a></td> <td>Private slot to show the edit mode.</td> </tr><tr> +<td><a href="#HexEditMainWindow.__showFileMenu">__showFileMenu</a></td> +<td>Private slot to modify the file menu before being shown.</td> +</tr><tr> <td><a href="#HexEditMainWindow.__showPreferences">__showPreferences</a></td> <td>Private slot to set the preferences.</td> </tr><tr> <td><a href="#HexEditMainWindow.__showReadOnlyMode">__showReadOnlyMode</a></td> <td>Private slot to show the read only mode.</td> </tr><tr> +<td><a href="#HexEditMainWindow.__showRecentMenu">__showRecentMenu</a></td> +<td>Private slot to set up the recent files menu.</td> +</tr><tr> <td><a href="#HexEditMainWindow.__showSelectionInfo">__showSelectionInfo</a></td> <td>Private slot to show selection information.</td> </tr><tr> @@ -233,11 +254,26 @@ <b>__aboutQt</b>(<i></i>) <p> Private slot to handle the About Qt dialog. -</p><a NAME="HexEditMainWindow.__checkActions" ID="HexEditMainWindow.__checkActions"></a> +</p><a NAME="HexEditMainWindow.__addToRecentList" ID="HexEditMainWindow.__addToRecentList"></a> +<h4>HexEditMainWindow.__addToRecentList</h4> +<b>__addToRecentList</b>(<i>fileName</i>) +<p> + Private method to add a file name to the list of recently opened files. +</p><dl> +<dt><i>fileName</i></dt> +<dd> +name of the file to be added +</dd> +</dl><a NAME="HexEditMainWindow.__checkActions" ID="HexEditMainWindow.__checkActions"></a> <h4>HexEditMainWindow.__checkActions</h4> <b>__checkActions</b>(<i></i>) <p> Private slot to check some actions for their enable/disable status. +</p><a NAME="HexEditMainWindow.__clearRecent" ID="HexEditMainWindow.__clearRecent"></a> +<h4>HexEditMainWindow.__clearRecent</h4> +<b>__clearRecent</b>(<i></i>) +<p> + Private method to clear the list of recently opened files. </p><a NAME="HexEditMainWindow.__closeAll" ID="HexEditMainWindow.__closeAll"></a> <h4>HexEditMainWindow.__closeAll</h4> <b>__closeAll</b>(<i></i>) @@ -303,7 +339,12 @@ <dd> name of the binary file to load </dd> -</dl><a NAME="HexEditMainWindow.__maybeSave" ID="HexEditMainWindow.__maybeSave"></a> +</dl><a NAME="HexEditMainWindow.__loadRecent" ID="HexEditMainWindow.__loadRecent"></a> +<h4>HexEditMainWindow.__loadRecent</h4> +<b>__loadRecent</b>(<i></i>) +<p> + Private method to load the list of recently opened files. +</p><a NAME="HexEditMainWindow.__maybeSave" ID="HexEditMainWindow.__maybeSave"></a> <h4>HexEditMainWindow.__maybeSave</h4> <b>__maybeSave</b>(<i></i>) <p> @@ -343,7 +384,17 @@ <b>__openHexFileReadOnly</b>(<i></i>) <p> Private slot to open a binary file in read only mode. -</p><a NAME="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog" ID="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog"></a> +</p><a NAME="HexEditMainWindow.__openRecentHexFile" ID="HexEditMainWindow.__openRecentHexFile"></a> +<h4>HexEditMainWindow.__openRecentHexFile</h4> +<b>__openRecentHexFile</b>(<i>act</i>) +<p> + Private method to open a file from the list of recently opened files. +</p><dl> +<dt><i>act</i></dt> +<dd> +reference to the action that triggered (QAction) +</dd> +</dl><a NAME="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog" ID="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog"></a> <h4>HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog</h4> <b>__preferencesChangedByLocalPreferencesDialog</b>(<i></i>) <p> @@ -413,7 +464,12 @@ <dd> flag indicating to save the selection only </dd> -</dl><a NAME="HexEditMainWindow.__saveSelectionReadable" ID="HexEditMainWindow.__saveSelectionReadable"></a> +</dl><a NAME="HexEditMainWindow.__saveRecent" ID="HexEditMainWindow.__saveRecent"></a> +<h4>HexEditMainWindow.__saveRecent</h4> +<b>__saveRecent</b>(<i></i>) +<p> + Private method to save the list of recently opened files. +</p><a NAME="HexEditMainWindow.__saveSelectionReadable" ID="HexEditMainWindow.__saveSelectionReadable"></a> <h4>HexEditMainWindow.__saveSelectionReadable</h4> <b>__saveSelectionReadable</b>(<i></i>) <p> @@ -460,7 +516,12 @@ <dd> flag indicating overwrite mode </dd> -</dl><a NAME="HexEditMainWindow.__showPreferences" ID="HexEditMainWindow.__showPreferences"></a> +</dl><a NAME="HexEditMainWindow.__showFileMenu" ID="HexEditMainWindow.__showFileMenu"></a> +<h4>HexEditMainWindow.__showFileMenu</h4> +<b>__showFileMenu</b>(<i></i>) +<p> + Private slot to modify the file menu before being shown. +</p><a NAME="HexEditMainWindow.__showPreferences" ID="HexEditMainWindow.__showPreferences"></a> <h4>HexEditMainWindow.__showPreferences</h4> <b>__showPreferences</b>(<i></i>) <p> @@ -475,7 +536,12 @@ <dd> flag indicating the read only state </dd> -</dl><a NAME="HexEditMainWindow.__showSelectionInfo" ID="HexEditMainWindow.__showSelectionInfo"></a> +</dl><a NAME="HexEditMainWindow.__showRecentMenu" ID="HexEditMainWindow.__showRecentMenu"></a> +<h4>HexEditMainWindow.__showRecentMenu</h4> +<b>__showRecentMenu</b>(<i></i>) +<p> + Private slot to set up the recent files menu. +</p><a NAME="HexEditMainWindow.__showSelectionInfo" ID="HexEditMainWindow.__showSelectionInfo"></a> <h4>HexEditMainWindow.__showSelectionInfo</h4> <b>__showSelectionInfo</b>(<i>avail</i>) <p>