src/eric7/Documentation/Source/eric7.HexEdit.HexEditWidget.html

branch
eric7
changeset 10479
856476537696
parent 9209
b99e7fd55fd3
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.HexEdit.HexEditWidget</h1> 9 <h1>eric7.HexEdit.HexEditWidget</h1>
10
11 <p> 10 <p>
12 Module implementing an editor for binary data. 11 Module implementing an editor for binary data.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#HexEditWidget">HexEditWidget</a></td> 22 <td><a href="#HexEditWidget">HexEditWidget</a></td>
25 <td>Class implementing an editor for binary data.</td> 23 <td>Class implementing an editor for binary data.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="HexEditWidget" ID="HexEditWidget"></a> 34 <a NAME="HexEditWidget" ID="HexEditWidget"></a>
36 <h2>HexEditWidget</h2> 35 <h2>HexEditWidget</h2>
37
38 <p> 36 <p>
39 Class implementing an editor for binary data. 37 Class implementing an editor for binary data.
40 </p> 38 </p>
39
41 <h3>Signals</h3> 40 <h3>Signals</h3>
42 <dl> 41 <dl>
43 42
44 <dt>canRedoChanged(bool)</dt> 43 <dt>canRedoChanged(bool)</dt>
45 <dd> 44 <dd>
80 </dd> 79 </dd>
81 </dl> 80 </dl>
82 <h3>Derived from</h3> 81 <h3>Derived from</h3>
83 QAbstractScrollArea 82 QAbstractScrollArea
84 <h3>Class Attributes</h3> 83 <h3>Class Attributes</h3>
85
86 <table> 84 <table>
87 <tr><td>BYTES_PER_LINE</td></tr><tr><td>HEXCHARS_PER_LINE</td></tr> 85 <tr><td>BYTES_PER_LINE</td></tr>
86 <tr><td>HEXCHARS_PER_LINE</td></tr>
88 </table> 87 </table>
88
89 <h3>Class Methods</h3> 89 <h3>Class Methods</h3>
90
91 <table> 90 <table>
92 <tr><td>None</td></tr> 91 <tr><td>None</td></tr>
93 </table> 92 </table>
93
94 <h3>Methods</h3> 94 <h3>Methods</h3>
95
96 <table> 95 <table>
97
98 <tr> 96 <tr>
99 <td><a href="#HexEditWidget.__init__">HexEditWidget</a></td> 97 <td><a href="#HexEditWidget.__init__">HexEditWidget</a></td>
100 <td>Constructor</td> 98 <td>Constructor</td>
101 </tr> 99 </tr>
102 <tr> 100 <tr>
474 <tr> 472 <tr>
475 <td><a href="#HexEditWidget.write">write</a></td> 473 <td><a href="#HexEditWidget.write">write</a></td>
476 <td>Public method to write data from a given position to a device.</td> 474 <td>Public method to write data from a given position to a device.</td>
477 </tr> 475 </tr>
478 </table> 476 </table>
477
479 <h3>Static Methods</h3> 478 <h3>Static Methods</h3>
480
481 <table> 479 <table>
482 <tr><td>None</td></tr> 480 <tr><td>None</td></tr>
483 </table> 481 </table>
484 482
483
485 <a NAME="HexEditWidget.__init__" ID="HexEditWidget.__init__"></a> 484 <a NAME="HexEditWidget.__init__" ID="HexEditWidget.__init__"></a>
486 <h4>HexEditWidget (Constructor)</h4> 485 <h4>HexEditWidget (Constructor)</h4>
487 <b>HexEditWidget</b>(<i>parent=None</i>) 486 <b>HexEditWidget</b>(<i>parent=None</i>)
488
489 <p> 487 <p>
490 Constructor 488 Constructor
491 </p> 489 </p>
490
492 <dl> 491 <dl>
493 492
494 <dt><i>parent</i> (QWidget)</dt> 493 <dt><i>parent</i> (QWidget)</dt>
495 <dd> 494 <dd>
496 refernce to the parent widget 495 refernce to the parent widget
497 </dd> 496 </dd>
498 </dl> 497 </dl>
499 <a NAME="HexEditWidget.__adjust" ID="HexEditWidget.__adjust"></a> 498 <a NAME="HexEditWidget.__adjust" ID="HexEditWidget.__adjust"></a>
500 <h4>HexEditWidget.__adjust</h4> 499 <h4>HexEditWidget.__adjust</h4>
501 <b>__adjust</b>(<i></i>) 500 <b>__adjust</b>(<i></i>)
502
503 <p> 501 <p>
504 Private slot to recalculate pixel positions. 502 Private slot to recalculate pixel positions.
505 </p> 503 </p>
504
506 <a NAME="HexEditWidget.__canRedoChanged" ID="HexEditWidget.__canRedoChanged"></a> 505 <a NAME="HexEditWidget.__canRedoChanged" ID="HexEditWidget.__canRedoChanged"></a>
507 <h4>HexEditWidget.__canRedoChanged</h4> 506 <h4>HexEditWidget.__canRedoChanged</h4>
508 <b>__canRedoChanged</b>(<i></i>) 507 <b>__canRedoChanged</b>(<i></i>)
509
510 <p> 508 <p>
511 Private slot handling changes of the Redo state. 509 Private slot handling changes of the Redo state.
512 </p> 510 </p>
511
513 <a NAME="HexEditWidget.__canUndoChanged" ID="HexEditWidget.__canUndoChanged"></a> 512 <a NAME="HexEditWidget.__canUndoChanged" ID="HexEditWidget.__canUndoChanged"></a>
514 <h4>HexEditWidget.__canUndoChanged</h4> 513 <h4>HexEditWidget.__canUndoChanged</h4>
515 <b>__canUndoChanged</b>(<i></i>) 514 <b>__canUndoChanged</b>(<i></i>)
516
517 <p> 515 <p>
518 Private slot handling changes of the Undo state. 516 Private slot handling changes of the Undo state.
519 </p> 517 </p>
518
520 <a NAME="HexEditWidget.__dataChangedPrivate" ID="HexEditWidget.__dataChangedPrivate"></a> 519 <a NAME="HexEditWidget.__dataChangedPrivate" ID="HexEditWidget.__dataChangedPrivate"></a>
521 <h4>HexEditWidget.__dataChangedPrivate</h4> 520 <h4>HexEditWidget.__dataChangedPrivate</h4>
522 <b>__dataChangedPrivate</b>(<i>idx=0</i>) 521 <b>__dataChangedPrivate</b>(<i>idx=0</i>)
523
524 <p> 522 <p>
525 Private slot to handle data changes. 523 Private slot to handle data changes.
526 </p> 524 </p>
525
527 <dl> 526 <dl>
528 527
529 <dt><i>idx</i> (int)</dt> 528 <dt><i>idx</i> (int)</dt>
530 <dd> 529 <dd>
531 index 530 index
532 </dd> 531 </dd>
533 </dl> 532 </dl>
534 <a NAME="HexEditWidget.__fromHex" ID="HexEditWidget.__fromHex"></a> 533 <a NAME="HexEditWidget.__fromHex" ID="HexEditWidget.__fromHex"></a>
535 <h4>HexEditWidget.__fromHex</h4> 534 <h4>HexEditWidget.__fromHex</h4>
536 <b>__fromHex</b>(<i>byteArray</i>) 535 <b>__fromHex</b>(<i>byteArray</i>)
537
538 <p> 536 <p>
539 Private method to convert data of a Python bytearray from hex. 537 Private method to convert data of a Python bytearray from hex.
540 </p> 538 </p>
539
541 <dl> 540 <dl>
542 541
543 <dt><i>byteArray</i> (bytearray)</dt> 542 <dt><i>byteArray</i> (bytearray)</dt>
544 <dd> 543 <dd>
545 byte array to be converted 544 byte array to be converted
558 </dd> 557 </dd>
559 </dl> 558 </dl>
560 <a NAME="HexEditWidget.__initialize" ID="HexEditWidget.__initialize"></a> 559 <a NAME="HexEditWidget.__initialize" ID="HexEditWidget.__initialize"></a>
561 <h4>HexEditWidget.__initialize</h4> 560 <h4>HexEditWidget.__initialize</h4>
562 <b>__initialize</b>(<i></i>) 561 <b>__initialize</b>(<i></i>)
563
564 <p> 562 <p>
565 Private method to do some initialization. 563 Private method to do some initialization.
566 </p> 564 </p>
565
567 <a NAME="HexEditWidget.__readBuffers" ID="HexEditWidget.__readBuffers"></a> 566 <a NAME="HexEditWidget.__readBuffers" ID="HexEditWidget.__readBuffers"></a>
568 <h4>HexEditWidget.__readBuffers</h4> 567 <h4>HexEditWidget.__readBuffers</h4>
569 <b>__readBuffers</b>(<i></i>) 568 <b>__readBuffers</b>(<i></i>)
570
571 <p> 569 <p>
572 Private method to read the buffers. 570 Private method to read the buffers.
573 </p> 571 </p>
572
574 <a NAME="HexEditWidget.__refresh" ID="HexEditWidget.__refresh"></a> 573 <a NAME="HexEditWidget.__refresh" ID="HexEditWidget.__refresh"></a>
575 <h4>HexEditWidget.__refresh</h4> 574 <h4>HexEditWidget.__refresh</h4>
576 <b>__refresh</b>(<i></i>) 575 <b>__refresh</b>(<i></i>)
577
578 <p> 576 <p>
579 Private slot to refresh the display. 577 Private slot to refresh the display.
580 </p> 578 </p>
579
581 <a NAME="HexEditWidget.__resetSelection" ID="HexEditWidget.__resetSelection"></a> 580 <a NAME="HexEditWidget.__resetSelection" ID="HexEditWidget.__resetSelection"></a>
582 <h4>HexEditWidget.__resetSelection</h4> 581 <h4>HexEditWidget.__resetSelection</h4>
583 <b>__resetSelection</b>(<i>pos=None</i>) 582 <b>__resetSelection</b>(<i>pos=None</i>)
584
585 <p> 583 <p>
586 Private method to reset the selection. 584 Private method to reset the selection.
587 </p> 585 </p>
586
588 <dl> 587 <dl>
589 588
590 <dt><i>pos</i> (int or None)</dt> 589 <dt><i>pos</i> (int or None)</dt>
591 <dd> 590 <dd>
592 position to set selection start and end to 591 position to set selection start and end to
594 </dd> 593 </dd>
595 </dl> 594 </dl>
596 <a NAME="HexEditWidget.__setData" ID="HexEditWidget.__setData"></a> 595 <a NAME="HexEditWidget.__setData" ID="HexEditWidget.__setData"></a>
597 <h4>HexEditWidget.__setData</h4> 596 <h4>HexEditWidget.__setData</h4>
598 <b>__setData</b>(<i>ioDevice</i>) 597 <b>__setData</b>(<i>ioDevice</i>)
599
600 <p> 598 <p>
601 Private method to set the data to show. 599 Private method to set the data to show.
602 </p> 600 </p>
601
603 <dl> 602 <dl>
604 603
605 <dt><i>ioDevice</i> (QIODevice)</dt> 604 <dt><i>ioDevice</i> (QIODevice)</dt>
606 <dd> 605 <dd>
607 device containing the data 606 device containing the data
620 </dd> 619 </dd>
621 </dl> 620 </dl>
622 <a NAME="HexEditWidget.__setHexCursorRect" ID="HexEditWidget.__setHexCursorRect"></a> 621 <a NAME="HexEditWidget.__setHexCursorRect" ID="HexEditWidget.__setHexCursorRect"></a>
623 <h4>HexEditWidget.__setHexCursorRect</h4> 622 <h4>HexEditWidget.__setHexCursorRect</h4>
624 <b>__setHexCursorRect</b>(<i></i>) 623 <b>__setHexCursorRect</b>(<i></i>)
625
626 <p> 624 <p>
627 Private method to set the cursor. 625 Private method to set the cursor.
628 </p> 626 </p>
627
629 <a NAME="HexEditWidget.__setSelection" ID="HexEditWidget.__setSelection"></a> 628 <a NAME="HexEditWidget.__setSelection" ID="HexEditWidget.__setSelection"></a>
630 <h4>HexEditWidget.__setSelection</h4> 629 <h4>HexEditWidget.__setSelection</h4>
631 <b>__setSelection</b>(<i>pos</i>) 630 <b>__setSelection</b>(<i>pos</i>)
632
633 <p> 631 <p>
634 Private method to set the selection. 632 Private method to set the selection.
635 </p> 633 </p>
634
636 <dl> 635 <dl>
637 636
638 <dt><i>pos</i> (int)</dt> 637 <dt><i>pos</i> (int)</dt>
639 <dd> 638 <dd>
640 position 639 position
641 </dd> 640 </dd>
642 </dl> 641 </dl>
643 <a NAME="HexEditWidget.__toHex" ID="HexEditWidget.__toHex"></a> 642 <a NAME="HexEditWidget.__toHex" ID="HexEditWidget.__toHex"></a>
644 <h4>HexEditWidget.__toHex</h4> 643 <h4>HexEditWidget.__toHex</h4>
645 <b>__toHex</b>(<i>byteArray</i>) 644 <b>__toHex</b>(<i>byteArray</i>)
646
647 <p> 645 <p>
648 Private method to convert the data of a Python bytearray to hex. 646 Private method to convert the data of a Python bytearray to hex.
649 </p> 647 </p>
648
650 <dl> 649 <dl>
651 650
652 <dt><i>byteArray</i> (bytearray)</dt> 651 <dt><i>byteArray</i> (bytearray)</dt>
653 <dd> 652 <dd>
654 byte array to be converted 653 byte array to be converted
667 </dd> 666 </dd>
668 </dl> 667 </dl>
669 <a NAME="HexEditWidget.__toReadable" ID="HexEditWidget.__toReadable"></a> 668 <a NAME="HexEditWidget.__toReadable" ID="HexEditWidget.__toReadable"></a>
670 <h4>HexEditWidget.__toReadable</h4> 669 <h4>HexEditWidget.__toReadable</h4>
671 <b>__toReadable</b>(<i>byteArray</i>) 670 <b>__toReadable</b>(<i>byteArray</i>)
672
673 <p> 671 <p>
674 Private method to convert some data into a readable format. 672 Private method to convert some data into a readable format.
675 </p> 673 </p>
674
676 <dl> 675 <dl>
677 676
678 <dt><i>byteArray</i> (bytearray or QByteArray)</dt> 677 <dt><i>byteArray</i> (bytearray or QByteArray)</dt>
679 <dd> 678 <dd>
680 data to be converted 679 data to be converted
693 </dd> 692 </dd>
694 </dl> 693 </dl>
695 <a NAME="HexEditWidget.__updateCursor" ID="HexEditWidget.__updateCursor"></a> 694 <a NAME="HexEditWidget.__updateCursor" ID="HexEditWidget.__updateCursor"></a>
696 <h4>HexEditWidget.__updateCursor</h4> 695 <h4>HexEditWidget.__updateCursor</h4>
697 <b>__updateCursor</b>(<i></i>) 696 <b>__updateCursor</b>(<i></i>)
698
699 <p> 697 <p>
700 Private slot to update the blinking cursor. 698 Private slot to update the blinking cursor.
701 </p> 699 </p>
700
702 <a NAME="HexEditWidget.addressArea" ID="HexEditWidget.addressArea"></a> 701 <a NAME="HexEditWidget.addressArea" ID="HexEditWidget.addressArea"></a>
703 <h4>HexEditWidget.addressArea</h4> 702 <h4>HexEditWidget.addressArea</h4>
704 <b>addressArea</b>(<i></i>) 703 <b>addressArea</b>(<i></i>)
705
706 <p> 704 <p>
707 Public method to get the address area visibility. 705 Public method to get the address area visibility.
708 </p> 706 </p>
707
709 <dl> 708 <dl>
710 <dt>Return:</dt> 709 <dt>Return:</dt>
711 <dd> 710 <dd>
712 flag indicating the address area visibility 711 flag indicating the address area visibility
713 </dd> 712 </dd>
719 </dd> 718 </dd>
720 </dl> 719 </dl>
721 <a NAME="HexEditWidget.addressOffset" ID="HexEditWidget.addressOffset"></a> 720 <a NAME="HexEditWidget.addressOffset" ID="HexEditWidget.addressOffset"></a>
722 <h4>HexEditWidget.addressOffset</h4> 721 <h4>HexEditWidget.addressOffset</h4>
723 <b>addressOffset</b>(<i></i>) 722 <b>addressOffset</b>(<i></i>)
724
725 <p> 723 <p>
726 Public method to get the address offset. 724 Public method to get the address offset.
727 </p> 725 </p>
726
728 <dl> 727 <dl>
729 <dt>Return:</dt> 728 <dt>Return:</dt>
730 <dd> 729 <dd>
731 address offset 730 address offset
732 </dd> 731 </dd>
738 </dd> 737 </dd>
739 </dl> 738 </dl>
740 <a NAME="HexEditWidget.addressWidth" ID="HexEditWidget.addressWidth"></a> 739 <a NAME="HexEditWidget.addressWidth" ID="HexEditWidget.addressWidth"></a>
741 <h4>HexEditWidget.addressWidth</h4> 740 <h4>HexEditWidget.addressWidth</h4>
742 <b>addressWidth</b>(<i></i>) 741 <b>addressWidth</b>(<i></i>)
743
744 <p> 742 <p>
745 Public method to get the width of the address area in 743 Public method to get the width of the address area in
746 characters. 744 characters.
747 </p> 745 </p>
748 <p> 746 <p>
749 Note: The address area width is always a multiple of four. 747 Note: The address area width is always a multiple of four.
750 </p> 748 </p>
749
751 <dl> 750 <dl>
752 <dt>Return:</dt> 751 <dt>Return:</dt>
753 <dd> 752 <dd>
754 minimum width of the address area 753 minimum width of the address area
755 </dd> 754 </dd>
761 </dd> 760 </dd>
762 </dl> 761 </dl>
763 <a NAME="HexEditWidget.asciiArea" ID="HexEditWidget.asciiArea"></a> 762 <a NAME="HexEditWidget.asciiArea" ID="HexEditWidget.asciiArea"></a>
764 <h4>HexEditWidget.asciiArea</h4> 763 <h4>HexEditWidget.asciiArea</h4>
765 <b>asciiArea</b>(<i></i>) 764 <b>asciiArea</b>(<i></i>)
766
767 <p> 765 <p>
768 Public method to get the visibility of the ASCII area. 766 Public method to get the visibility of the ASCII area.
769 </p> 767 </p>
768
770 <dl> 769 <dl>
771 <dt>Return:</dt> 770 <dt>Return:</dt>
772 <dd> 771 <dd>
773 visibility of the ASCII area 772 visibility of the ASCII area
774 </dd> 773 </dd>
780 </dd> 779 </dd>
781 </dl> 780 </dl>
782 <a NAME="HexEditWidget.copy" ID="HexEditWidget.copy"></a> 781 <a NAME="HexEditWidget.copy" ID="HexEditWidget.copy"></a>
783 <h4>HexEditWidget.copy</h4> 782 <h4>HexEditWidget.copy</h4>
784 <b>copy</b>(<i></i>) 783 <b>copy</b>(<i></i>)
785
786 <p> 784 <p>
787 Public method to copy the selected bytes to the clipboard. 785 Public method to copy the selected bytes to the clipboard.
788 </p> 786 </p>
787
789 <a NAME="HexEditWidget.cursorBytePosition" ID="HexEditWidget.cursorBytePosition"></a> 788 <a NAME="HexEditWidget.cursorBytePosition" ID="HexEditWidget.cursorBytePosition"></a>
790 <h4>HexEditWidget.cursorBytePosition</h4> 789 <h4>HexEditWidget.cursorBytePosition</h4>
791 <b>cursorBytePosition</b>(<i></i>) 790 <b>cursorBytePosition</b>(<i></i>)
792
793 <p> 791 <p>
794 Public method to get the cursor position in bytes. 792 Public method to get the cursor position in bytes.
795 </p> 793 </p>
794
796 <dl> 795 <dl>
797 <dt>Return:</dt> 796 <dt>Return:</dt>
798 <dd> 797 <dd>
799 cursor position in bytes 798 cursor position in bytes
800 </dd> 799 </dd>
806 </dd> 805 </dd>
807 </dl> 806 </dl>
808 <a NAME="HexEditWidget.cursorPosition" ID="HexEditWidget.cursorPosition"></a> 807 <a NAME="HexEditWidget.cursorPosition" ID="HexEditWidget.cursorPosition"></a>
809 <h4>HexEditWidget.cursorPosition</h4> 808 <h4>HexEditWidget.cursorPosition</h4>
810 <b>cursorPosition</b>(<i></i>) 809 <b>cursorPosition</b>(<i></i>)
811
812 <p> 810 <p>
813 Public method to get the cursor position. 811 Public method to get the cursor position.
814 </p> 812 </p>
813
815 <dl> 814 <dl>
816 <dt>Return:</dt> 815 <dt>Return:</dt>
817 <dd> 816 <dd>
818 cursor position 817 cursor position
819 </dd> 818 </dd>
825 </dd> 824 </dd>
826 </dl> 825 </dl>
827 <a NAME="HexEditWidget.cursorPositionFromPoint" ID="HexEditWidget.cursorPositionFromPoint"></a> 826 <a NAME="HexEditWidget.cursorPositionFromPoint" ID="HexEditWidget.cursorPositionFromPoint"></a>
828 <h4>HexEditWidget.cursorPositionFromPoint</h4> 827 <h4>HexEditWidget.cursorPositionFromPoint</h4>
829 <b>cursorPositionFromPoint</b>(<i>point</i>) 828 <b>cursorPositionFromPoint</b>(<i>point</i>)
830
831 <p> 829 <p>
832 Public method to calculate a cursor position from a graphics position. 830 Public method to calculate a cursor position from a graphics position.
833 </p> 831 </p>
832
834 <dl> 833 <dl>
835 834
836 <dt><i>point</i> (QPoint)</dt> 835 <dt><i>point</i> (QPoint)</dt>
837 <dd> 836 <dd>
838 graphics position 837 graphics position
851 </dd> 850 </dd>
852 </dl> 851 </dl>
853 <a NAME="HexEditWidget.cut" ID="HexEditWidget.cut"></a> 852 <a NAME="HexEditWidget.cut" ID="HexEditWidget.cut"></a>
854 <h4>HexEditWidget.cut</h4> 853 <h4>HexEditWidget.cut</h4>
855 <b>cut</b>(<i></i>) 854 <b>cut</b>(<i></i>)
856
857 <p> 855 <p>
858 Public method to cut the selected bytes and move them to the clipboard. 856 Public method to cut the selected bytes and move them to the clipboard.
859 </p> 857 </p>
858
860 <a NAME="HexEditWidget.data" ID="HexEditWidget.data"></a> 859 <a NAME="HexEditWidget.data" ID="HexEditWidget.data"></a>
861 <h4>HexEditWidget.data</h4> 860 <h4>HexEditWidget.data</h4>
862 <b>data</b>(<i></i>) 861 <b>data</b>(<i></i>)
863
864 <p> 862 <p>
865 Public method to get the binary data. 863 Public method to get the binary data.
866 </p> 864 </p>
865
867 <dl> 866 <dl>
868 <dt>Return:</dt> 867 <dt>Return:</dt>
869 <dd> 868 <dd>
870 binary data 869 binary data
871 </dd> 870 </dd>
877 </dd> 876 </dd>
878 </dl> 877 </dl>
879 <a NAME="HexEditWidget.dataAt" ID="HexEditWidget.dataAt"></a> 878 <a NAME="HexEditWidget.dataAt" ID="HexEditWidget.dataAt"></a>
880 <h4>HexEditWidget.dataAt</h4> 879 <h4>HexEditWidget.dataAt</h4>
881 <b>dataAt</b>(<i>pos, count=-1</i>) 880 <b>dataAt</b>(<i>pos, count=-1</i>)
882
883 <p> 881 <p>
884 Public method to get data from a given position. 882 Public method to get data from a given position.
885 </p> 883 </p>
884
886 <dl> 885 <dl>
887 886
888 <dt><i>pos</i> (int)</dt> 887 <dt><i>pos</i> (int)</dt>
889 <dd> 888 <dd>
890 position to get data from 889 position to get data from
907 </dd> 906 </dd>
908 </dl> 907 </dl>
909 <a NAME="HexEditWidget.deleteByte" ID="HexEditWidget.deleteByte"></a> 908 <a NAME="HexEditWidget.deleteByte" ID="HexEditWidget.deleteByte"></a>
910 <h4>HexEditWidget.deleteByte</h4> 909 <h4>HexEditWidget.deleteByte</h4>
911 <b>deleteByte</b>(<i></i>) 910 <b>deleteByte</b>(<i></i>)
912
913 <p> 911 <p>
914 Public method to delete the current byte. 912 Public method to delete the current byte.
915 </p> 913 </p>
914
916 <a NAME="HexEditWidget.deleteByteBack" ID="HexEditWidget.deleteByteBack"></a> 915 <a NAME="HexEditWidget.deleteByteBack" ID="HexEditWidget.deleteByteBack"></a>
917 <h4>HexEditWidget.deleteByteBack</h4> 916 <h4>HexEditWidget.deleteByteBack</h4>
918 <b>deleteByteBack</b>(<i></i>) 917 <b>deleteByteBack</b>(<i></i>)
919
920 <p> 918 <p>
921 Public method to delete the previous byte. 919 Public method to delete the previous byte.
922 </p> 920 </p>
921
923 <a NAME="HexEditWidget.deselectAll" ID="HexEditWidget.deselectAll"></a> 922 <a NAME="HexEditWidget.deselectAll" ID="HexEditWidget.deselectAll"></a>
924 <h4>HexEditWidget.deselectAll</h4> 923 <h4>HexEditWidget.deselectAll</h4>
925 <b>deselectAll</b>(<i></i>) 924 <b>deselectAll</b>(<i></i>)
926
927 <p> 925 <p>
928 Public method to deselect all data. 926 Public method to deselect all data.
929 </p> 927 </p>
928
930 <a NAME="HexEditWidget.ensureVisible" ID="HexEditWidget.ensureVisible"></a> 929 <a NAME="HexEditWidget.ensureVisible" ID="HexEditWidget.ensureVisible"></a>
931 <h4>HexEditWidget.ensureVisible</h4> 930 <h4>HexEditWidget.ensureVisible</h4>
932 <b>ensureVisible</b>(<i></i>) 931 <b>ensureVisible</b>(<i></i>)
933
934 <p> 932 <p>
935 Public method to ensure, that the cursor is visible. 933 Public method to ensure, that the cursor is visible.
936 </p> 934 </p>
935
937 <a NAME="HexEditWidget.font" ID="HexEditWidget.font"></a> 936 <a NAME="HexEditWidget.font" ID="HexEditWidget.font"></a>
938 <h4>HexEditWidget.font</h4> 937 <h4>HexEditWidget.font</h4>
939 <b>font</b>(<i></i>) 938 <b>font</b>(<i></i>)
940
941 <p> 939 <p>
942 Public method to get the font used to show the data. 940 Public method to get the font used to show the data.
943 </p> 941 </p>
942
944 <dl> 943 <dl>
945 <dt>Return:</dt> 944 <dt>Return:</dt>
946 <dd> 945 <dd>
947 font used to show the data 946 font used to show the data
948 </dd> 947 </dd>
954 </dd> 953 </dd>
955 </dl> 954 </dl>
956 <a NAME="HexEditWidget.getSelectionBegin" ID="HexEditWidget.getSelectionBegin"></a> 955 <a NAME="HexEditWidget.getSelectionBegin" ID="HexEditWidget.getSelectionBegin"></a>
957 <h4>HexEditWidget.getSelectionBegin</h4> 956 <h4>HexEditWidget.getSelectionBegin</h4>
958 <b>getSelectionBegin</b>(<i></i>) 957 <b>getSelectionBegin</b>(<i></i>)
959
960 <p> 958 <p>
961 Public method to get the start of the selection. 959 Public method to get the start of the selection.
962 </p> 960 </p>
961
963 <dl> 962 <dl>
964 <dt>Return:</dt> 963 <dt>Return:</dt>
965 <dd> 964 <dd>
966 selection start 965 selection start
967 </dd> 966 </dd>
973 </dd> 972 </dd>
974 </dl> 973 </dl>
975 <a NAME="HexEditWidget.getSelectionEnd" ID="HexEditWidget.getSelectionEnd"></a> 974 <a NAME="HexEditWidget.getSelectionEnd" ID="HexEditWidget.getSelectionEnd"></a>
976 <h4>HexEditWidget.getSelectionEnd</h4> 975 <h4>HexEditWidget.getSelectionEnd</h4>
977 <b>getSelectionEnd</b>(<i></i>) 976 <b>getSelectionEnd</b>(<i></i>)
978
979 <p> 977 <p>
980 Public method to get the end of the selection. 978 Public method to get the end of the selection.
981 </p> 979 </p>
980
982 <dl> 981 <dl>
983 <dt>Return:</dt> 982 <dt>Return:</dt>
984 <dd> 983 <dd>
985 selection end 984 selection end
986 </dd> 985 </dd>
992 </dd> 991 </dd>
993 </dl> 992 </dl>
994 <a NAME="HexEditWidget.getSelectionLength" ID="HexEditWidget.getSelectionLength"></a> 993 <a NAME="HexEditWidget.getSelectionLength" ID="HexEditWidget.getSelectionLength"></a>
995 <h4>HexEditWidget.getSelectionLength</h4> 994 <h4>HexEditWidget.getSelectionLength</h4>
996 <b>getSelectionLength</b>(<i></i>) 995 <b>getSelectionLength</b>(<i></i>)
997
998 <p> 996 <p>
999 Public method to get the length of the selection. 997 Public method to get the length of the selection.
1000 </p> 998 </p>
999
1001 <dl> 1000 <dl>
1002 <dt>Return:</dt> 1001 <dt>Return:</dt>
1003 <dd> 1002 <dd>
1004 selection length 1003 selection length
1005 </dd> 1004 </dd>
1011 </dd> 1010 </dd>
1012 </dl> 1011 </dl>
1013 <a NAME="HexEditWidget.goto" ID="HexEditWidget.goto"></a> 1012 <a NAME="HexEditWidget.goto" ID="HexEditWidget.goto"></a>
1014 <h4>HexEditWidget.goto</h4> 1013 <h4>HexEditWidget.goto</h4>
1015 <b>goto</b>(<i>offset, fromCursor=False, backwards=False, extendSelection=False</i>) 1014 <b>goto</b>(<i>offset, fromCursor=False, backwards=False, extendSelection=False</i>)
1016
1017 <p> 1015 <p>
1018 Public method to move the cursor. 1016 Public method to move the cursor.
1019 </p> 1017 </p>
1018
1020 <dl> 1019 <dl>
1021 1020
1022 <dt><i>offset</i> (int)</dt> 1021 <dt><i>offset</i> (int)</dt>
1023 <dd> 1022 <dd>
1024 offset to move to 1023 offset to move to
1037 </dd> 1036 </dd>
1038 </dl> 1037 </dl>
1039 <a NAME="HexEditWidget.hasSelection" ID="HexEditWidget.hasSelection"></a> 1038 <a NAME="HexEditWidget.hasSelection" ID="HexEditWidget.hasSelection"></a>
1040 <h4>HexEditWidget.hasSelection</h4> 1039 <h4>HexEditWidget.hasSelection</h4>
1041 <b>hasSelection</b>(<i></i>) 1040 <b>hasSelection</b>(<i></i>)
1042
1043 <p> 1041 <p>
1044 Public method to test for a selection. 1042 Public method to test for a selection.
1045 </p> 1043 </p>
1044
1046 <dl> 1045 <dl>
1047 <dt>Return:</dt> 1046 <dt>Return:</dt>
1048 <dd> 1047 <dd>
1049 flag indicating the presence of a selection 1048 flag indicating the presence of a selection
1050 </dd> 1049 </dd>
1056 </dd> 1055 </dd>
1057 </dl> 1056 </dl>
1058 <a NAME="HexEditWidget.highlighting" ID="HexEditWidget.highlighting"></a> 1057 <a NAME="HexEditWidget.highlighting" ID="HexEditWidget.highlighting"></a>
1059 <h4>HexEditWidget.highlighting</h4> 1058 <h4>HexEditWidget.highlighting</h4>
1060 <b>highlighting</b>(<i></i>) 1059 <b>highlighting</b>(<i></i>)
1061
1062 <p> 1060 <p>
1063 Public method to get the highlighting state. 1061 Public method to get the highlighting state.
1064 </p> 1062 </p>
1063
1065 <dl> 1064 <dl>
1066 <dt>Return:</dt> 1065 <dt>Return:</dt>
1067 <dd> 1066 <dd>
1068 highlighting state 1067 highlighting state
1069 </dd> 1068 </dd>
1075 </dd> 1074 </dd>
1076 </dl> 1075 </dl>
1077 <a NAME="HexEditWidget.indexOf" ID="HexEditWidget.indexOf"></a> 1076 <a NAME="HexEditWidget.indexOf" ID="HexEditWidget.indexOf"></a>
1078 <h4>HexEditWidget.indexOf</h4> 1077 <h4>HexEditWidget.indexOf</h4>
1079 <b>indexOf</b>(<i>byteArray, start</i>) 1078 <b>indexOf</b>(<i>byteArray, start</i>)
1080
1081 <p> 1079 <p>
1082 Public method to find the first occurrence of a byte array in our data. 1080 Public method to find the first occurrence of a byte array in our data.
1083 </p> 1081 </p>
1082
1084 <dl> 1083 <dl>
1085 1084
1086 <dt><i>byteArray</i> (bytearray or QByteArray)</dt> 1085 <dt><i>byteArray</i> (bytearray or QByteArray)</dt>
1087 <dd> 1086 <dd>
1088 data to search for 1087 data to search for
1105 </dd> 1104 </dd>
1106 </dl> 1105 </dl>
1107 <a NAME="HexEditWidget.insert" ID="HexEditWidget.insert"></a> 1106 <a NAME="HexEditWidget.insert" ID="HexEditWidget.insert"></a>
1108 <h4>HexEditWidget.insert</h4> 1107 <h4>HexEditWidget.insert</h4>
1109 <b>insert</b>(<i>pos, ch</i>) 1108 <b>insert</b>(<i>pos, ch</i>)
1110
1111 <p> 1109 <p>
1112 Public method to insert a byte. 1110 Public method to insert a byte.
1113 </p> 1111 </p>
1112
1114 <dl> 1113 <dl>
1115 1114
1116 <dt><i>pos</i> (int)</dt> 1115 <dt><i>pos</i> (int)</dt>
1117 <dd> 1116 <dd>
1118 position to insert the byte at 1117 position to insert the byte at
1123 </dd> 1122 </dd>
1124 </dl> 1123 </dl>
1125 <a NAME="HexEditWidget.insertByteArray" ID="HexEditWidget.insertByteArray"></a> 1124 <a NAME="HexEditWidget.insertByteArray" ID="HexEditWidget.insertByteArray"></a>
1126 <h4>HexEditWidget.insertByteArray</h4> 1125 <h4>HexEditWidget.insertByteArray</h4>
1127 <b>insertByteArray</b>(<i>pos, byteArray</i>) 1126 <b>insertByteArray</b>(<i>pos, byteArray</i>)
1128
1129 <p> 1127 <p>
1130 Public method to insert bytes. 1128 Public method to insert bytes.
1131 </p> 1129 </p>
1130
1132 <dl> 1131 <dl>
1133 1132
1134 <dt><i>pos</i> (int)</dt> 1133 <dt><i>pos</i> (int)</dt>
1135 <dd> 1134 <dd>
1136 position to insert the bytes at 1135 position to insert the bytes at
1141 </dd> 1140 </dd>
1142 </dl> 1141 </dl>
1143 <a NAME="HexEditWidget.isModified" ID="HexEditWidget.isModified"></a> 1142 <a NAME="HexEditWidget.isModified" ID="HexEditWidget.isModified"></a>
1144 <h4>HexEditWidget.isModified</h4> 1143 <h4>HexEditWidget.isModified</h4>
1145 <b>isModified</b>(<i></i>) 1144 <b>isModified</b>(<i></i>)
1146
1147 <p> 1145 <p>
1148 Public method to check for any modification. 1146 Public method to check for any modification.
1149 </p> 1147 </p>
1148
1150 <dl> 1149 <dl>
1151 <dt>Return:</dt> 1150 <dt>Return:</dt>
1152 <dd> 1151 <dd>
1153 flag indicating a modified state 1152 flag indicating a modified state
1154 </dd> 1153 </dd>
1160 </dd> 1159 </dd>
1161 </dl> 1160 </dl>
1162 <a NAME="HexEditWidget.isReadOnly" ID="HexEditWidget.isReadOnly"></a> 1161 <a NAME="HexEditWidget.isReadOnly" ID="HexEditWidget.isReadOnly"></a>
1163 <h4>HexEditWidget.isReadOnly</h4> 1162 <h4>HexEditWidget.isReadOnly</h4>
1164 <b>isReadOnly</b>(<i></i>) 1163 <b>isReadOnly</b>(<i></i>)
1165
1166 <p> 1164 <p>
1167 Public method to test the read only state. 1165 Public method to test the read only state.
1168 </p> 1166 </p>
1167
1169 <dl> 1168 <dl>
1170 <dt>Return:</dt> 1169 <dt>Return:</dt>
1171 <dd> 1170 <dd>
1172 flag indicating the read only state 1171 flag indicating the read only state
1173 </dd> 1172 </dd>
1179 </dd> 1178 </dd>
1180 </dl> 1179 </dl>
1181 <a NAME="HexEditWidget.keyPressEvent" ID="HexEditWidget.keyPressEvent"></a> 1180 <a NAME="HexEditWidget.keyPressEvent" ID="HexEditWidget.keyPressEvent"></a>
1182 <h4>HexEditWidget.keyPressEvent</h4> 1181 <h4>HexEditWidget.keyPressEvent</h4>
1183 <b>keyPressEvent</b>(<i>evt</i>) 1182 <b>keyPressEvent</b>(<i>evt</i>)
1184
1185 <p> 1183 <p>
1186 Protected method to handle key press events. 1184 Protected method to handle key press events.
1187 </p> 1185 </p>
1186
1188 <dl> 1187 <dl>
1189 1188
1190 <dt><i>evt</i> (QKeyEvent)</dt> 1189 <dt><i>evt</i> (QKeyEvent)</dt>
1191 <dd> 1190 <dd>
1192 reference to the key event 1191 reference to the key event
1193 </dd> 1192 </dd>
1194 </dl> 1193 </dl>
1195 <a NAME="HexEditWidget.lastIndexOf" ID="HexEditWidget.lastIndexOf"></a> 1194 <a NAME="HexEditWidget.lastIndexOf" ID="HexEditWidget.lastIndexOf"></a>
1196 <h4>HexEditWidget.lastIndexOf</h4> 1195 <h4>HexEditWidget.lastIndexOf</h4>
1197 <b>lastIndexOf</b>(<i>byteArray, start</i>) 1196 <b>lastIndexOf</b>(<i>byteArray, start</i>)
1198
1199 <p> 1197 <p>
1200 Public method to find the last occurrence of a byte array in our data. 1198 Public method to find the last occurrence of a byte array in our data.
1201 </p> 1199 </p>
1200
1202 <dl> 1201 <dl>
1203 1202
1204 <dt><i>byteArray</i> (bytearray or QByteArray)</dt> 1203 <dt><i>byteArray</i> (bytearray or QByteArray)</dt>
1205 <dd> 1204 <dd>
1206 data to search for 1205 data to search for
1223 </dd> 1222 </dd>
1224 </dl> 1223 </dl>
1225 <a NAME="HexEditWidget.mouseMoveEvent" ID="HexEditWidget.mouseMoveEvent"></a> 1224 <a NAME="HexEditWidget.mouseMoveEvent" ID="HexEditWidget.mouseMoveEvent"></a>
1226 <h4>HexEditWidget.mouseMoveEvent</h4> 1225 <h4>HexEditWidget.mouseMoveEvent</h4>
1227 <b>mouseMoveEvent</b>(<i>evt</i>) 1226 <b>mouseMoveEvent</b>(<i>evt</i>)
1228
1229 <p> 1227 <p>
1230 Protected method to handle mouse moves. 1228 Protected method to handle mouse moves.
1231 </p> 1229 </p>
1230
1232 <dl> 1231 <dl>
1233 1232
1234 <dt><i>evt</i> (QMouseEvent)</dt> 1233 <dt><i>evt</i> (QMouseEvent)</dt>
1235 <dd> 1234 <dd>
1236 reference to the mouse event 1235 reference to the mouse event
1237 </dd> 1236 </dd>
1238 </dl> 1237 </dl>
1239 <a NAME="HexEditWidget.mousePressEvent" ID="HexEditWidget.mousePressEvent"></a> 1238 <a NAME="HexEditWidget.mousePressEvent" ID="HexEditWidget.mousePressEvent"></a>
1240 <h4>HexEditWidget.mousePressEvent</h4> 1239 <h4>HexEditWidget.mousePressEvent</h4>
1241 <b>mousePressEvent</b>(<i>evt</i>) 1240 <b>mousePressEvent</b>(<i>evt</i>)
1242
1243 <p> 1241 <p>
1244 Protected method to handle mouse button presses. 1242 Protected method to handle mouse button presses.
1245 </p> 1243 </p>
1244
1246 <dl> 1245 <dl>
1247 1246
1248 <dt><i>evt</i> (QMouseEvent)</dt> 1247 <dt><i>evt</i> (QMouseEvent)</dt>
1249 <dd> 1248 <dd>
1250 reference to the mouse event 1249 reference to the mouse event
1251 </dd> 1250 </dd>
1252 </dl> 1251 </dl>
1253 <a NAME="HexEditWidget.moveCursorToEndOfDocument" ID="HexEditWidget.moveCursorToEndOfDocument"></a> 1252 <a NAME="HexEditWidget.moveCursorToEndOfDocument" ID="HexEditWidget.moveCursorToEndOfDocument"></a>
1254 <h4>HexEditWidget.moveCursorToEndOfDocument</h4> 1253 <h4>HexEditWidget.moveCursorToEndOfDocument</h4>
1255 <b>moveCursorToEndOfDocument</b>(<i></i>) 1254 <b>moveCursorToEndOfDocument</b>(<i></i>)
1256
1257 <p> 1255 <p>
1258 Public method to move the cursor to the end of the data. 1256 Public method to move the cursor to the end of the data.
1259 </p> 1257 </p>
1258
1260 <a NAME="HexEditWidget.moveCursorToEndOfLine" ID="HexEditWidget.moveCursorToEndOfLine"></a> 1259 <a NAME="HexEditWidget.moveCursorToEndOfLine" ID="HexEditWidget.moveCursorToEndOfLine"></a>
1261 <h4>HexEditWidget.moveCursorToEndOfLine</h4> 1260 <h4>HexEditWidget.moveCursorToEndOfLine</h4>
1262 <b>moveCursorToEndOfLine</b>(<i></i>) 1261 <b>moveCursorToEndOfLine</b>(<i></i>)
1263
1264 <p> 1262 <p>
1265 Public method to move the cursor to the end of the current line. 1263 Public method to move the cursor to the end of the current line.
1266 </p> 1264 </p>
1265
1267 <a NAME="HexEditWidget.moveCursorToNextChar" ID="HexEditWidget.moveCursorToNextChar"></a> 1266 <a NAME="HexEditWidget.moveCursorToNextChar" ID="HexEditWidget.moveCursorToNextChar"></a>
1268 <h4>HexEditWidget.moveCursorToNextChar</h4> 1267 <h4>HexEditWidget.moveCursorToNextChar</h4>
1269 <b>moveCursorToNextChar</b>(<i></i>) 1268 <b>moveCursorToNextChar</b>(<i></i>)
1270
1271 <p> 1269 <p>
1272 Public method to move the cursor to the next byte. 1270 Public method to move the cursor to the next byte.
1273 </p> 1271 </p>
1272
1274 <a NAME="HexEditWidget.moveCursorToNextLine" ID="HexEditWidget.moveCursorToNextLine"></a> 1273 <a NAME="HexEditWidget.moveCursorToNextLine" ID="HexEditWidget.moveCursorToNextLine"></a>
1275 <h4>HexEditWidget.moveCursorToNextLine</h4> 1274 <h4>HexEditWidget.moveCursorToNextLine</h4>
1276 <b>moveCursorToNextLine</b>(<i></i>) 1275 <b>moveCursorToNextLine</b>(<i></i>)
1277
1278 <p> 1276 <p>
1279 Public method to move the cursor to the next line. 1277 Public method to move the cursor to the next line.
1280 </p> 1278 </p>
1279
1281 <a NAME="HexEditWidget.moveCursorToNextPage" ID="HexEditWidget.moveCursorToNextPage"></a> 1280 <a NAME="HexEditWidget.moveCursorToNextPage" ID="HexEditWidget.moveCursorToNextPage"></a>
1282 <h4>HexEditWidget.moveCursorToNextPage</h4> 1281 <h4>HexEditWidget.moveCursorToNextPage</h4>
1283 <b>moveCursorToNextPage</b>(<i></i>) 1282 <b>moveCursorToNextPage</b>(<i></i>)
1284
1285 <p> 1283 <p>
1286 Public method to move the cursor to the next page. 1284 Public method to move the cursor to the next page.
1287 </p> 1285 </p>
1286
1288 <a NAME="HexEditWidget.moveCursorToPreviousChar" ID="HexEditWidget.moveCursorToPreviousChar"></a> 1287 <a NAME="HexEditWidget.moveCursorToPreviousChar" ID="HexEditWidget.moveCursorToPreviousChar"></a>
1289 <h4>HexEditWidget.moveCursorToPreviousChar</h4> 1288 <h4>HexEditWidget.moveCursorToPreviousChar</h4>
1290 <b>moveCursorToPreviousChar</b>(<i></i>) 1289 <b>moveCursorToPreviousChar</b>(<i></i>)
1291
1292 <p> 1290 <p>
1293 Public method to move the cursor to the previous byte. 1291 Public method to move the cursor to the previous byte.
1294 </p> 1292 </p>
1293
1295 <a NAME="HexEditWidget.moveCursorToPreviousLine" ID="HexEditWidget.moveCursorToPreviousLine"></a> 1294 <a NAME="HexEditWidget.moveCursorToPreviousLine" ID="HexEditWidget.moveCursorToPreviousLine"></a>
1296 <h4>HexEditWidget.moveCursorToPreviousLine</h4> 1295 <h4>HexEditWidget.moveCursorToPreviousLine</h4>
1297 <b>moveCursorToPreviousLine</b>(<i></i>) 1296 <b>moveCursorToPreviousLine</b>(<i></i>)
1298
1299 <p> 1297 <p>
1300 Public method to move the cursor to the previous line. 1298 Public method to move the cursor to the previous line.
1301 </p> 1299 </p>
1300
1302 <a NAME="HexEditWidget.moveCursorToPreviousPage" ID="HexEditWidget.moveCursorToPreviousPage"></a> 1301 <a NAME="HexEditWidget.moveCursorToPreviousPage" ID="HexEditWidget.moveCursorToPreviousPage"></a>
1303 <h4>HexEditWidget.moveCursorToPreviousPage</h4> 1302 <h4>HexEditWidget.moveCursorToPreviousPage</h4>
1304 <b>moveCursorToPreviousPage</b>(<i></i>) 1303 <b>moveCursorToPreviousPage</b>(<i></i>)
1305
1306 <p> 1304 <p>
1307 Public method to move the cursor to the previous page. 1305 Public method to move the cursor to the previous page.
1308 </p> 1306 </p>
1307
1309 <a NAME="HexEditWidget.moveCursorToStartOfDocument" ID="HexEditWidget.moveCursorToStartOfDocument"></a> 1308 <a NAME="HexEditWidget.moveCursorToStartOfDocument" ID="HexEditWidget.moveCursorToStartOfDocument"></a>
1310 <h4>HexEditWidget.moveCursorToStartOfDocument</h4> 1309 <h4>HexEditWidget.moveCursorToStartOfDocument</h4>
1311 <b>moveCursorToStartOfDocument</b>(<i></i>) 1310 <b>moveCursorToStartOfDocument</b>(<i></i>)
1312
1313 <p> 1311 <p>
1314 Public method to move the cursor to the start of the data. 1312 Public method to move the cursor to the start of the data.
1315 </p> 1313 </p>
1314
1316 <a NAME="HexEditWidget.moveCursorToStartOfLine" ID="HexEditWidget.moveCursorToStartOfLine"></a> 1315 <a NAME="HexEditWidget.moveCursorToStartOfLine" ID="HexEditWidget.moveCursorToStartOfLine"></a>
1317 <h4>HexEditWidget.moveCursorToStartOfLine</h4> 1316 <h4>HexEditWidget.moveCursorToStartOfLine</h4>
1318 <b>moveCursorToStartOfLine</b>(<i></i>) 1317 <b>moveCursorToStartOfLine</b>(<i></i>)
1319
1320 <p> 1318 <p>
1321 Public method to move the cursor to the beginning of the current line. 1319 Public method to move the cursor to the beginning of the current line.
1322 </p> 1320 </p>
1321
1323 <a NAME="HexEditWidget.overwriteMode" ID="HexEditWidget.overwriteMode"></a> 1322 <a NAME="HexEditWidget.overwriteMode" ID="HexEditWidget.overwriteMode"></a>
1324 <h4>HexEditWidget.overwriteMode</h4> 1323 <h4>HexEditWidget.overwriteMode</h4>
1325 <b>overwriteMode</b>(<i></i>) 1324 <b>overwriteMode</b>(<i></i>)
1326
1327 <p> 1325 <p>
1328 Public method to get the overwrite mode. 1326 Public method to get the overwrite mode.
1329 </p> 1327 </p>
1328
1330 <dl> 1329 <dl>
1331 <dt>Return:</dt> 1330 <dt>Return:</dt>
1332 <dd> 1331 <dd>
1333 overwrite mode 1332 overwrite mode
1334 </dd> 1333 </dd>
1340 </dd> 1339 </dd>
1341 </dl> 1340 </dl>
1342 <a NAME="HexEditWidget.paintEvent" ID="HexEditWidget.paintEvent"></a> 1341 <a NAME="HexEditWidget.paintEvent" ID="HexEditWidget.paintEvent"></a>
1343 <h4>HexEditWidget.paintEvent</h4> 1342 <h4>HexEditWidget.paintEvent</h4>
1344 <b>paintEvent</b>(<i>evt</i>) 1343 <b>paintEvent</b>(<i>evt</i>)
1345
1346 <p> 1344 <p>
1347 Protected method to handle paint events. 1345 Protected method to handle paint events.
1348 </p> 1346 </p>
1347
1349 <dl> 1348 <dl>
1350 1349
1351 <dt><i>evt</i> (QPaintEvent)</dt> 1350 <dt><i>evt</i> (QPaintEvent)</dt>
1352 <dd> 1351 <dd>
1353 reference to the paint event 1352 reference to the paint event
1354 </dd> 1353 </dd>
1355 </dl> 1354 </dl>
1356 <a NAME="HexEditWidget.paste" ID="HexEditWidget.paste"></a> 1355 <a NAME="HexEditWidget.paste" ID="HexEditWidget.paste"></a>
1357 <h4>HexEditWidget.paste</h4> 1356 <h4>HexEditWidget.paste</h4>
1358 <b>paste</b>(<i></i>) 1357 <b>paste</b>(<i></i>)
1359
1360 <p> 1358 <p>
1361 Public method to paste bytes from the clipboard. 1359 Public method to paste bytes from the clipboard.
1362 </p> 1360 </p>
1361
1363 <a NAME="HexEditWidget.redo" ID="HexEditWidget.redo"></a> 1362 <a NAME="HexEditWidget.redo" ID="HexEditWidget.redo"></a>
1364 <h4>HexEditWidget.redo</h4> 1363 <h4>HexEditWidget.redo</h4>
1365 <b>redo</b>(<i></i>) 1364 <b>redo</b>(<i></i>)
1366
1367 <p> 1365 <p>
1368 Public slot to redo the last operation. 1366 Public slot to redo the last operation.
1369 </p> 1367 </p>
1368
1370 <a NAME="HexEditWidget.remove" ID="HexEditWidget.remove"></a> 1369 <a NAME="HexEditWidget.remove" ID="HexEditWidget.remove"></a>
1371 <h4>HexEditWidget.remove</h4> 1370 <h4>HexEditWidget.remove</h4>
1372 <b>remove</b>(<i>pos, length=1</i>) 1371 <b>remove</b>(<i>pos, length=1</i>)
1373
1374 <p> 1372 <p>
1375 Public method to remove bytes. 1373 Public method to remove bytes.
1376 </p> 1374 </p>
1375
1377 <dl> 1376 <dl>
1378 1377
1379 <dt><i>pos</i> (int)</dt> 1378 <dt><i>pos</i> (int)</dt>
1380 <dd> 1379 <dd>
1381 position to remove bytes from 1380 position to remove bytes from
1386 </dd> 1385 </dd>
1387 </dl> 1386 </dl>
1388 <a NAME="HexEditWidget.replace" ID="HexEditWidget.replace"></a> 1387 <a NAME="HexEditWidget.replace" ID="HexEditWidget.replace"></a>
1389 <h4>HexEditWidget.replace</h4> 1388 <h4>HexEditWidget.replace</h4>
1390 <b>replace</b>(<i>pos, ch</i>) 1389 <b>replace</b>(<i>pos, ch</i>)
1391
1392 <p> 1390 <p>
1393 Public method to replace a byte. 1391 Public method to replace a byte.
1394 </p> 1392 </p>
1393
1395 <dl> 1394 <dl>
1396 1395
1397 <dt><i>pos</i> (int)</dt> 1396 <dt><i>pos</i> (int)</dt>
1398 <dd> 1397 <dd>
1399 position to replace the byte at 1398 position to replace the byte at
1404 </dd> 1403 </dd>
1405 </dl> 1404 </dl>
1406 <a NAME="HexEditWidget.replaceByteArray" ID="HexEditWidget.replaceByteArray"></a> 1405 <a NAME="HexEditWidget.replaceByteArray" ID="HexEditWidget.replaceByteArray"></a>
1407 <h4>HexEditWidget.replaceByteArray</h4> 1406 <h4>HexEditWidget.replaceByteArray</h4>
1408 <b>replaceByteArray</b>(<i>pos, length, byteArray</i>) 1407 <b>replaceByteArray</b>(<i>pos, length, byteArray</i>)
1409
1410 <p> 1408 <p>
1411 Public method to replace bytes. 1409 Public method to replace bytes.
1412 </p> 1410 </p>
1411
1413 <dl> 1412 <dl>
1414 1413
1415 <dt><i>pos</i> (int)</dt> 1414 <dt><i>pos</i> (int)</dt>
1416 <dd> 1415 <dd>
1417 position to replace the bytes at 1416 position to replace the bytes at
1426 </dd> 1425 </dd>
1427 </dl> 1426 </dl>
1428 <a NAME="HexEditWidget.resizeEvent" ID="HexEditWidget.resizeEvent"></a> 1427 <a NAME="HexEditWidget.resizeEvent" ID="HexEditWidget.resizeEvent"></a>
1429 <h4>HexEditWidget.resizeEvent</h4> 1428 <h4>HexEditWidget.resizeEvent</h4>
1430 <b>resizeEvent</b>(<i>evt</i>) 1429 <b>resizeEvent</b>(<i>evt</i>)
1431
1432 <p> 1430 <p>
1433 Protected method to handle resize events. 1431 Protected method to handle resize events.
1434 </p> 1432 </p>
1433
1435 <dl> 1434 <dl>
1436 1435
1437 <dt><i>evt</i> (QResizeEvent)</dt> 1436 <dt><i>evt</i> (QResizeEvent)</dt>
1438 <dd> 1437 <dd>
1439 reference to the resize event 1438 reference to the resize event
1440 </dd> 1439 </dd>
1441 </dl> 1440 </dl>
1442 <a NAME="HexEditWidget.revertToUnmodified" ID="HexEditWidget.revertToUnmodified"></a> 1441 <a NAME="HexEditWidget.revertToUnmodified" ID="HexEditWidget.revertToUnmodified"></a>
1443 <h4>HexEditWidget.revertToUnmodified</h4> 1442 <h4>HexEditWidget.revertToUnmodified</h4>
1444 <b>revertToUnmodified</b>(<i></i>) 1443 <b>revertToUnmodified</b>(<i></i>)
1445
1446 <p> 1444 <p>
1447 Public slot to revert all changes. 1445 Public slot to revert all changes.
1448 </p> 1446 </p>
1447
1449 <a NAME="HexEditWidget.selectAll" ID="HexEditWidget.selectAll"></a> 1448 <a NAME="HexEditWidget.selectAll" ID="HexEditWidget.selectAll"></a>
1450 <h4>HexEditWidget.selectAll</h4> 1449 <h4>HexEditWidget.selectAll</h4>
1451 <b>selectAll</b>(<i></i>) 1450 <b>selectAll</b>(<i></i>)
1452
1453 <p> 1451 <p>
1454 Public method to select all data. 1452 Public method to select all data.
1455 </p> 1453 </p>
1454
1456 <a NAME="HexEditWidget.selectEndOfDocument" ID="HexEditWidget.selectEndOfDocument"></a> 1455 <a NAME="HexEditWidget.selectEndOfDocument" ID="HexEditWidget.selectEndOfDocument"></a>
1457 <h4>HexEditWidget.selectEndOfDocument</h4> 1456 <h4>HexEditWidget.selectEndOfDocument</h4>
1458 <b>selectEndOfDocument</b>(<i></i>) 1457 <b>selectEndOfDocument</b>(<i></i>)
1459
1460 <p> 1458 <p>
1461 Public method to extend the selection to the end of the data. 1459 Public method to extend the selection to the end of the data.
1462 </p> 1460 </p>
1461
1463 <a NAME="HexEditWidget.selectNextChar" ID="HexEditWidget.selectNextChar"></a> 1462 <a NAME="HexEditWidget.selectNextChar" ID="HexEditWidget.selectNextChar"></a>
1464 <h4>HexEditWidget.selectNextChar</h4> 1463 <h4>HexEditWidget.selectNextChar</h4>
1465 <b>selectNextChar</b>(<i></i>) 1464 <b>selectNextChar</b>(<i></i>)
1466
1467 <p> 1465 <p>
1468 Public method to extend the selection by one byte right. 1466 Public method to extend the selection by one byte right.
1469 </p> 1467 </p>
1468
1470 <a NAME="HexEditWidget.selectNextLine" ID="HexEditWidget.selectNextLine"></a> 1469 <a NAME="HexEditWidget.selectNextLine" ID="HexEditWidget.selectNextLine"></a>
1471 <h4>HexEditWidget.selectNextLine</h4> 1470 <h4>HexEditWidget.selectNextLine</h4>
1472 <b>selectNextLine</b>(<i></i>) 1471 <b>selectNextLine</b>(<i></i>)
1473
1474 <p> 1472 <p>
1475 Public method to extend the selection one line down. 1473 Public method to extend the selection one line down.
1476 </p> 1474 </p>
1475
1477 <a NAME="HexEditWidget.selectNextPage" ID="HexEditWidget.selectNextPage"></a> 1476 <a NAME="HexEditWidget.selectNextPage" ID="HexEditWidget.selectNextPage"></a>
1478 <h4>HexEditWidget.selectNextPage</h4> 1477 <h4>HexEditWidget.selectNextPage</h4>
1479 <b>selectNextPage</b>(<i></i>) 1478 <b>selectNextPage</b>(<i></i>)
1480
1481 <p> 1479 <p>
1482 Public method to extend the selection one page down. 1480 Public method to extend the selection one page down.
1483 </p> 1481 </p>
1482
1484 <a NAME="HexEditWidget.selectPreviousChar" ID="HexEditWidget.selectPreviousChar"></a> 1483 <a NAME="HexEditWidget.selectPreviousChar" ID="HexEditWidget.selectPreviousChar"></a>
1485 <h4>HexEditWidget.selectPreviousChar</h4> 1484 <h4>HexEditWidget.selectPreviousChar</h4>
1486 <b>selectPreviousChar</b>(<i></i>) 1485 <b>selectPreviousChar</b>(<i></i>)
1487
1488 <p> 1486 <p>
1489 Public method to extend the selection by one byte left. 1487 Public method to extend the selection by one byte left.
1490 </p> 1488 </p>
1489
1491 <a NAME="HexEditWidget.selectPreviousLine" ID="HexEditWidget.selectPreviousLine"></a> 1490 <a NAME="HexEditWidget.selectPreviousLine" ID="HexEditWidget.selectPreviousLine"></a>
1492 <h4>HexEditWidget.selectPreviousLine</h4> 1491 <h4>HexEditWidget.selectPreviousLine</h4>
1493 <b>selectPreviousLine</b>(<i></i>) 1492 <b>selectPreviousLine</b>(<i></i>)
1494
1495 <p> 1493 <p>
1496 Public method to extend the selection one line up. 1494 Public method to extend the selection one line up.
1497 </p> 1495 </p>
1496
1498 <a NAME="HexEditWidget.selectPreviousPage" ID="HexEditWidget.selectPreviousPage"></a> 1497 <a NAME="HexEditWidget.selectPreviousPage" ID="HexEditWidget.selectPreviousPage"></a>
1499 <h4>HexEditWidget.selectPreviousPage</h4> 1498 <h4>HexEditWidget.selectPreviousPage</h4>
1500 <b>selectPreviousPage</b>(<i></i>) 1499 <b>selectPreviousPage</b>(<i></i>)
1501
1502 <p> 1500 <p>
1503 Public method to extend the selection one page up. 1501 Public method to extend the selection one page up.
1504 </p> 1502 </p>
1503
1505 <a NAME="HexEditWidget.selectStartOfDocument" ID="HexEditWidget.selectStartOfDocument"></a> 1504 <a NAME="HexEditWidget.selectStartOfDocument" ID="HexEditWidget.selectStartOfDocument"></a>
1506 <h4>HexEditWidget.selectStartOfDocument</h4> 1505 <h4>HexEditWidget.selectStartOfDocument</h4>
1507 <b>selectStartOfDocument</b>(<i></i>) 1506 <b>selectStartOfDocument</b>(<i></i>)
1508
1509 <p> 1507 <p>
1510 Public method to extend the selection to the start of the data. 1508 Public method to extend the selection to the start of the data.
1511 </p> 1509 </p>
1510
1512 <a NAME="HexEditWidget.selectToEndOfLine" ID="HexEditWidget.selectToEndOfLine"></a> 1511 <a NAME="HexEditWidget.selectToEndOfLine" ID="HexEditWidget.selectToEndOfLine"></a>
1513 <h4>HexEditWidget.selectToEndOfLine</h4> 1512 <h4>HexEditWidget.selectToEndOfLine</h4>
1514 <b>selectToEndOfLine</b>(<i></i>) 1513 <b>selectToEndOfLine</b>(<i></i>)
1515
1516 <p> 1514 <p>
1517 Public method to extend the selection to the end of line. 1515 Public method to extend the selection to the end of line.
1518 </p> 1516 </p>
1517
1519 <a NAME="HexEditWidget.selectToStartOfLine" ID="HexEditWidget.selectToStartOfLine"></a> 1518 <a NAME="HexEditWidget.selectToStartOfLine" ID="HexEditWidget.selectToStartOfLine"></a>
1520 <h4>HexEditWidget.selectToStartOfLine</h4> 1519 <h4>HexEditWidget.selectToStartOfLine</h4>
1521 <b>selectToStartOfLine</b>(<i></i>) 1520 <b>selectToStartOfLine</b>(<i></i>)
1522
1523 <p> 1521 <p>
1524 Public method to extend the selection to the start of line. 1522 Public method to extend the selection to the start of line.
1525 </p> 1523 </p>
1524
1526 <a NAME="HexEditWidget.selectionToHexString" ID="HexEditWidget.selectionToHexString"></a> 1525 <a NAME="HexEditWidget.selectionToHexString" ID="HexEditWidget.selectionToHexString"></a>
1527 <h4>HexEditWidget.selectionToHexString</h4> 1526 <h4>HexEditWidget.selectionToHexString</h4>
1528 <b>selectionToHexString</b>(<i></i>) 1527 <b>selectionToHexString</b>(<i></i>)
1529
1530 <p> 1528 <p>
1531 Public method to get a hexadecimal representation of the selection. 1529 Public method to get a hexadecimal representation of the selection.
1532 </p> 1530 </p>
1531
1533 <dl> 1532 <dl>
1534 <dt>Return:</dt> 1533 <dt>Return:</dt>
1535 <dd> 1534 <dd>
1536 hexadecimal representation of the selection 1535 hexadecimal representation of the selection
1537 </dd> 1536 </dd>
1543 </dd> 1542 </dd>
1544 </dl> 1543 </dl>
1545 <a NAME="HexEditWidget.selectionToReadableString" ID="HexEditWidget.selectionToReadableString"></a> 1544 <a NAME="HexEditWidget.selectionToReadableString" ID="HexEditWidget.selectionToReadableString"></a>
1546 <h4>HexEditWidget.selectionToReadableString</h4> 1545 <h4>HexEditWidget.selectionToReadableString</h4>
1547 <b>selectionToReadableString</b>(<i></i>) 1546 <b>selectionToReadableString</b>(<i></i>)
1548
1549 <p> 1547 <p>
1550 Public method to get a formatted representation of the selection. 1548 Public method to get a formatted representation of the selection.
1551 </p> 1549 </p>
1550
1552 <dl> 1551 <dl>
1553 <dt>Return:</dt> 1552 <dt>Return:</dt>
1554 <dd> 1553 <dd>
1555 formatted representation of the selection 1554 formatted representation of the selection
1556 </dd> 1555 </dd>
1562 </dd> 1561 </dd>
1563 </dl> 1562 </dl>
1564 <a NAME="HexEditWidget.setAddressArea" ID="HexEditWidget.setAddressArea"></a> 1563 <a NAME="HexEditWidget.setAddressArea" ID="HexEditWidget.setAddressArea"></a>
1565 <h4>HexEditWidget.setAddressArea</h4> 1564 <h4>HexEditWidget.setAddressArea</h4>
1566 <b>setAddressArea</b>(<i>on</i>) 1565 <b>setAddressArea</b>(<i>on</i>)
1567
1568 <p> 1566 <p>
1569 Public method to set the address area visibility. 1567 Public method to set the address area visibility.
1570 </p> 1568 </p>
1569
1571 <dl> 1570 <dl>
1572 1571
1573 <dt><i>on</i> (bool)</dt> 1572 <dt><i>on</i> (bool)</dt>
1574 <dd> 1573 <dd>
1575 flag indicating the address area visibility 1574 flag indicating the address area visibility
1576 </dd> 1575 </dd>
1577 </dl> 1576 </dl>
1578 <a NAME="HexEditWidget.setAddressOffset" ID="HexEditWidget.setAddressOffset"></a> 1577 <a NAME="HexEditWidget.setAddressOffset" ID="HexEditWidget.setAddressOffset"></a>
1579 <h4>HexEditWidget.setAddressOffset</h4> 1578 <h4>HexEditWidget.setAddressOffset</h4>
1580 <b>setAddressOffset</b>(<i>offset</i>) 1579 <b>setAddressOffset</b>(<i>offset</i>)
1581
1582 <p> 1580 <p>
1583 Public method to set the address offset. 1581 Public method to set the address offset.
1584 </p> 1582 </p>
1583
1585 <dl> 1584 <dl>
1586 1585
1587 <dt><i>offset</i> (int)</dt> 1586 <dt><i>offset</i> (int)</dt>
1588 <dd> 1587 <dd>
1589 address offset 1588 address offset
1590 </dd> 1589 </dd>
1591 </dl> 1590 </dl>
1592 <a NAME="HexEditWidget.setAddressWidth" ID="HexEditWidget.setAddressWidth"></a> 1591 <a NAME="HexEditWidget.setAddressWidth" ID="HexEditWidget.setAddressWidth"></a>
1593 <h4>HexEditWidget.setAddressWidth</h4> 1592 <h4>HexEditWidget.setAddressWidth</h4>
1594 <b>setAddressWidth</b>(<i>width</i>) 1593 <b>setAddressWidth</b>(<i>width</i>)
1595
1596 <p> 1594 <p>
1597 Public method to set the width of the address area. 1595 Public method to set the width of the address area.
1598 </p> 1596 </p>
1599 <p> 1597 <p>
1600 Note: The address area width is always a multiple of four. 1598 Note: The address area width is always a multiple of four.
1601 The given value will be adjusted as required. 1599 The given value will be adjusted as required.
1602 </p> 1600 </p>
1601
1603 <dl> 1602 <dl>
1604 1603
1605 <dt><i>width</i> (int)</dt> 1604 <dt><i>width</i> (int)</dt>
1606 <dd> 1605 <dd>
1607 width of the address area in characters 1606 width of the address area in characters
1608 </dd> 1607 </dd>
1609 </dl> 1608 </dl>
1610 <a NAME="HexEditWidget.setAsciiArea" ID="HexEditWidget.setAsciiArea"></a> 1609 <a NAME="HexEditWidget.setAsciiArea" ID="HexEditWidget.setAsciiArea"></a>
1611 <h4>HexEditWidget.setAsciiArea</h4> 1610 <h4>HexEditWidget.setAsciiArea</h4>
1612 <b>setAsciiArea</b>(<i>on</i>) 1611 <b>setAsciiArea</b>(<i>on</i>)
1613
1614 <p> 1612 <p>
1615 Public method to set the visibility of the ASCII area. 1613 Public method to set the visibility of the ASCII area.
1616 </p> 1614 </p>
1615
1617 <dl> 1616 <dl>
1618 1617
1619 <dt><i>on</i> (bool)</dt> 1618 <dt><i>on</i> (bool)</dt>
1620 <dd> 1619 <dd>
1621 flag indicating the visibility of the ASCII area 1620 flag indicating the visibility of the ASCII area
1622 </dd> 1621 </dd>
1623 </dl> 1622 </dl>
1624 <a NAME="HexEditWidget.setCursorBytePosition" ID="HexEditWidget.setCursorBytePosition"></a> 1623 <a NAME="HexEditWidget.setCursorBytePosition" ID="HexEditWidget.setCursorBytePosition"></a>
1625 <h4>HexEditWidget.setCursorBytePosition</h4> 1624 <h4>HexEditWidget.setCursorBytePosition</h4>
1626 <b>setCursorBytePosition</b>(<i>pos</i>) 1625 <b>setCursorBytePosition</b>(<i>pos</i>)
1627
1628 <p> 1626 <p>
1629 Public method to set the cursor position in bytes. 1627 Public method to set the cursor position in bytes.
1630 </p> 1628 </p>
1629
1631 <dl> 1630 <dl>
1632 1631
1633 <dt><i>pos</i> (int)</dt> 1632 <dt><i>pos</i> (int)</dt>
1634 <dd> 1633 <dd>
1635 cursor position in bytes 1634 cursor position in bytes
1636 </dd> 1635 </dd>
1637 </dl> 1636 </dl>
1638 <a NAME="HexEditWidget.setCursorPosition" ID="HexEditWidget.setCursorPosition"></a> 1637 <a NAME="HexEditWidget.setCursorPosition" ID="HexEditWidget.setCursorPosition"></a>
1639 <h4>HexEditWidget.setCursorPosition</h4> 1638 <h4>HexEditWidget.setCursorPosition</h4>
1640 <b>setCursorPosition</b>(<i>pos</i>) 1639 <b>setCursorPosition</b>(<i>pos</i>)
1641
1642 <p> 1640 <p>
1643 Public method to set the cursor position. 1641 Public method to set the cursor position.
1644 </p> 1642 </p>
1643
1645 <dl> 1644 <dl>
1646 1645
1647 <dt><i>pos</i> (int)</dt> 1646 <dt><i>pos</i> (int)</dt>
1648 <dd> 1647 <dd>
1649 cursor position 1648 cursor position
1650 </dd> 1649 </dd>
1651 </dl> 1650 </dl>
1652 <a NAME="HexEditWidget.setData" ID="HexEditWidget.setData"></a> 1651 <a NAME="HexEditWidget.setData" ID="HexEditWidget.setData"></a>
1653 <h4>HexEditWidget.setData</h4> 1652 <h4>HexEditWidget.setData</h4>
1654 <b>setData</b>(<i>dataOrDevice</i>) 1653 <b>setData</b>(<i>dataOrDevice</i>)
1655
1656 <p> 1654 <p>
1657 Public method to set the data to show. 1655 Public method to set the data to show.
1658 </p> 1656 </p>
1657
1659 <dl> 1658 <dl>
1660 1659
1661 <dt><i>dataOrDevice</i> (bytes, bytearray, QByteArray or QIODevice)</dt> 1660 <dt><i>dataOrDevice</i> (bytes, bytearray, QByteArray or QIODevice)</dt>
1662 <dd> 1661 <dd>
1663 byte array or device containing the data 1662 byte array or device containing the data
1683 </dd> 1682 </dd>
1684 </dl> 1683 </dl>
1685 <a NAME="HexEditWidget.setFont" ID="HexEditWidget.setFont"></a> 1684 <a NAME="HexEditWidget.setFont" ID="HexEditWidget.setFont"></a>
1686 <h4>HexEditWidget.setFont</h4> 1685 <h4>HexEditWidget.setFont</h4>
1687 <b>setFont</b>(<i>font</i>) 1686 <b>setFont</b>(<i>font</i>)
1688
1689 <p> 1687 <p>
1690 Public method to set the font used to show the data. 1688 Public method to set the font used to show the data.
1691 </p> 1689 </p>
1690
1692 <dl> 1691 <dl>
1693 1692
1694 <dt><i>font</i> (QFont)</dt> 1693 <dt><i>font</i> (QFont)</dt>
1695 <dd> 1694 <dd>
1696 font used to show the data 1695 font used to show the data
1697 </dd> 1696 </dd>
1698 </dl> 1697 </dl>
1699 <a NAME="HexEditWidget.setHighlighting" ID="HexEditWidget.setHighlighting"></a> 1698 <a NAME="HexEditWidget.setHighlighting" ID="HexEditWidget.setHighlighting"></a>
1700 <h4>HexEditWidget.setHighlighting</h4> 1699 <h4>HexEditWidget.setHighlighting</h4>
1701 <b>setHighlighting</b>(<i>on</i>) 1700 <b>setHighlighting</b>(<i>on</i>)
1702
1703 <p> 1701 <p>
1704 Public method to set the highlighting state. 1702 Public method to set the highlighting state.
1705 </p> 1703 </p>
1704
1706 <dl> 1705 <dl>
1707 1706
1708 <dt><i>on</i> (bool)</dt> 1707 <dt><i>on</i> (bool)</dt>
1709 <dd> 1708 <dd>
1710 new highlighting state 1709 new highlighting state
1711 </dd> 1710 </dd>
1712 </dl> 1711 </dl>
1713 <a NAME="HexEditWidget.setModified" ID="HexEditWidget.setModified"></a> 1712 <a NAME="HexEditWidget.setModified" ID="HexEditWidget.setModified"></a>
1714 <h4>HexEditWidget.setModified</h4> 1713 <h4>HexEditWidget.setModified</h4>
1715 <b>setModified</b>(<i>modified, setCleanState=False</i>) 1714 <b>setModified</b>(<i>modified, setCleanState=False</i>)
1716
1717 <p> 1715 <p>
1718 Public slot to set the modified flag. 1716 Public slot to set the modified flag.
1719 </p> 1717 </p>
1718
1720 <dl> 1719 <dl>
1721 1720
1722 <dt><i>modified</i> (bool)</dt> 1721 <dt><i>modified</i> (bool)</dt>
1723 <dd> 1722 <dd>
1724 flag indicating the new modification status 1723 flag indicating the new modification status
1729 </dd> 1728 </dd>
1730 </dl> 1729 </dl>
1731 <a NAME="HexEditWidget.setOverwriteMode" ID="HexEditWidget.setOverwriteMode"></a> 1730 <a NAME="HexEditWidget.setOverwriteMode" ID="HexEditWidget.setOverwriteMode"></a>
1732 <h4>HexEditWidget.setOverwriteMode</h4> 1731 <h4>HexEditWidget.setOverwriteMode</h4>
1733 <b>setOverwriteMode</b>(<i>on</i>) 1732 <b>setOverwriteMode</b>(<i>on</i>)
1734
1735 <p> 1733 <p>
1736 Public method to set the overwrite mode. 1734 Public method to set the overwrite mode.
1737 </p> 1735 </p>
1736
1738 <dl> 1737 <dl>
1739 1738
1740 <dt><i>on</i> (bool)</dt> 1739 <dt><i>on</i> (bool)</dt>
1741 <dd> 1740 <dd>
1742 flag indicating the new overwrite mode 1741 flag indicating the new overwrite mode
1743 </dd> 1742 </dd>
1744 </dl> 1743 </dl>
1745 <a NAME="HexEditWidget.setReadOnly" ID="HexEditWidget.setReadOnly"></a> 1744 <a NAME="HexEditWidget.setReadOnly" ID="HexEditWidget.setReadOnly"></a>
1746 <h4>HexEditWidget.setReadOnly</h4> 1745 <h4>HexEditWidget.setReadOnly</h4>
1747 <b>setReadOnly</b>(<i>on</i>) 1746 <b>setReadOnly</b>(<i>on</i>)
1748
1749 <p> 1747 <p>
1750 Public method to set the read only state. 1748 Public method to set the read only state.
1751 </p> 1749 </p>
1750
1752 <dl> 1751 <dl>
1753 1752
1754 <dt><i>on</i> (bool)</dt> 1753 <dt><i>on</i> (bool)</dt>
1755 <dd> 1754 <dd>
1756 new read only state 1755 new read only state
1757 </dd> 1756 </dd>
1758 </dl> 1757 </dl>
1759 <a NAME="HexEditWidget.toReadableString" ID="HexEditWidget.toReadableString"></a> 1758 <a NAME="HexEditWidget.toReadableString" ID="HexEditWidget.toReadableString"></a>
1760 <h4>HexEditWidget.toReadableString</h4> 1759 <h4>HexEditWidget.toReadableString</h4>
1761 <b>toReadableString</b>(<i></i>) 1760 <b>toReadableString</b>(<i></i>)
1762
1763 <p> 1761 <p>
1764 Public method to get a formatted representation of our data. 1762 Public method to get a formatted representation of our data.
1765 </p> 1763 </p>
1764
1766 <dl> 1765 <dl>
1767 <dt>Return:</dt> 1766 <dt>Return:</dt>
1768 <dd> 1767 <dd>
1769 formatted representation of our data 1768 formatted representation of our data
1770 </dd> 1769 </dd>
1776 </dd> 1775 </dd>
1777 </dl> 1776 </dl>
1778 <a NAME="HexEditWidget.undo" ID="HexEditWidget.undo"></a> 1777 <a NAME="HexEditWidget.undo" ID="HexEditWidget.undo"></a>
1779 <h4>HexEditWidget.undo</h4> 1778 <h4>HexEditWidget.undo</h4>
1780 <b>undo</b>(<i></i>) 1779 <b>undo</b>(<i></i>)
1781
1782 <p> 1780 <p>
1783 Public slot to undo the last operation. 1781 Public slot to undo the last operation.
1784 </p> 1782 </p>
1783
1785 <a NAME="HexEditWidget.undoStack" ID="HexEditWidget.undoStack"></a> 1784 <a NAME="HexEditWidget.undoStack" ID="HexEditWidget.undoStack"></a>
1786 <h4>HexEditWidget.undoStack</h4> 1785 <h4>HexEditWidget.undoStack</h4>
1787 <b>undoStack</b>(<i></i>) 1786 <b>undoStack</b>(<i></i>)
1788
1789 <p> 1787 <p>
1790 Public method to get a reference to the undo stack. 1788 Public method to get a reference to the undo stack.
1791 </p> 1789 </p>
1790
1792 <dl> 1791 <dl>
1793 <dt>Return:</dt> 1792 <dt>Return:</dt>
1794 <dd> 1793 <dd>
1795 reference to the undo stack 1794 reference to the undo stack
1796 </dd> 1795 </dd>
1802 </dd> 1801 </dd>
1803 </dl> 1802 </dl>
1804 <a NAME="HexEditWidget.write" ID="HexEditWidget.write"></a> 1803 <a NAME="HexEditWidget.write" ID="HexEditWidget.write"></a>
1805 <h4>HexEditWidget.write</h4> 1804 <h4>HexEditWidget.write</h4>
1806 <b>write</b>(<i>device, pos=0, count=-1</i>) 1805 <b>write</b>(<i>device, pos=0, count=-1</i>)
1807
1808 <p> 1806 <p>
1809 Public method to write data from a given position to a device. 1807 Public method to write data from a given position to a device.
1810 </p> 1808 </p>
1809
1811 <dl> 1810 <dl>
1812 1811
1813 <dt><i>device</i> (QIODevice)</dt> 1812 <dt><i>device</i> (QIODevice)</dt>
1814 <dd> 1813 <dd>
1815 device to write to 1814 device to write to

eric ide

mercurial