70 <td>Private slot to show a little About message.</td> |
70 <td>Private slot to show a little About message.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#HexEditMainWindow.__aboutQt">__aboutQt</a></td> |
72 <td><a href="#HexEditMainWindow.__aboutQt">__aboutQt</a></td> |
73 <td>Private slot to handle the About Qt dialog.</td> |
73 <td>Private slot to handle the About Qt dialog.</td> |
74 </tr><tr> |
74 </tr><tr> |
|
75 <td><a href="#HexEditMainWindow.__addToRecentList">__addToRecentList</a></td> |
|
76 <td>Private method to add a file name to the list of recently opened files.</td> |
|
77 </tr><tr> |
75 <td><a href="#HexEditMainWindow.__checkActions">__checkActions</a></td> |
78 <td><a href="#HexEditMainWindow.__checkActions">__checkActions</a></td> |
76 <td>Private slot to check some actions for their enable/disable status.</td> |
79 <td>Private slot to check some actions for their enable/disable status.</td> |
77 </tr><tr> |
80 </tr><tr> |
|
81 <td><a href="#HexEditMainWindow.__clearRecent">__clearRecent</a></td> |
|
82 <td>Private method to clear the list of recently opened files.</td> |
|
83 </tr><tr> |
78 <td><a href="#HexEditMainWindow.__closeAll">__closeAll</a></td> |
84 <td><a href="#HexEditMainWindow.__closeAll">__closeAll</a></td> |
79 <td>Private slot to close all windows.</td> |
85 <td>Private slot to close all windows.</td> |
80 </tr><tr> |
86 </tr><tr> |
81 <td><a href="#HexEditMainWindow.__closeOthers">__closeOthers</a></td> |
87 <td><a href="#HexEditMainWindow.__closeOthers">__closeOthers</a></td> |
82 <td>Private slot to close all other windows.</td> |
88 <td>Private slot to close all other windows.</td> |
109 <td>Private method to create the toolbars.</td> |
115 <td>Private method to create the toolbars.</td> |
110 </tr><tr> |
116 </tr><tr> |
111 <td><a href="#HexEditMainWindow.__loadHexFile">__loadHexFile</a></td> |
117 <td><a href="#HexEditMainWindow.__loadHexFile">__loadHexFile</a></td> |
112 <td>Private method to load a binary file.</td> |
118 <td>Private method to load a binary file.</td> |
113 </tr><tr> |
119 </tr><tr> |
|
120 <td><a href="#HexEditMainWindow.__loadRecent">__loadRecent</a></td> |
|
121 <td>Private method to load the list of recently opened files.</td> |
|
122 </tr><tr> |
114 <td><a href="#HexEditMainWindow.__maybeSave">__maybeSave</a></td> |
123 <td><a href="#HexEditMainWindow.__maybeSave">__maybeSave</a></td> |
115 <td>Private method to ask the user to save the file, if it was modified.</td> |
124 <td>Private method to ask the user to save the file, if it was modified.</td> |
116 </tr><tr> |
125 </tr><tr> |
117 <td><a href="#HexEditMainWindow.__modificationChanged">__modificationChanged</a></td> |
126 <td><a href="#HexEditMainWindow.__modificationChanged">__modificationChanged</a></td> |
118 <td>Private slot to handle the dataChanged signal.</td> |
127 <td>Private slot to handle the dataChanged signal.</td> |
124 <td>Private slot called to open a binary file in new hex editor window.</td> |
133 <td>Private slot called to open a binary file in new hex editor window.</td> |
125 </tr><tr> |
134 </tr><tr> |
126 <td><a href="#HexEditMainWindow.__openHexFileReadOnly">__openHexFileReadOnly</a></td> |
135 <td><a href="#HexEditMainWindow.__openHexFileReadOnly">__openHexFileReadOnly</a></td> |
127 <td>Private slot to open a binary file in read only mode.</td> |
136 <td>Private slot to open a binary file in read only mode.</td> |
128 </tr><tr> |
137 </tr><tr> |
|
138 <td><a href="#HexEditMainWindow.__openRecentHexFile">__openRecentHexFile</a></td> |
|
139 <td>Private method to open a file from the list of recently opened files.</td> |
|
140 </tr><tr> |
129 <td><a href="#HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog">__preferencesChangedByLocalPreferencesDialog</a></td> |
141 <td><a href="#HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog">__preferencesChangedByLocalPreferencesDialog</a></td> |
130 <td>Private slot to handle preferences changes by our local dialog.</td> |
142 <td>Private slot to handle preferences changes by our local dialog.</td> |
131 </tr><tr> |
143 </tr><tr> |
132 <td><a href="#HexEditMainWindow.__replace">__replace</a></td> |
144 <td><a href="#HexEditMainWindow.__replace">__replace</a></td> |
133 <td>Private method to handle the replace action.</td> |
145 <td>Private method to handle the replace action.</td> |
142 <td>Private method to save the data to a new file.</td> |
154 <td>Private method to save the data to a new file.</td> |
143 </tr><tr> |
155 </tr><tr> |
144 <td><a href="#HexEditMainWindow.__saveHexFileReadable">__saveHexFileReadable</a></td> |
156 <td><a href="#HexEditMainWindow.__saveHexFileReadable">__saveHexFileReadable</a></td> |
145 <td>Private method to save the binary data in readable format.</td> |
157 <td>Private method to save the binary data in readable format.</td> |
146 </tr><tr> |
158 </tr><tr> |
|
159 <td><a href="#HexEditMainWindow.__saveRecent">__saveRecent</a></td> |
|
160 <td>Private method to save the list of recently opened files.</td> |
|
161 </tr><tr> |
147 <td><a href="#HexEditMainWindow.__saveSelectionReadable">__saveSelectionReadable</a></td> |
162 <td><a href="#HexEditMainWindow.__saveSelectionReadable">__saveSelectionReadable</a></td> |
148 <td>Private method to save the data of the current selection in readable format.</td> |
163 <td>Private method to save the data of the current selection in readable format.</td> |
149 </tr><tr> |
164 </tr><tr> |
150 <td><a href="#HexEditMainWindow.__search">__search</a></td> |
165 <td><a href="#HexEditMainWindow.__search">__search</a></td> |
151 <td>Private method to handle the search action.</td> |
166 <td>Private method to handle the search action.</td> |
160 <td>Private slot to show the address of the cursor position.</td> |
175 <td>Private slot to show the address of the cursor position.</td> |
161 </tr><tr> |
176 </tr><tr> |
162 <td><a href="#HexEditMainWindow.__showEditMode">__showEditMode</a></td> |
177 <td><a href="#HexEditMainWindow.__showEditMode">__showEditMode</a></td> |
163 <td>Private slot to show the edit mode.</td> |
178 <td>Private slot to show the edit mode.</td> |
164 </tr><tr> |
179 </tr><tr> |
|
180 <td><a href="#HexEditMainWindow.__showFileMenu">__showFileMenu</a></td> |
|
181 <td>Private slot to modify the file menu before being shown.</td> |
|
182 </tr><tr> |
165 <td><a href="#HexEditMainWindow.__showPreferences">__showPreferences</a></td> |
183 <td><a href="#HexEditMainWindow.__showPreferences">__showPreferences</a></td> |
166 <td>Private slot to set the preferences.</td> |
184 <td>Private slot to set the preferences.</td> |
167 </tr><tr> |
185 </tr><tr> |
168 <td><a href="#HexEditMainWindow.__showReadOnlyMode">__showReadOnlyMode</a></td> |
186 <td><a href="#HexEditMainWindow.__showReadOnlyMode">__showReadOnlyMode</a></td> |
169 <td>Private slot to show the read only mode.</td> |
187 <td>Private slot to show the read only mode.</td> |
|
188 </tr><tr> |
|
189 <td><a href="#HexEditMainWindow.__showRecentMenu">__showRecentMenu</a></td> |
|
190 <td>Private slot to set up the recent files menu.</td> |
170 </tr><tr> |
191 </tr><tr> |
171 <td><a href="#HexEditMainWindow.__showSelectionInfo">__showSelectionInfo</a></td> |
192 <td><a href="#HexEditMainWindow.__showSelectionInfo">__showSelectionInfo</a></td> |
172 <td>Private slot to show selection information.</td> |
193 <td>Private slot to show selection information.</td> |
173 </tr><tr> |
194 </tr><tr> |
174 <td><a href="#HexEditMainWindow.__showSize">__showSize</a></td> |
195 <td><a href="#HexEditMainWindow.__showSize">__showSize</a></td> |
231 </p><a NAME="HexEditMainWindow.__aboutQt" ID="HexEditMainWindow.__aboutQt"></a> |
252 </p><a NAME="HexEditMainWindow.__aboutQt" ID="HexEditMainWindow.__aboutQt"></a> |
232 <h4>HexEditMainWindow.__aboutQt</h4> |
253 <h4>HexEditMainWindow.__aboutQt</h4> |
233 <b>__aboutQt</b>(<i></i>) |
254 <b>__aboutQt</b>(<i></i>) |
234 <p> |
255 <p> |
235 Private slot to handle the About Qt dialog. |
256 Private slot to handle the About Qt dialog. |
236 </p><a NAME="HexEditMainWindow.__checkActions" ID="HexEditMainWindow.__checkActions"></a> |
257 </p><a NAME="HexEditMainWindow.__addToRecentList" ID="HexEditMainWindow.__addToRecentList"></a> |
|
258 <h4>HexEditMainWindow.__addToRecentList</h4> |
|
259 <b>__addToRecentList</b>(<i>fileName</i>) |
|
260 <p> |
|
261 Private method to add a file name to the list of recently opened files. |
|
262 </p><dl> |
|
263 <dt><i>fileName</i></dt> |
|
264 <dd> |
|
265 name of the file to be added |
|
266 </dd> |
|
267 </dl><a NAME="HexEditMainWindow.__checkActions" ID="HexEditMainWindow.__checkActions"></a> |
237 <h4>HexEditMainWindow.__checkActions</h4> |
268 <h4>HexEditMainWindow.__checkActions</h4> |
238 <b>__checkActions</b>(<i></i>) |
269 <b>__checkActions</b>(<i></i>) |
239 <p> |
270 <p> |
240 Private slot to check some actions for their enable/disable status. |
271 Private slot to check some actions for their enable/disable status. |
|
272 </p><a NAME="HexEditMainWindow.__clearRecent" ID="HexEditMainWindow.__clearRecent"></a> |
|
273 <h4>HexEditMainWindow.__clearRecent</h4> |
|
274 <b>__clearRecent</b>(<i></i>) |
|
275 <p> |
|
276 Private method to clear the list of recently opened files. |
241 </p><a NAME="HexEditMainWindow.__closeAll" ID="HexEditMainWindow.__closeAll"></a> |
277 </p><a NAME="HexEditMainWindow.__closeAll" ID="HexEditMainWindow.__closeAll"></a> |
242 <h4>HexEditMainWindow.__closeAll</h4> |
278 <h4>HexEditMainWindow.__closeAll</h4> |
243 <b>__closeAll</b>(<i></i>) |
279 <b>__closeAll</b>(<i></i>) |
244 <p> |
280 <p> |
245 Private slot to close all windows. |
281 Private slot to close all windows. |
301 </p><dl> |
337 </p><dl> |
302 <dt><i>fileName</i> (str)</dt> |
338 <dt><i>fileName</i> (str)</dt> |
303 <dd> |
339 <dd> |
304 name of the binary file to load |
340 name of the binary file to load |
305 </dd> |
341 </dd> |
306 </dl><a NAME="HexEditMainWindow.__maybeSave" ID="HexEditMainWindow.__maybeSave"></a> |
342 </dl><a NAME="HexEditMainWindow.__loadRecent" ID="HexEditMainWindow.__loadRecent"></a> |
|
343 <h4>HexEditMainWindow.__loadRecent</h4> |
|
344 <b>__loadRecent</b>(<i></i>) |
|
345 <p> |
|
346 Private method to load the list of recently opened files. |
|
347 </p><a NAME="HexEditMainWindow.__maybeSave" ID="HexEditMainWindow.__maybeSave"></a> |
307 <h4>HexEditMainWindow.__maybeSave</h4> |
348 <h4>HexEditMainWindow.__maybeSave</h4> |
308 <b>__maybeSave</b>(<i></i>) |
349 <b>__maybeSave</b>(<i></i>) |
309 <p> |
350 <p> |
310 Private method to ask the user to save the file, if it was modified. |
351 Private method to ask the user to save the file, if it was modified. |
311 </p><dl> |
352 </p><dl> |
341 </p><a NAME="HexEditMainWindow.__openHexFileReadOnly" ID="HexEditMainWindow.__openHexFileReadOnly"></a> |
382 </p><a NAME="HexEditMainWindow.__openHexFileReadOnly" ID="HexEditMainWindow.__openHexFileReadOnly"></a> |
342 <h4>HexEditMainWindow.__openHexFileReadOnly</h4> |
383 <h4>HexEditMainWindow.__openHexFileReadOnly</h4> |
343 <b>__openHexFileReadOnly</b>(<i></i>) |
384 <b>__openHexFileReadOnly</b>(<i></i>) |
344 <p> |
385 <p> |
345 Private slot to open a binary file in read only mode. |
386 Private slot to open a binary file in read only mode. |
346 </p><a NAME="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog" ID="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog"></a> |
387 </p><a NAME="HexEditMainWindow.__openRecentHexFile" ID="HexEditMainWindow.__openRecentHexFile"></a> |
|
388 <h4>HexEditMainWindow.__openRecentHexFile</h4> |
|
389 <b>__openRecentHexFile</b>(<i>act</i>) |
|
390 <p> |
|
391 Private method to open a file from the list of recently opened files. |
|
392 </p><dl> |
|
393 <dt><i>act</i></dt> |
|
394 <dd> |
|
395 reference to the action that triggered (QAction) |
|
396 </dd> |
|
397 </dl><a NAME="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog" ID="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog"></a> |
347 <h4>HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog</h4> |
398 <h4>HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog</h4> |
348 <b>__preferencesChangedByLocalPreferencesDialog</b>(<i></i>) |
399 <b>__preferencesChangedByLocalPreferencesDialog</b>(<i></i>) |
349 <p> |
400 <p> |
350 Private slot to handle preferences changes by our local dialog. |
401 Private slot to handle preferences changes by our local dialog. |
351 </p><a NAME="HexEditMainWindow.__replace" ID="HexEditMainWindow.__replace"></a> |
402 </p><a NAME="HexEditMainWindow.__replace" ID="HexEditMainWindow.__replace"></a> |
411 </p><dl> |
462 </p><dl> |
412 <dt><i>selectionOnly</i> (bool)</dt> |
463 <dt><i>selectionOnly</i> (bool)</dt> |
413 <dd> |
464 <dd> |
414 flag indicating to save the selection only |
465 flag indicating to save the selection only |
415 </dd> |
466 </dd> |
416 </dl><a NAME="HexEditMainWindow.__saveSelectionReadable" ID="HexEditMainWindow.__saveSelectionReadable"></a> |
467 </dl><a NAME="HexEditMainWindow.__saveRecent" ID="HexEditMainWindow.__saveRecent"></a> |
|
468 <h4>HexEditMainWindow.__saveRecent</h4> |
|
469 <b>__saveRecent</b>(<i></i>) |
|
470 <p> |
|
471 Private method to save the list of recently opened files. |
|
472 </p><a NAME="HexEditMainWindow.__saveSelectionReadable" ID="HexEditMainWindow.__saveSelectionReadable"></a> |
417 <h4>HexEditMainWindow.__saveSelectionReadable</h4> |
473 <h4>HexEditMainWindow.__saveSelectionReadable</h4> |
418 <b>__saveSelectionReadable</b>(<i></i>) |
474 <b>__saveSelectionReadable</b>(<i></i>) |
419 <p> |
475 <p> |
420 Private method to save the data of the current selection in readable |
476 Private method to save the data of the current selection in readable |
421 format. |
477 format. |
458 </p><dl> |
514 </p><dl> |
459 <dt><i>overwrite</i> (bool)</dt> |
515 <dt><i>overwrite</i> (bool)</dt> |
460 <dd> |
516 <dd> |
461 flag indicating overwrite mode |
517 flag indicating overwrite mode |
462 </dd> |
518 </dd> |
463 </dl><a NAME="HexEditMainWindow.__showPreferences" ID="HexEditMainWindow.__showPreferences"></a> |
519 </dl><a NAME="HexEditMainWindow.__showFileMenu" ID="HexEditMainWindow.__showFileMenu"></a> |
|
520 <h4>HexEditMainWindow.__showFileMenu</h4> |
|
521 <b>__showFileMenu</b>(<i></i>) |
|
522 <p> |
|
523 Private slot to modify the file menu before being shown. |
|
524 </p><a NAME="HexEditMainWindow.__showPreferences" ID="HexEditMainWindow.__showPreferences"></a> |
464 <h4>HexEditMainWindow.__showPreferences</h4> |
525 <h4>HexEditMainWindow.__showPreferences</h4> |
465 <b>__showPreferences</b>(<i></i>) |
526 <b>__showPreferences</b>(<i></i>) |
466 <p> |
527 <p> |
467 Private slot to set the preferences. |
528 Private slot to set the preferences. |
468 </p><a NAME="HexEditMainWindow.__showReadOnlyMode" ID="HexEditMainWindow.__showReadOnlyMode"></a> |
529 </p><a NAME="HexEditMainWindow.__showReadOnlyMode" ID="HexEditMainWindow.__showReadOnlyMode"></a> |
473 </p><dl> |
534 </p><dl> |
474 <dt><i>on</i> (bool)</dt> |
535 <dt><i>on</i> (bool)</dt> |
475 <dd> |
536 <dd> |
476 flag indicating the read only state |
537 flag indicating the read only state |
477 </dd> |
538 </dd> |
478 </dl><a NAME="HexEditMainWindow.__showSelectionInfo" ID="HexEditMainWindow.__showSelectionInfo"></a> |
539 </dl><a NAME="HexEditMainWindow.__showRecentMenu" ID="HexEditMainWindow.__showRecentMenu"></a> |
|
540 <h4>HexEditMainWindow.__showRecentMenu</h4> |
|
541 <b>__showRecentMenu</b>(<i></i>) |
|
542 <p> |
|
543 Private slot to set up the recent files menu. |
|
544 </p><a NAME="HexEditMainWindow.__showSelectionInfo" ID="HexEditMainWindow.__showSelectionInfo"></a> |
479 <h4>HexEditMainWindow.__showSelectionInfo</h4> |
545 <h4>HexEditMainWindow.__showSelectionInfo</h4> |
480 <b>__showSelectionInfo</b>(<i>avail</i>) |
546 <b>__showSelectionInfo</b>(<i>avail</i>) |
481 <p> |
547 <p> |
482 Private slot to show selection information. |
548 Private slot to show selection information. |
483 </p><dl> |
549 </p><dl> |