Documentation/Source/eric6.HexEdit.HexEditMainWindow.html

changeset 4666
bc52ef526e11
child 4669
d37bfc9ca3b9
equal deleted inserted replaced
4665:30d4972ab403 4666:bc52ef526e11
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.HexEdit.HexEditMainWindow</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.HexEdit.HexEditMainWindow</h1>
23 <p>
24 Module implementing the hex editor main window.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#HexEditMainWindow">HexEditMainWindow</a></td>
34 <td>Class implementing the web browser main window.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="HexEditMainWindow" ID="HexEditMainWindow"></a>
43 <h2>HexEditMainWindow</h2>
44 <p>
45 Class implementing the web browser main window.
46 </p><h3>Signals</h3>
47 <dl>
48 <dt>editorClosed()</dt>
49 <dd>
50 emitted after the window was requested to close down
51 </dd>
52 </dl>
53 <h3>Derived from</h3>
54 E5MainWindow
55 <h3>Class Attributes</h3>
56 <table>
57 <tr><td>windows</td></tr>
58 </table>
59 <h3>Class Methods</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Methods</h3>
64 <table>
65 <tr>
66 <td><a href="#HexEditMainWindow.__init__">HexEditMainWindow</a></td>
67 <td>Constructor</td>
68 </tr><tr>
69 <td><a href="#HexEditMainWindow.__about">__about</a></td>
70 <td>Private slot to show a little About message.</td>
71 </tr><tr>
72 <td><a href="#HexEditMainWindow.__aboutQt">__aboutQt</a></td>
73 <td>Private slot to handle the About Qt dialog.</td>
74 </tr><tr>
75 <td><a href="#HexEditMainWindow.__checkActions">__checkActions</a></td>
76 <td>Private slot to check some actions for their enable/disable status.</td>
77 </tr><tr>
78 <td><a href="#HexEditMainWindow.__closeAll">__closeAll</a></td>
79 <td>Private slot to close all windows.</td>
80 </tr><tr>
81 <td><a href="#HexEditMainWindow.__closeOthers">__closeOthers</a></td>
82 <td>Private slot to close all other windows.</td>
83 </tr><tr>
84 <td><a href="#HexEditMainWindow.__createStatusBar">__createStatusBar</a></td>
85 <td>Private method to initialize the status bar.</td>
86 </tr><tr>
87 <td><a href="#HexEditMainWindow.__initActions">__initActions</a></td>
88 <td>Private method to define the user interface actions.</td>
89 </tr><tr>
90 <td><a href="#HexEditMainWindow.__initConfigActions">__initConfigActions</a></td>
91 <td>Private method to create the Settings actions.</td>
92 </tr><tr>
93 <td><a href="#HexEditMainWindow.__initEditActions">__initEditActions</a></td>
94 <td>Private method to create the Edit actions.</td>
95 </tr><tr>
96 <td><a href="#HexEditMainWindow.__initFileActions">__initFileActions</a></td>
97 <td>Private method to define the file related user interface actions.</td>
98 </tr><tr>
99 <td><a href="#HexEditMainWindow.__initHelpActions">__initHelpActions</a></td>
100 <td>Private method to create the Help actions.</td>
101 </tr><tr>
102 <td><a href="#HexEditMainWindow.__initMenus">__initMenus</a></td>
103 <td>Private method to create the menus.</td>
104 </tr><tr>
105 <td><a href="#HexEditMainWindow.__initToolbars">__initToolbars</a></td>
106 <td>Private method to create the toolbars.</td>
107 </tr><tr>
108 <td><a href="#HexEditMainWindow.__loadHexFile">__loadHexFile</a></td>
109 <td>Private method to load a binary file.</td>
110 </tr><tr>
111 <td><a href="#HexEditMainWindow.__maybeSave">__maybeSave</a></td>
112 <td>Private method to ask the user to save the file, if it was modified.</td>
113 </tr><tr>
114 <td><a href="#HexEditMainWindow.__modificationChanged">__modificationChanged</a></td>
115 <td>Private slot to handle the dataChanged signal.</td>
116 </tr><tr>
117 <td><a href="#HexEditMainWindow.__openHexFile">__openHexFile</a></td>
118 <td>Private slot to open a binary file.</td>
119 </tr><tr>
120 <td><a href="#HexEditMainWindow.__openHexFileNewWindow">__openHexFileNewWindow</a></td>
121 <td>Private slot called to open a binary file in new hex editor window.</td>
122 </tr><tr>
123 <td><a href="#HexEditMainWindow.__openHexFileReadOnly">__openHexFileReadOnly</a></td>
124 <td>Private slot to open a binary file in read only mode.</td>
125 </tr><tr>
126 <td><a href="#HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog">__preferencesChangedByLocalPreferencesDialog</a></td>
127 <td>Private slot to handle preferences changes by our local dialog.</td>
128 </tr><tr>
129 <td><a href="#HexEditMainWindow.__replace">__replace</a></td>
130 <td>Private method to handle the replace action.</td>
131 </tr><tr>
132 <td><a href="#HexEditMainWindow.__saveHexDataFile">__saveHexDataFile</a></td>
133 <td>Private method to save the binary data to a file.</td>
134 </tr><tr>
135 <td><a href="#HexEditMainWindow.__saveHexFile">__saveHexFile</a></td>
136 <td>Private method to save a binary file.</td>
137 </tr><tr>
138 <td><a href="#HexEditMainWindow.__saveHexFileAs">__saveHexFileAs</a></td>
139 <td>Private method to save the data to a new file.</td>
140 </tr><tr>
141 <td><a href="#HexEditMainWindow.__saveHexFileReadable">__saveHexFileReadable</a></td>
142 <td>Private method to save the binary data in readable format.</td>
143 </tr><tr>
144 <td><a href="#HexEditMainWindow.__saveSelectionReadable">__saveSelectionReadable</a></td>
145 <td>Private method to save the data of the current selection in readable format.</td>
146 </tr><tr>
147 <td><a href="#HexEditMainWindow.__search">__search</a></td>
148 <td>Private method to handle the search action.</td>
149 </tr><tr>
150 <td><a href="#HexEditMainWindow.__setCurrentFile">__setCurrentFile</a></td>
151 <td>Private method to register the file name of the current file.</td>
152 </tr><tr>
153 <td><a href="#HexEditMainWindow.__setReadOnlyActionTexts">__setReadOnlyActionTexts</a></td>
154 <td>Private method to switch the 'Open Read Only' action between 'read only' and 'read write'.</td>
155 </tr><tr>
156 <td><a href="#HexEditMainWindow.__showAddress">__showAddress</a></td>
157 <td>Private slot to show the address of the cursor position.</td>
158 </tr><tr>
159 <td><a href="#HexEditMainWindow.__showEditMode">__showEditMode</a></td>
160 <td>Private slot to show the edit mode.</td>
161 </tr><tr>
162 <td><a href="#HexEditMainWindow.__showPreferences">__showPreferences</a></td>
163 <td>Private slot to set the preferences.</td>
164 </tr><tr>
165 <td><a href="#HexEditMainWindow.__showReadOnlyMode">__showReadOnlyMode</a></td>
166 <td>Private slot to show the read only mode.</td>
167 </tr><tr>
168 <td><a href="#HexEditMainWindow.__showSize">__showSize</a></td>
169 <td>Private slot to show the binary data size.</td>
170 </tr><tr>
171 <td><a href="#HexEditMainWindow.__strippedName">__strippedName</a></td>
172 <td>Private method to return the filename part of the given path.</td>
173 </tr><tr>
174 <td><a href="#HexEditMainWindow.__whatsThis">__whatsThis</a></td>
175 <td>Private slot called in to enter Whats This mode.</td>
176 </tr><tr>
177 <td><a href="#HexEditMainWindow.closeEvent">closeEvent</a></td>
178 <td>Protected event handler for the close event.</td>
179 </tr><tr>
180 <td><a href="#HexEditMainWindow.getSRHistory">getSRHistory</a></td>
181 <td>Public method to get the search or replace history list.</td>
182 </tr><tr>
183 <td><a href="#HexEditMainWindow.preferencesChanged">preferencesChanged</a></td>
184 <td>Public method to (re-)read the various settings.</td>
185 </tr><tr>
186 <td><a href="#HexEditMainWindow.setRecentPaths">setRecentPaths</a></td>
187 <td>Public method to set the last open and save paths.</td>
188 </tr>
189 </table>
190 <h3>Static Methods</h3>
191 <table>
192 <tr><td>None</td></tr>
193 </table>
194 <a NAME="HexEditMainWindow.__init__" ID="HexEditMainWindow.__init__"></a>
195 <h4>HexEditMainWindow (Constructor)</h4>
196 <b>HexEditMainWindow</b>(<i>fileName="", parent=None, fromEric=False, project=None</i>)
197 <p>
198 Constructor
199 </p><dl>
200 <dt><i>fileName</i></dt>
201 <dd>
202 name of a file to load on startup (string)
203 </dd><dt><i>parent</i></dt>
204 <dd>
205 parent widget of this window (QWidget)
206 </dd><dt><i>fromEric=</i></dt>
207 <dd>
208 flag indicating whether it was called from within
209 eric6 (boolean)
210 </dd><dt><i>project=</i></dt>
211 <dd>
212 reference to the project object (Project)
213 </dd>
214 </dl><a NAME="HexEditMainWindow.__about" ID="HexEditMainWindow.__about"></a>
215 <h4>HexEditMainWindow.__about</h4>
216 <b>__about</b>(<i></i>)
217 <p>
218 Private slot to show a little About message.
219 </p><a NAME="HexEditMainWindow.__aboutQt" ID="HexEditMainWindow.__aboutQt"></a>
220 <h4>HexEditMainWindow.__aboutQt</h4>
221 <b>__aboutQt</b>(<i></i>)
222 <p>
223 Private slot to handle the About Qt dialog.
224 </p><a NAME="HexEditMainWindow.__checkActions" ID="HexEditMainWindow.__checkActions"></a>
225 <h4>HexEditMainWindow.__checkActions</h4>
226 <b>__checkActions</b>(<i></i>)
227 <p>
228 Private slot to check some actions for their enable/disable status.
229 </p><a NAME="HexEditMainWindow.__closeAll" ID="HexEditMainWindow.__closeAll"></a>
230 <h4>HexEditMainWindow.__closeAll</h4>
231 <b>__closeAll</b>(<i></i>)
232 <p>
233 Private slot to close all windows.
234 </p><a NAME="HexEditMainWindow.__closeOthers" ID="HexEditMainWindow.__closeOthers"></a>
235 <h4>HexEditMainWindow.__closeOthers</h4>
236 <b>__closeOthers</b>(<i></i>)
237 <p>
238 Private slot to close all other windows.
239 </p><a NAME="HexEditMainWindow.__createStatusBar" ID="HexEditMainWindow.__createStatusBar"></a>
240 <h4>HexEditMainWindow.__createStatusBar</h4>
241 <b>__createStatusBar</b>(<i></i>)
242 <p>
243 Private method to initialize the status bar.
244 </p><a NAME="HexEditMainWindow.__initActions" ID="HexEditMainWindow.__initActions"></a>
245 <h4>HexEditMainWindow.__initActions</h4>
246 <b>__initActions</b>(<i></i>)
247 <p>
248 Private method to define the user interface actions.
249 </p><a NAME="HexEditMainWindow.__initConfigActions" ID="HexEditMainWindow.__initConfigActions"></a>
250 <h4>HexEditMainWindow.__initConfigActions</h4>
251 <b>__initConfigActions</b>(<i></i>)
252 <p>
253 Private method to create the Settings actions.
254 </p><a NAME="HexEditMainWindow.__initEditActions" ID="HexEditMainWindow.__initEditActions"></a>
255 <h4>HexEditMainWindow.__initEditActions</h4>
256 <b>__initEditActions</b>(<i></i>)
257 <p>
258 Private method to create the Edit actions.
259 </p><a NAME="HexEditMainWindow.__initFileActions" ID="HexEditMainWindow.__initFileActions"></a>
260 <h4>HexEditMainWindow.__initFileActions</h4>
261 <b>__initFileActions</b>(<i></i>)
262 <p>
263 Private method to define the file related user interface actions.
264 </p><a NAME="HexEditMainWindow.__initHelpActions" ID="HexEditMainWindow.__initHelpActions"></a>
265 <h4>HexEditMainWindow.__initHelpActions</h4>
266 <b>__initHelpActions</b>(<i></i>)
267 <p>
268 Private method to create the Help actions.
269 </p><a NAME="HexEditMainWindow.__initMenus" ID="HexEditMainWindow.__initMenus"></a>
270 <h4>HexEditMainWindow.__initMenus</h4>
271 <b>__initMenus</b>(<i></i>)
272 <p>
273 Private method to create the menus.
274 </p><a NAME="HexEditMainWindow.__initToolbars" ID="HexEditMainWindow.__initToolbars"></a>
275 <h4>HexEditMainWindow.__initToolbars</h4>
276 <b>__initToolbars</b>(<i></i>)
277 <p>
278 Private method to create the toolbars.
279 </p><a NAME="HexEditMainWindow.__loadHexFile" ID="HexEditMainWindow.__loadHexFile"></a>
280 <h4>HexEditMainWindow.__loadHexFile</h4>
281 <b>__loadHexFile</b>(<i>fileName</i>)
282 <p>
283 Private method to load a binary file.
284 </p><dl>
285 <dt><i>fileName</i> (str)</dt>
286 <dd>
287 name of the binary file to load
288 </dd>
289 </dl><a NAME="HexEditMainWindow.__maybeSave" ID="HexEditMainWindow.__maybeSave"></a>
290 <h4>HexEditMainWindow.__maybeSave</h4>
291 <b>__maybeSave</b>(<i></i>)
292 <p>
293 Private method to ask the user to save the file, if it was modified.
294 </p><dl>
295 <dt>Returns:</dt>
296 <dd>
297 flag indicating, if it is ok to continue
298 </dd>
299 </dl><dl>
300 <dt>Return Type:</dt>
301 <dd>
302 bool
303 </dd>
304 </dl><a NAME="HexEditMainWindow.__modificationChanged" ID="HexEditMainWindow.__modificationChanged"></a>
305 <h4>HexEditMainWindow.__modificationChanged</h4>
306 <b>__modificationChanged</b>(<i>m</i>)
307 <p>
308 Private slot to handle the dataChanged signal.
309 </p><dl>
310 <dt><i>m</i> (bool)</dt>
311 <dd>
312 modification status
313 </dd>
314 </dl><a NAME="HexEditMainWindow.__openHexFile" ID="HexEditMainWindow.__openHexFile"></a>
315 <h4>HexEditMainWindow.__openHexFile</h4>
316 <b>__openHexFile</b>(<i></i>)
317 <p>
318 Private slot to open a binary file.
319 </p><a NAME="HexEditMainWindow.__openHexFileNewWindow" ID="HexEditMainWindow.__openHexFileNewWindow"></a>
320 <h4>HexEditMainWindow.__openHexFileNewWindow</h4>
321 <b>__openHexFileNewWindow</b>(<i></i>)
322 <p>
323 Private slot called to open a binary file in new hex editor window.
324 </p><a NAME="HexEditMainWindow.__openHexFileReadOnly" ID="HexEditMainWindow.__openHexFileReadOnly"></a>
325 <h4>HexEditMainWindow.__openHexFileReadOnly</h4>
326 <b>__openHexFileReadOnly</b>(<i></i>)
327 <p>
328 Private slot to open a binary file in read only mode.
329 </p><a NAME="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog" ID="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog"></a>
330 <h4>HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog</h4>
331 <b>__preferencesChangedByLocalPreferencesDialog</b>(<i></i>)
332 <p>
333 Private slot to handle preferences changes by our local dialog.
334 </p><a NAME="HexEditMainWindow.__replace" ID="HexEditMainWindow.__replace"></a>
335 <h4>HexEditMainWindow.__replace</h4>
336 <b>__replace</b>(<i></i>)
337 <p>
338 Private method to handle the replace action.
339 </p><a NAME="HexEditMainWindow.__saveHexDataFile" ID="HexEditMainWindow.__saveHexDataFile"></a>
340 <h4>HexEditMainWindow.__saveHexDataFile</h4>
341 <b>__saveHexDataFile</b>(<i>fileName</i>)
342 <p>
343 Private method to save the binary data to a file.
344 </p><dl>
345 <dt><i>fileName</i> (str)</dt>
346 <dd>
347 name of the file to write to
348 </dd>
349 </dl><dl>
350 <dt>Returns:</dt>
351 <dd>
352 flag indicating success
353 </dd>
354 </dl><dl>
355 <dt>Return Type:</dt>
356 <dd>
357 bool
358 </dd>
359 </dl><a NAME="HexEditMainWindow.__saveHexFile" ID="HexEditMainWindow.__saveHexFile"></a>
360 <h4>HexEditMainWindow.__saveHexFile</h4>
361 <b>__saveHexFile</b>(<i></i>)
362 <p>
363 Private method to save a binary file.
364 </p><dl>
365 <dt>Returns:</dt>
366 <dd>
367 flag indicating success
368 </dd>
369 </dl><dl>
370 <dt>Return Type:</dt>
371 <dd>
372 bool
373 </dd>
374 </dl><a NAME="HexEditMainWindow.__saveHexFileAs" ID="HexEditMainWindow.__saveHexFileAs"></a>
375 <h4>HexEditMainWindow.__saveHexFileAs</h4>
376 <b>__saveHexFileAs</b>(<i></i>)
377 <p>
378 Private method to save the data to a new file.
379 </p><dl>
380 <dt>Returns:</dt>
381 <dd>
382 flag indicating success
383 </dd>
384 </dl><dl>
385 <dt>Return Type:</dt>
386 <dd>
387 bool
388 </dd>
389 </dl><a NAME="HexEditMainWindow.__saveHexFileReadable" ID="HexEditMainWindow.__saveHexFileReadable"></a>
390 <h4>HexEditMainWindow.__saveHexFileReadable</h4>
391 <b>__saveHexFileReadable</b>(<i>selectionOnly=False</i>)
392 <p>
393 Private method to save the binary data in readable format.
394 </p><dl>
395 <dt><i>selectionOnly</i> (bool)</dt>
396 <dd>
397 flag indicating to save the selection only
398 </dd>
399 </dl><a NAME="HexEditMainWindow.__saveSelectionReadable" ID="HexEditMainWindow.__saveSelectionReadable"></a>
400 <h4>HexEditMainWindow.__saveSelectionReadable</h4>
401 <b>__saveSelectionReadable</b>(<i></i>)
402 <p>
403 Private method to save the data of the current selection in readable
404 format.
405 </p><a NAME="HexEditMainWindow.__search" ID="HexEditMainWindow.__search"></a>
406 <h4>HexEditMainWindow.__search</h4>
407 <b>__search</b>(<i></i>)
408 <p>
409 Private method to handle the search action.
410 </p><a NAME="HexEditMainWindow.__setCurrentFile" ID="HexEditMainWindow.__setCurrentFile"></a>
411 <h4>HexEditMainWindow.__setCurrentFile</h4>
412 <b>__setCurrentFile</b>(<i>fileName</i>)
413 <p>
414 Private method to register the file name of the current file.
415 </p><dl>
416 <dt><i>fileName</i> (str)</dt>
417 <dd>
418 name of the file to register
419 </dd>
420 </dl><a NAME="HexEditMainWindow.__setReadOnlyActionTexts" ID="HexEditMainWindow.__setReadOnlyActionTexts"></a>
421 <h4>HexEditMainWindow.__setReadOnlyActionTexts</h4>
422 <b>__setReadOnlyActionTexts</b>(<i></i>)
423 <p>
424 Private method to switch the 'Open Read Only' action between
425 'read only' and 'read write'.
426 </p><a NAME="HexEditMainWindow.__showAddress" ID="HexEditMainWindow.__showAddress"></a>
427 <h4>HexEditMainWindow.__showAddress</h4>
428 <b>__showAddress</b>(<i>address</i>)
429 <p>
430 Private slot to show the address of the cursor position.
431 </p><dl>
432 <dt><i>address</i> (int)</dt>
433 <dd>
434 address of the cursor
435 </dd>
436 </dl><a NAME="HexEditMainWindow.__showEditMode" ID="HexEditMainWindow.__showEditMode"></a>
437 <h4>HexEditMainWindow.__showEditMode</h4>
438 <b>__showEditMode</b>(<i>overwrite</i>)
439 <p>
440 Private slot to show the edit mode.
441 </p><dl>
442 <dt><i>overwrite</i> (bool)</dt>
443 <dd>
444 flag indicating overwrite mode
445 </dd>
446 </dl><a NAME="HexEditMainWindow.__showPreferences" ID="HexEditMainWindow.__showPreferences"></a>
447 <h4>HexEditMainWindow.__showPreferences</h4>
448 <b>__showPreferences</b>(<i></i>)
449 <p>
450 Private slot to set the preferences.
451 </p><a NAME="HexEditMainWindow.__showReadOnlyMode" ID="HexEditMainWindow.__showReadOnlyMode"></a>
452 <h4>HexEditMainWindow.__showReadOnlyMode</h4>
453 <b>__showReadOnlyMode</b>(<i>on</i>)
454 <p>
455 Private slot to show the read only mode.
456 </p><dl>
457 <dt><i>on</i> (bool)</dt>
458 <dd>
459 flag indicating the read only state
460 </dd>
461 </dl><a NAME="HexEditMainWindow.__showSize" ID="HexEditMainWindow.__showSize"></a>
462 <h4>HexEditMainWindow.__showSize</h4>
463 <b>__showSize</b>(<i>size</i>)
464 <p>
465 Private slot to show the binary data size.
466 </p><dl>
467 <dt><i>size</i> (int)</dt>
468 <dd>
469 size of the binary data
470 </dd>
471 </dl><a NAME="HexEditMainWindow.__strippedName" ID="HexEditMainWindow.__strippedName"></a>
472 <h4>HexEditMainWindow.__strippedName</h4>
473 <b>__strippedName</b>(<i>fullFileName</i>)
474 <p>
475 Private method to return the filename part of the given path.
476 </p><dl>
477 <dt><i>fullFileName</i> (str)</dt>
478 <dd>
479 full pathname of the given file
480 </dd>
481 </dl><dl>
482 <dt>Returns:</dt>
483 <dd>
484 filename part
485 </dd>
486 </dl><dl>
487 <dt>Return Type:</dt>
488 <dd>
489 str
490 </dd>
491 </dl><a NAME="HexEditMainWindow.__whatsThis" ID="HexEditMainWindow.__whatsThis"></a>
492 <h4>HexEditMainWindow.__whatsThis</h4>
493 <b>__whatsThis</b>(<i></i>)
494 <p>
495 Private slot called in to enter Whats This mode.
496 </p><a NAME="HexEditMainWindow.closeEvent" ID="HexEditMainWindow.closeEvent"></a>
497 <h4>HexEditMainWindow.closeEvent</h4>
498 <b>closeEvent</b>(<i>evt</i>)
499 <p>
500 Protected event handler for the close event.
501 </p><dl>
502 <dt><i>evt</i> (QCloseEvent)</dt>
503 <dd>
504 reference to the close event
505 <br />This event is simply accepted after the history has been
506 saved and all window references have been deleted.
507 </dd>
508 </dl><a NAME="HexEditMainWindow.getSRHistory" ID="HexEditMainWindow.getSRHistory"></a>
509 <h4>HexEditMainWindow.getSRHistory</h4>
510 <b>getSRHistory</b>(<i>key</i>)
511 <p>
512 Public method to get the search or replace history list.
513 </p><dl>
514 <dt><i>key</i> (str (must be 'search' or 'replace'))</dt>
515 <dd>
516 name of list to return
517 </dd>
518 </dl><dl>
519 <dt>Returns:</dt>
520 <dd>
521 the requested history list
522 </dd>
523 </dl><dl>
524 <dt>Return Type:</dt>
525 <dd>
526 list of tuples of (int, str)
527 </dd>
528 </dl><a NAME="HexEditMainWindow.preferencesChanged" ID="HexEditMainWindow.preferencesChanged"></a>
529 <h4>HexEditMainWindow.preferencesChanged</h4>
530 <b>preferencesChanged</b>(<i></i>)
531 <p>
532 Public method to (re-)read the various settings.
533 </p><a NAME="HexEditMainWindow.setRecentPaths" ID="HexEditMainWindow.setRecentPaths"></a>
534 <h4>HexEditMainWindow.setRecentPaths</h4>
535 <b>setRecentPaths</b>(<i>openPath, savePath</i>)
536 <p>
537 Public method to set the last open and save paths.
538 </p><dl>
539 <dt><i>openPath</i> (str)</dt>
540 <dd>
541 least recently used open path
542 </dd><dt><i>savePath</i> (str)</dt>
543 <dd>
544 least recently used save path
545 </dd>
546 </dl>
547 <div align="right"><a href="#top">Up</a></div>
548 <hr />
549 </body></html>

eric ide

mercurial