305 </dd> |
304 </dd> |
306 </dl> |
305 </dl> |
307 <a NAME="HexEditMainWindow.__about" ID="HexEditMainWindow.__about"></a> |
306 <a NAME="HexEditMainWindow.__about" ID="HexEditMainWindow.__about"></a> |
308 <h4>HexEditMainWindow.__about</h4> |
307 <h4>HexEditMainWindow.__about</h4> |
309 <b>__about</b>(<i></i>) |
308 <b>__about</b>(<i></i>) |
310 |
|
311 <p> |
309 <p> |
312 Private slot to show a little About message. |
310 Private slot to show a little About message. |
313 </p> |
311 </p> |
|
312 |
314 <a NAME="HexEditMainWindow.__aboutQt" ID="HexEditMainWindow.__aboutQt"></a> |
313 <a NAME="HexEditMainWindow.__aboutQt" ID="HexEditMainWindow.__aboutQt"></a> |
315 <h4>HexEditMainWindow.__aboutQt</h4> |
314 <h4>HexEditMainWindow.__aboutQt</h4> |
316 <b>__aboutQt</b>(<i></i>) |
315 <b>__aboutQt</b>(<i></i>) |
317 |
|
318 <p> |
316 <p> |
319 Private slot to handle the About Qt dialog. |
317 Private slot to handle the About Qt dialog. |
320 </p> |
318 </p> |
|
319 |
321 <a NAME="HexEditMainWindow.__addToRecentList" ID="HexEditMainWindow.__addToRecentList"></a> |
320 <a NAME="HexEditMainWindow.__addToRecentList" ID="HexEditMainWindow.__addToRecentList"></a> |
322 <h4>HexEditMainWindow.__addToRecentList</h4> |
321 <h4>HexEditMainWindow.__addToRecentList</h4> |
323 <b>__addToRecentList</b>(<i>fileName</i>) |
322 <b>__addToRecentList</b>(<i>fileName</i>) |
324 |
|
325 <p> |
323 <p> |
326 Private method to add a file name to the list of recently opened files. |
324 Private method to add a file name to the list of recently opened files. |
327 </p> |
325 </p> |
|
326 |
328 <dl> |
327 <dl> |
329 |
328 |
330 <dt><i>fileName</i> (str)</dt> |
329 <dt><i>fileName</i> (str)</dt> |
331 <dd> |
330 <dd> |
332 name of the file to be added |
331 name of the file to be added |
333 </dd> |
332 </dd> |
334 </dl> |
333 </dl> |
335 <a NAME="HexEditMainWindow.__checkActions" ID="HexEditMainWindow.__checkActions"></a> |
334 <a NAME="HexEditMainWindow.__checkActions" ID="HexEditMainWindow.__checkActions"></a> |
336 <h4>HexEditMainWindow.__checkActions</h4> |
335 <h4>HexEditMainWindow.__checkActions</h4> |
337 <b>__checkActions</b>(<i></i>) |
336 <b>__checkActions</b>(<i></i>) |
338 |
|
339 <p> |
337 <p> |
340 Private slot to check some actions for their enable/disable status. |
338 Private slot to check some actions for their enable/disable status. |
341 </p> |
339 </p> |
|
340 |
342 <a NAME="HexEditMainWindow.__clearRecent" ID="HexEditMainWindow.__clearRecent"></a> |
341 <a NAME="HexEditMainWindow.__clearRecent" ID="HexEditMainWindow.__clearRecent"></a> |
343 <h4>HexEditMainWindow.__clearRecent</h4> |
342 <h4>HexEditMainWindow.__clearRecent</h4> |
344 <b>__clearRecent</b>(<i></i>) |
343 <b>__clearRecent</b>(<i></i>) |
345 |
|
346 <p> |
344 <p> |
347 Private method to clear the list of recently opened files. |
345 Private method to clear the list of recently opened files. |
348 </p> |
346 </p> |
|
347 |
349 <a NAME="HexEditMainWindow.__closeAll" ID="HexEditMainWindow.__closeAll"></a> |
348 <a NAME="HexEditMainWindow.__closeAll" ID="HexEditMainWindow.__closeAll"></a> |
350 <h4>HexEditMainWindow.__closeAll</h4> |
349 <h4>HexEditMainWindow.__closeAll</h4> |
351 <b>__closeAll</b>(<i></i>) |
350 <b>__closeAll</b>(<i></i>) |
352 |
|
353 <p> |
351 <p> |
354 Private slot to close all windows. |
352 Private slot to close all windows. |
355 </p> |
353 </p> |
|
354 |
356 <a NAME="HexEditMainWindow.__closeOthers" ID="HexEditMainWindow.__closeOthers"></a> |
355 <a NAME="HexEditMainWindow.__closeOthers" ID="HexEditMainWindow.__closeOthers"></a> |
357 <h4>HexEditMainWindow.__closeOthers</h4> |
356 <h4>HexEditMainWindow.__closeOthers</h4> |
358 <b>__closeOthers</b>(<i></i>) |
357 <b>__closeOthers</b>(<i></i>) |
359 |
|
360 <p> |
358 <p> |
361 Private slot to close all other windows. |
359 Private slot to close all other windows. |
362 </p> |
360 </p> |
|
361 |
363 <a NAME="HexEditMainWindow.__createStatusBar" ID="HexEditMainWindow.__createStatusBar"></a> |
362 <a NAME="HexEditMainWindow.__createStatusBar" ID="HexEditMainWindow.__createStatusBar"></a> |
364 <h4>HexEditMainWindow.__createStatusBar</h4> |
363 <h4>HexEditMainWindow.__createStatusBar</h4> |
365 <b>__createStatusBar</b>(<i></i>) |
364 <b>__createStatusBar</b>(<i></i>) |
366 |
|
367 <p> |
365 <p> |
368 Private method to initialize the status bar. |
366 Private method to initialize the status bar. |
369 </p> |
367 </p> |
|
368 |
370 <a NAME="HexEditMainWindow.__goto" ID="HexEditMainWindow.__goto"></a> |
369 <a NAME="HexEditMainWindow.__goto" ID="HexEditMainWindow.__goto"></a> |
371 <h4>HexEditMainWindow.__goto</h4> |
370 <h4>HexEditMainWindow.__goto</h4> |
372 <b>__goto</b>(<i></i>) |
371 <b>__goto</b>(<i></i>) |
373 |
|
374 <p> |
372 <p> |
375 Private method to handle the goto action. |
373 Private method to handle the goto action. |
376 </p> |
374 </p> |
|
375 |
377 <a NAME="HexEditMainWindow.__initActions" ID="HexEditMainWindow.__initActions"></a> |
376 <a NAME="HexEditMainWindow.__initActions" ID="HexEditMainWindow.__initActions"></a> |
378 <h4>HexEditMainWindow.__initActions</h4> |
377 <h4>HexEditMainWindow.__initActions</h4> |
379 <b>__initActions</b>(<i></i>) |
378 <b>__initActions</b>(<i></i>) |
380 |
|
381 <p> |
379 <p> |
382 Private method to define the user interface actions. |
380 Private method to define the user interface actions. |
383 </p> |
381 </p> |
|
382 |
384 <a NAME="HexEditMainWindow.__initConfigActions" ID="HexEditMainWindow.__initConfigActions"></a> |
383 <a NAME="HexEditMainWindow.__initConfigActions" ID="HexEditMainWindow.__initConfigActions"></a> |
385 <h4>HexEditMainWindow.__initConfigActions</h4> |
384 <h4>HexEditMainWindow.__initConfigActions</h4> |
386 <b>__initConfigActions</b>(<i></i>) |
385 <b>__initConfigActions</b>(<i></i>) |
387 |
|
388 <p> |
386 <p> |
389 Private method to create the Settings actions. |
387 Private method to create the Settings actions. |
390 </p> |
388 </p> |
|
389 |
391 <a NAME="HexEditMainWindow.__initEditActions" ID="HexEditMainWindow.__initEditActions"></a> |
390 <a NAME="HexEditMainWindow.__initEditActions" ID="HexEditMainWindow.__initEditActions"></a> |
392 <h4>HexEditMainWindow.__initEditActions</h4> |
391 <h4>HexEditMainWindow.__initEditActions</h4> |
393 <b>__initEditActions</b>(<i></i>) |
392 <b>__initEditActions</b>(<i></i>) |
394 |
|
395 <p> |
393 <p> |
396 Private method to create the Edit actions. |
394 Private method to create the Edit actions. |
397 </p> |
395 </p> |
|
396 |
398 <a NAME="HexEditMainWindow.__initFileActions" ID="HexEditMainWindow.__initFileActions"></a> |
397 <a NAME="HexEditMainWindow.__initFileActions" ID="HexEditMainWindow.__initFileActions"></a> |
399 <h4>HexEditMainWindow.__initFileActions</h4> |
398 <h4>HexEditMainWindow.__initFileActions</h4> |
400 <b>__initFileActions</b>(<i></i>) |
399 <b>__initFileActions</b>(<i></i>) |
401 |
|
402 <p> |
400 <p> |
403 Private method to define the file related user interface actions. |
401 Private method to define the file related user interface actions. |
404 </p> |
402 </p> |
|
403 |
405 <a NAME="HexEditMainWindow.__initHelpActions" ID="HexEditMainWindow.__initHelpActions"></a> |
404 <a NAME="HexEditMainWindow.__initHelpActions" ID="HexEditMainWindow.__initHelpActions"></a> |
406 <h4>HexEditMainWindow.__initHelpActions</h4> |
405 <h4>HexEditMainWindow.__initHelpActions</h4> |
407 <b>__initHelpActions</b>(<i></i>) |
406 <b>__initHelpActions</b>(<i></i>) |
408 |
|
409 <p> |
407 <p> |
410 Private method to create the Help actions. |
408 Private method to create the Help actions. |
411 </p> |
409 </p> |
|
410 |
412 <a NAME="HexEditMainWindow.__initMenus" ID="HexEditMainWindow.__initMenus"></a> |
411 <a NAME="HexEditMainWindow.__initMenus" ID="HexEditMainWindow.__initMenus"></a> |
413 <h4>HexEditMainWindow.__initMenus</h4> |
412 <h4>HexEditMainWindow.__initMenus</h4> |
414 <b>__initMenus</b>(<i></i>) |
413 <b>__initMenus</b>(<i></i>) |
415 |
|
416 <p> |
414 <p> |
417 Private method to create the menus. |
415 Private method to create the menus. |
418 </p> |
416 </p> |
|
417 |
419 <a NAME="HexEditMainWindow.__initToolbars" ID="HexEditMainWindow.__initToolbars"></a> |
418 <a NAME="HexEditMainWindow.__initToolbars" ID="HexEditMainWindow.__initToolbars"></a> |
420 <h4>HexEditMainWindow.__initToolbars</h4> |
419 <h4>HexEditMainWindow.__initToolbars</h4> |
421 <b>__initToolbars</b>(<i></i>) |
420 <b>__initToolbars</b>(<i></i>) |
422 |
|
423 <p> |
421 <p> |
424 Private method to create the toolbars. |
422 Private method to create the toolbars. |
425 </p> |
423 </p> |
|
424 |
426 <a NAME="HexEditMainWindow.__loadHexFile" ID="HexEditMainWindow.__loadHexFile"></a> |
425 <a NAME="HexEditMainWindow.__loadHexFile" ID="HexEditMainWindow.__loadHexFile"></a> |
427 <h4>HexEditMainWindow.__loadHexFile</h4> |
426 <h4>HexEditMainWindow.__loadHexFile</h4> |
428 <b>__loadHexFile</b>(<i>fileName</i>) |
427 <b>__loadHexFile</b>(<i>fileName</i>) |
429 |
|
430 <p> |
428 <p> |
431 Private method to load a binary file. |
429 Private method to load a binary file. |
432 </p> |
430 </p> |
|
431 |
433 <dl> |
432 <dl> |
434 |
433 |
435 <dt><i>fileName</i> (str)</dt> |
434 <dt><i>fileName</i> (str)</dt> |
436 <dd> |
435 <dd> |
437 name of the binary file to load |
436 name of the binary file to load |
438 </dd> |
437 </dd> |
439 </dl> |
438 </dl> |
440 <a NAME="HexEditMainWindow.__loadRecent" ID="HexEditMainWindow.__loadRecent"></a> |
439 <a NAME="HexEditMainWindow.__loadRecent" ID="HexEditMainWindow.__loadRecent"></a> |
441 <h4>HexEditMainWindow.__loadRecent</h4> |
440 <h4>HexEditMainWindow.__loadRecent</h4> |
442 <b>__loadRecent</b>(<i></i>) |
441 <b>__loadRecent</b>(<i></i>) |
443 |
|
444 <p> |
442 <p> |
445 Private method to load the list of recently opened files. |
443 Private method to load the list of recently opened files. |
446 </p> |
444 </p> |
|
445 |
447 <a NAME="HexEditMainWindow.__maybeSave" ID="HexEditMainWindow.__maybeSave"></a> |
446 <a NAME="HexEditMainWindow.__maybeSave" ID="HexEditMainWindow.__maybeSave"></a> |
448 <h4>HexEditMainWindow.__maybeSave</h4> |
447 <h4>HexEditMainWindow.__maybeSave</h4> |
449 <b>__maybeSave</b>(<i></i>) |
448 <b>__maybeSave</b>(<i></i>) |
450 |
|
451 <p> |
449 <p> |
452 Private method to ask the user to save the file, if it was modified. |
450 Private method to ask the user to save the file, if it was modified. |
453 </p> |
451 </p> |
|
452 |
454 <dl> |
453 <dl> |
455 <dt>Return:</dt> |
454 <dt>Return:</dt> |
456 <dd> |
455 <dd> |
457 flag indicating, if it is ok to continue |
456 flag indicating, if it is ok to continue |
458 </dd> |
457 </dd> |
464 </dd> |
463 </dd> |
465 </dl> |
464 </dl> |
466 <a NAME="HexEditMainWindow.__modificationChanged" ID="HexEditMainWindow.__modificationChanged"></a> |
465 <a NAME="HexEditMainWindow.__modificationChanged" ID="HexEditMainWindow.__modificationChanged"></a> |
467 <h4>HexEditMainWindow.__modificationChanged</h4> |
466 <h4>HexEditMainWindow.__modificationChanged</h4> |
468 <b>__modificationChanged</b>(<i>m</i>) |
467 <b>__modificationChanged</b>(<i>m</i>) |
469 |
|
470 <p> |
468 <p> |
471 Private slot to handle the dataChanged signal. |
469 Private slot to handle the dataChanged signal. |
472 </p> |
470 </p> |
|
471 |
473 <dl> |
472 <dl> |
474 |
473 |
475 <dt><i>m</i> (bool)</dt> |
474 <dt><i>m</i> (bool)</dt> |
476 <dd> |
475 <dd> |
477 modification status |
476 modification status |
478 </dd> |
477 </dd> |
479 </dl> |
478 </dl> |
480 <a NAME="HexEditMainWindow.__openHexFile" ID="HexEditMainWindow.__openHexFile"></a> |
479 <a NAME="HexEditMainWindow.__openHexFile" ID="HexEditMainWindow.__openHexFile"></a> |
481 <h4>HexEditMainWindow.__openHexFile</h4> |
480 <h4>HexEditMainWindow.__openHexFile</h4> |
482 <b>__openHexFile</b>(<i></i>) |
481 <b>__openHexFile</b>(<i></i>) |
483 |
|
484 <p> |
482 <p> |
485 Private slot to open a binary file. |
483 Private slot to open a binary file. |
486 </p> |
484 </p> |
|
485 |
487 <a NAME="HexEditMainWindow.__openHexFileNewWindow" ID="HexEditMainWindow.__openHexFileNewWindow"></a> |
486 <a NAME="HexEditMainWindow.__openHexFileNewWindow" ID="HexEditMainWindow.__openHexFileNewWindow"></a> |
488 <h4>HexEditMainWindow.__openHexFileNewWindow</h4> |
487 <h4>HexEditMainWindow.__openHexFileNewWindow</h4> |
489 <b>__openHexFileNewWindow</b>(<i></i>) |
488 <b>__openHexFileNewWindow</b>(<i></i>) |
490 |
|
491 <p> |
489 <p> |
492 Private slot called to open a binary file in new hex editor window. |
490 Private slot called to open a binary file in new hex editor window. |
493 </p> |
491 </p> |
|
492 |
494 <a NAME="HexEditMainWindow.__openHexFileReadOnly" ID="HexEditMainWindow.__openHexFileReadOnly"></a> |
493 <a NAME="HexEditMainWindow.__openHexFileReadOnly" ID="HexEditMainWindow.__openHexFileReadOnly"></a> |
495 <h4>HexEditMainWindow.__openHexFileReadOnly</h4> |
494 <h4>HexEditMainWindow.__openHexFileReadOnly</h4> |
496 <b>__openHexFileReadOnly</b>(<i></i>) |
495 <b>__openHexFileReadOnly</b>(<i></i>) |
497 |
|
498 <p> |
496 <p> |
499 Private slot to open a binary file in read only mode. |
497 Private slot to open a binary file in read only mode. |
500 </p> |
498 </p> |
|
499 |
501 <a NAME="HexEditMainWindow.__openRecentHexFile" ID="HexEditMainWindow.__openRecentHexFile"></a> |
500 <a NAME="HexEditMainWindow.__openRecentHexFile" ID="HexEditMainWindow.__openRecentHexFile"></a> |
502 <h4>HexEditMainWindow.__openRecentHexFile</h4> |
501 <h4>HexEditMainWindow.__openRecentHexFile</h4> |
503 <b>__openRecentHexFile</b>(<i>act</i>) |
502 <b>__openRecentHexFile</b>(<i>act</i>) |
504 |
|
505 <p> |
503 <p> |
506 Private method to open a file from the list of recently opened files. |
504 Private method to open a file from the list of recently opened files. |
507 </p> |
505 </p> |
|
506 |
508 <dl> |
507 <dl> |
509 |
508 |
510 <dt><i>act</i> (QAction)</dt> |
509 <dt><i>act</i> (QAction)</dt> |
511 <dd> |
510 <dd> |
512 reference to the action that triggered |
511 reference to the action that triggered |
513 </dd> |
512 </dd> |
514 </dl> |
513 </dl> |
515 <a NAME="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog" ID="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog"></a> |
514 <a NAME="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog" ID="HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog"></a> |
516 <h4>HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog</h4> |
515 <h4>HexEditMainWindow.__preferencesChangedByLocalPreferencesDialog</h4> |
517 <b>__preferencesChangedByLocalPreferencesDialog</b>(<i></i>) |
516 <b>__preferencesChangedByLocalPreferencesDialog</b>(<i></i>) |
518 |
|
519 <p> |
517 <p> |
520 Private slot to handle preferences changes by our local dialog. |
518 Private slot to handle preferences changes by our local dialog. |
521 </p> |
519 </p> |
|
520 |
522 <a NAME="HexEditMainWindow.__replace" ID="HexEditMainWindow.__replace"></a> |
521 <a NAME="HexEditMainWindow.__replace" ID="HexEditMainWindow.__replace"></a> |
523 <h4>HexEditMainWindow.__replace</h4> |
522 <h4>HexEditMainWindow.__replace</h4> |
524 <b>__replace</b>(<i></i>) |
523 <b>__replace</b>(<i></i>) |
525 |
|
526 <p> |
524 <p> |
527 Private method to handle the replace action. |
525 Private method to handle the replace action. |
528 </p> |
526 </p> |
|
527 |
529 <a NAME="HexEditMainWindow.__saveHexDataFile" ID="HexEditMainWindow.__saveHexDataFile"></a> |
528 <a NAME="HexEditMainWindow.__saveHexDataFile" ID="HexEditMainWindow.__saveHexDataFile"></a> |
530 <h4>HexEditMainWindow.__saveHexDataFile</h4> |
529 <h4>HexEditMainWindow.__saveHexDataFile</h4> |
531 <b>__saveHexDataFile</b>(<i>fileName</i>) |
530 <b>__saveHexDataFile</b>(<i>fileName</i>) |
532 |
|
533 <p> |
531 <p> |
534 Private method to save the binary data to a file. |
532 Private method to save the binary data to a file. |
535 </p> |
533 </p> |
|
534 |
536 <dl> |
535 <dl> |
537 |
536 |
538 <dt><i>fileName</i> (str)</dt> |
537 <dt><i>fileName</i> (str)</dt> |
539 <dd> |
538 <dd> |
540 name of the file to write to |
539 name of the file to write to |
591 </dd> |
590 </dd> |
592 </dl> |
591 </dl> |
593 <a NAME="HexEditMainWindow.__saveHexFileReadable" ID="HexEditMainWindow.__saveHexFileReadable"></a> |
592 <a NAME="HexEditMainWindow.__saveHexFileReadable" ID="HexEditMainWindow.__saveHexFileReadable"></a> |
594 <h4>HexEditMainWindow.__saveHexFileReadable</h4> |
593 <h4>HexEditMainWindow.__saveHexFileReadable</h4> |
595 <b>__saveHexFileReadable</b>(<i>selectionOnly=False</i>) |
594 <b>__saveHexFileReadable</b>(<i>selectionOnly=False</i>) |
596 |
|
597 <p> |
595 <p> |
598 Private method to save the binary data in readable format. |
596 Private method to save the binary data in readable format. |
599 </p> |
597 </p> |
|
598 |
600 <dl> |
599 <dl> |
601 |
600 |
602 <dt><i>selectionOnly</i> (bool)</dt> |
601 <dt><i>selectionOnly</i> (bool)</dt> |
603 <dd> |
602 <dd> |
604 flag indicating to save the selection only |
603 flag indicating to save the selection only |
605 </dd> |
604 </dd> |
606 </dl> |
605 </dl> |
607 <a NAME="HexEditMainWindow.__saveRecent" ID="HexEditMainWindow.__saveRecent"></a> |
606 <a NAME="HexEditMainWindow.__saveRecent" ID="HexEditMainWindow.__saveRecent"></a> |
608 <h4>HexEditMainWindow.__saveRecent</h4> |
607 <h4>HexEditMainWindow.__saveRecent</h4> |
609 <b>__saveRecent</b>(<i></i>) |
608 <b>__saveRecent</b>(<i></i>) |
610 |
|
611 <p> |
609 <p> |
612 Private method to save the list of recently opened files. |
610 Private method to save the list of recently opened files. |
613 </p> |
611 </p> |
|
612 |
614 <a NAME="HexEditMainWindow.__saveSelectionReadable" ID="HexEditMainWindow.__saveSelectionReadable"></a> |
613 <a NAME="HexEditMainWindow.__saveSelectionReadable" ID="HexEditMainWindow.__saveSelectionReadable"></a> |
615 <h4>HexEditMainWindow.__saveSelectionReadable</h4> |
614 <h4>HexEditMainWindow.__saveSelectionReadable</h4> |
616 <b>__saveSelectionReadable</b>(<i></i>) |
615 <b>__saveSelectionReadable</b>(<i></i>) |
617 |
|
618 <p> |
616 <p> |
619 Private method to save the data of the current selection in readable |
617 Private method to save the data of the current selection in readable |
620 format. |
618 format. |
621 </p> |
619 </p> |
|
620 |
622 <a NAME="HexEditMainWindow.__search" ID="HexEditMainWindow.__search"></a> |
621 <a NAME="HexEditMainWindow.__search" ID="HexEditMainWindow.__search"></a> |
623 <h4>HexEditMainWindow.__search</h4> |
622 <h4>HexEditMainWindow.__search</h4> |
624 <b>__search</b>(<i></i>) |
623 <b>__search</b>(<i></i>) |
625 |
|
626 <p> |
624 <p> |
627 Private method to handle the search action. |
625 Private method to handle the search action. |
628 </p> |
626 </p> |
|
627 |
629 <a NAME="HexEditMainWindow.__setCurrentFile" ID="HexEditMainWindow.__setCurrentFile"></a> |
628 <a NAME="HexEditMainWindow.__setCurrentFile" ID="HexEditMainWindow.__setCurrentFile"></a> |
630 <h4>HexEditMainWindow.__setCurrentFile</h4> |
629 <h4>HexEditMainWindow.__setCurrentFile</h4> |
631 <b>__setCurrentFile</b>(<i>fileName</i>) |
630 <b>__setCurrentFile</b>(<i>fileName</i>) |
632 |
|
633 <p> |
631 <p> |
634 Private method to register the file name of the current file. |
632 Private method to register the file name of the current file. |
635 </p> |
633 </p> |
|
634 |
636 <dl> |
635 <dl> |
637 |
636 |
638 <dt><i>fileName</i> (str)</dt> |
637 <dt><i>fileName</i> (str)</dt> |
639 <dd> |
638 <dd> |
640 name of the file to register |
639 name of the file to register |
641 </dd> |
640 </dd> |
642 </dl> |
641 </dl> |
643 <a NAME="HexEditMainWindow.__setReadOnlyActionTexts" ID="HexEditMainWindow.__setReadOnlyActionTexts"></a> |
642 <a NAME="HexEditMainWindow.__setReadOnlyActionTexts" ID="HexEditMainWindow.__setReadOnlyActionTexts"></a> |
644 <h4>HexEditMainWindow.__setReadOnlyActionTexts</h4> |
643 <h4>HexEditMainWindow.__setReadOnlyActionTexts</h4> |
645 <b>__setReadOnlyActionTexts</b>(<i></i>) |
644 <b>__setReadOnlyActionTexts</b>(<i></i>) |
646 |
|
647 <p> |
645 <p> |
648 Private method to switch the 'Open Read Only' action between |
646 Private method to switch the 'Open Read Only' action between |
649 'read only' and 'read write'. |
647 'read only' and 'read write'. |
650 </p> |
648 </p> |
|
649 |
651 <a NAME="HexEditMainWindow.__showAddress" ID="HexEditMainWindow.__showAddress"></a> |
650 <a NAME="HexEditMainWindow.__showAddress" ID="HexEditMainWindow.__showAddress"></a> |
652 <h4>HexEditMainWindow.__showAddress</h4> |
651 <h4>HexEditMainWindow.__showAddress</h4> |
653 <b>__showAddress</b>(<i>address</i>) |
652 <b>__showAddress</b>(<i>address</i>) |
654 |
|
655 <p> |
653 <p> |
656 Private slot to show the address of the cursor position. |
654 Private slot to show the address of the cursor position. |
657 </p> |
655 </p> |
|
656 |
658 <dl> |
657 <dl> |
659 |
658 |
660 <dt><i>address</i> (int)</dt> |
659 <dt><i>address</i> (int)</dt> |
661 <dd> |
660 <dd> |
662 address of the cursor |
661 address of the cursor |
663 </dd> |
662 </dd> |
664 </dl> |
663 </dl> |
665 <a NAME="HexEditMainWindow.__showEditMode" ID="HexEditMainWindow.__showEditMode"></a> |
664 <a NAME="HexEditMainWindow.__showEditMode" ID="HexEditMainWindow.__showEditMode"></a> |
666 <h4>HexEditMainWindow.__showEditMode</h4> |
665 <h4>HexEditMainWindow.__showEditMode</h4> |
667 <b>__showEditMode</b>(<i>overwrite</i>) |
666 <b>__showEditMode</b>(<i>overwrite</i>) |
668 |
|
669 <p> |
667 <p> |
670 Private slot to show the edit mode. |
668 Private slot to show the edit mode. |
671 </p> |
669 </p> |
|
670 |
672 <dl> |
671 <dl> |
673 |
672 |
674 <dt><i>overwrite</i> (bool)</dt> |
673 <dt><i>overwrite</i> (bool)</dt> |
675 <dd> |
674 <dd> |
676 flag indicating overwrite mode |
675 flag indicating overwrite mode |
677 </dd> |
676 </dd> |
678 </dl> |
677 </dl> |
679 <a NAME="HexEditMainWindow.__showFileMenu" ID="HexEditMainWindow.__showFileMenu"></a> |
678 <a NAME="HexEditMainWindow.__showFileMenu" ID="HexEditMainWindow.__showFileMenu"></a> |
680 <h4>HexEditMainWindow.__showFileMenu</h4> |
679 <h4>HexEditMainWindow.__showFileMenu</h4> |
681 <b>__showFileMenu</b>(<i></i>) |
680 <b>__showFileMenu</b>(<i></i>) |
682 |
|
683 <p> |
681 <p> |
684 Private slot to modify the file menu before being shown. |
682 Private slot to modify the file menu before being shown. |
685 </p> |
683 </p> |
|
684 |
686 <a NAME="HexEditMainWindow.__showPreferences" ID="HexEditMainWindow.__showPreferences"></a> |
685 <a NAME="HexEditMainWindow.__showPreferences" ID="HexEditMainWindow.__showPreferences"></a> |
687 <h4>HexEditMainWindow.__showPreferences</h4> |
686 <h4>HexEditMainWindow.__showPreferences</h4> |
688 <b>__showPreferences</b>(<i></i>) |
687 <b>__showPreferences</b>(<i></i>) |
689 |
|
690 <p> |
688 <p> |
691 Private slot to set the preferences. |
689 Private slot to set the preferences. |
692 </p> |
690 </p> |
|
691 |
693 <a NAME="HexEditMainWindow.__showReadOnlyMode" ID="HexEditMainWindow.__showReadOnlyMode"></a> |
692 <a NAME="HexEditMainWindow.__showReadOnlyMode" ID="HexEditMainWindow.__showReadOnlyMode"></a> |
694 <h4>HexEditMainWindow.__showReadOnlyMode</h4> |
693 <h4>HexEditMainWindow.__showReadOnlyMode</h4> |
695 <b>__showReadOnlyMode</b>(<i>on</i>) |
694 <b>__showReadOnlyMode</b>(<i>on</i>) |
696 |
|
697 <p> |
695 <p> |
698 Private slot to show the read only mode. |
696 Private slot to show the read only mode. |
699 </p> |
697 </p> |
|
698 |
700 <dl> |
699 <dl> |
701 |
700 |
702 <dt><i>on</i> (bool)</dt> |
701 <dt><i>on</i> (bool)</dt> |
703 <dd> |
702 <dd> |
704 flag indicating the read only state |
703 flag indicating the read only state |
705 </dd> |
704 </dd> |
706 </dl> |
705 </dl> |
707 <a NAME="HexEditMainWindow.__showRecentMenu" ID="HexEditMainWindow.__showRecentMenu"></a> |
706 <a NAME="HexEditMainWindow.__showRecentMenu" ID="HexEditMainWindow.__showRecentMenu"></a> |
708 <h4>HexEditMainWindow.__showRecentMenu</h4> |
707 <h4>HexEditMainWindow.__showRecentMenu</h4> |
709 <b>__showRecentMenu</b>(<i></i>) |
708 <b>__showRecentMenu</b>(<i></i>) |
710 |
|
711 <p> |
709 <p> |
712 Private slot to set up the recent files menu. |
710 Private slot to set up the recent files menu. |
713 </p> |
711 </p> |
|
712 |
714 <a NAME="HexEditMainWindow.__showSelectionInfo" ID="HexEditMainWindow.__showSelectionInfo"></a> |
713 <a NAME="HexEditMainWindow.__showSelectionInfo" ID="HexEditMainWindow.__showSelectionInfo"></a> |
715 <h4>HexEditMainWindow.__showSelectionInfo</h4> |
714 <h4>HexEditMainWindow.__showSelectionInfo</h4> |
716 <b>__showSelectionInfo</b>(<i>avail</i>) |
715 <b>__showSelectionInfo</b>(<i>avail</i>) |
717 |
|
718 <p> |
716 <p> |
719 Private slot to show selection information. |
717 Private slot to show selection information. |
720 </p> |
718 </p> |
|
719 |
721 <dl> |
720 <dl> |
722 |
721 |
723 <dt><i>avail</i> (bool)</dt> |
722 <dt><i>avail</i> (bool)</dt> |
724 <dd> |
723 <dd> |
725 flag indicating the availability of a selection. |
724 flag indicating the availability of a selection. |
726 </dd> |
725 </dd> |
727 </dl> |
726 </dl> |
728 <a NAME="HexEditMainWindow.__showSize" ID="HexEditMainWindow.__showSize"></a> |
727 <a NAME="HexEditMainWindow.__showSize" ID="HexEditMainWindow.__showSize"></a> |
729 <h4>HexEditMainWindow.__showSize</h4> |
728 <h4>HexEditMainWindow.__showSize</h4> |
730 <b>__showSize</b>(<i>size</i>) |
729 <b>__showSize</b>(<i>size</i>) |
731 |
|
732 <p> |
730 <p> |
733 Private slot to show the binary data size. |
731 Private slot to show the binary data size. |
734 </p> |
732 </p> |
|
733 |
735 <dl> |
734 <dl> |
736 |
735 |
737 <dt><i>size</i> (int)</dt> |
736 <dt><i>size</i> (int)</dt> |
738 <dd> |
737 <dd> |
739 size of the binary data |
738 size of the binary data |
740 </dd> |
739 </dd> |
741 </dl> |
740 </dl> |
742 <a NAME="HexEditMainWindow.__strippedName" ID="HexEditMainWindow.__strippedName"></a> |
741 <a NAME="HexEditMainWindow.__strippedName" ID="HexEditMainWindow.__strippedName"></a> |
743 <h4>HexEditMainWindow.__strippedName</h4> |
742 <h4>HexEditMainWindow.__strippedName</h4> |
744 <b>__strippedName</b>(<i>fullFileName</i>) |
743 <b>__strippedName</b>(<i>fullFileName</i>) |
745 |
|
746 <p> |
744 <p> |
747 Private method to return the filename part of the given path. |
745 Private method to return the filename part of the given path. |
748 </p> |
746 </p> |
|
747 |
749 <dl> |
748 <dl> |
750 |
749 |
751 <dt><i>fullFileName</i> (str)</dt> |
750 <dt><i>fullFileName</i> (str)</dt> |
752 <dd> |
751 <dd> |
753 full pathname of the given file |
752 full pathname of the given file |
766 </dd> |
765 </dd> |
767 </dl> |
766 </dl> |
768 <a NAME="HexEditMainWindow.__toggleEditMode" ID="HexEditMainWindow.__toggleEditMode"></a> |
767 <a NAME="HexEditMainWindow.__toggleEditMode" ID="HexEditMainWindow.__toggleEditMode"></a> |
769 <h4>HexEditMainWindow.__toggleEditMode</h4> |
768 <h4>HexEditMainWindow.__toggleEditMode</h4> |
770 <b>__toggleEditMode</b>(<i></i>) |
769 <b>__toggleEditMode</b>(<i></i>) |
771 |
|
772 <p> |
770 <p> |
773 Private slot to toggle the edit mode upon a click on the status bar |
771 Private slot to toggle the edit mode upon a click on the status bar |
774 label. |
772 label. |
775 </p> |
773 </p> |
|
774 |
776 <a NAME="HexEditMainWindow.__toggleReadOnlyMode" ID="HexEditMainWindow.__toggleReadOnlyMode"></a> |
775 <a NAME="HexEditMainWindow.__toggleReadOnlyMode" ID="HexEditMainWindow.__toggleReadOnlyMode"></a> |
777 <h4>HexEditMainWindow.__toggleReadOnlyMode</h4> |
776 <h4>HexEditMainWindow.__toggleReadOnlyMode</h4> |
778 <b>__toggleReadOnlyMode</b>(<i></i>) |
777 <b>__toggleReadOnlyMode</b>(<i></i>) |
779 |
|
780 <p> |
778 <p> |
781 Private slot to toggle the read only mode upon a click on the status |
779 Private slot to toggle the read only mode upon a click on the status |
782 bar label. |
780 bar label. |
783 </p> |
781 </p> |
|
782 |
784 <a NAME="HexEditMainWindow.__whatsThis" ID="HexEditMainWindow.__whatsThis"></a> |
783 <a NAME="HexEditMainWindow.__whatsThis" ID="HexEditMainWindow.__whatsThis"></a> |
785 <h4>HexEditMainWindow.__whatsThis</h4> |
784 <h4>HexEditMainWindow.__whatsThis</h4> |
786 <b>__whatsThis</b>(<i></i>) |
785 <b>__whatsThis</b>(<i></i>) |
787 |
|
788 <p> |
786 <p> |
789 Private slot called in to enter Whats This mode. |
787 Private slot called in to enter Whats This mode. |
790 </p> |
788 </p> |
|
789 |
791 <a NAME="HexEditMainWindow.closeEvent" ID="HexEditMainWindow.closeEvent"></a> |
790 <a NAME="HexEditMainWindow.closeEvent" ID="HexEditMainWindow.closeEvent"></a> |
792 <h4>HexEditMainWindow.closeEvent</h4> |
791 <h4>HexEditMainWindow.closeEvent</h4> |
793 <b>closeEvent</b>(<i>evt</i>) |
792 <b>closeEvent</b>(<i>evt</i>) |
794 |
|
795 <p> |
793 <p> |
796 Protected event handler for the close event. |
794 Protected event handler for the close event. |
797 </p> |
795 </p> |
|
796 |
798 <dl> |
797 <dl> |
799 |
798 |
800 <dt><i>evt</i> (QCloseEvent)</dt> |
799 <dt><i>evt</i> (QCloseEvent)</dt> |
801 <dd> |
800 <dd> |
802 reference to the close event |
801 reference to the close event |