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

branch
eric7
changeset 8877
548d45c3f571
parent 8596
d64760b2da50
child 9164
111fe229ee4f
equal deleted inserted replaced
8876:2001accf55b3 8877:548d45c3f571
162 <tr> 162 <tr>
163 <td><a href="#HexEditWidget.addressArea">addressArea</a></td> 163 <td><a href="#HexEditWidget.addressArea">addressArea</a></td>
164 <td>Public method to get the address area visibility.</td> 164 <td>Public method to get the address area visibility.</td>
165 </tr> 165 </tr>
166 <tr> 166 <tr>
167 <td><a href="#HexEditWidget.addressAreaColors">addressAreaColors</a></td>
168 <td>Public method to get the address area colors.</td>
169 </tr>
170 <tr>
171 <td><a href="#HexEditWidget.addressOffset">addressOffset</a></td> 167 <td><a href="#HexEditWidget.addressOffset">addressOffset</a></td>
172 <td>Public method to get the address offset.</td> 168 <td>Public method to get the address offset.</td>
173 </tr> 169 </tr>
174 <tr> 170 <tr>
175 <td><a href="#HexEditWidget.addressWidth">addressWidth</a></td> 171 <td><a href="#HexEditWidget.addressWidth">addressWidth</a></td>
246 <tr> 242 <tr>
247 <td><a href="#HexEditWidget.hasSelection">hasSelection</a></td> 243 <td><a href="#HexEditWidget.hasSelection">hasSelection</a></td>
248 <td>Public method to test for a selection.</td> 244 <td>Public method to test for a selection.</td>
249 </tr> 245 </tr>
250 <tr> 246 <tr>
251 <td><a href="#HexEditWidget.highlightColors">highlightColors</a></td>
252 <td>Public method to get the highlight colors.</td>
253 </tr>
254 <tr>
255 <td><a href="#HexEditWidget.highlighting">highlighting</a></td> 247 <td><a href="#HexEditWidget.highlighting">highlighting</a></td>
256 <td>Public method to get the highlighting state.</td> 248 <td>Public method to get the highlighting state.</td>
257 </tr> 249 </tr>
258 <tr> 250 <tr>
259 <td><a href="#HexEditWidget.indexOf">indexOf</a></td> 251 <td><a href="#HexEditWidget.indexOf">indexOf</a></td>
410 <tr> 402 <tr>
411 <td><a href="#HexEditWidget.selectToStartOfLine">selectToStartOfLine</a></td> 403 <td><a href="#HexEditWidget.selectToStartOfLine">selectToStartOfLine</a></td>
412 <td>Public method to extend the selection to the start of line.</td> 404 <td>Public method to extend the selection to the start of line.</td>
413 </tr> 405 </tr>
414 <tr> 406 <tr>
415 <td><a href="#HexEditWidget.selectionColors">selectionColors</a></td>
416 <td>Public method to get the selection colors.</td>
417 </tr>
418 <tr>
419 <td><a href="#HexEditWidget.selectionToHexString">selectionToHexString</a></td> 407 <td><a href="#HexEditWidget.selectionToHexString">selectionToHexString</a></td>
420 <td>Public method to get a hexadecimal representation of the selection.</td> 408 <td>Public method to get a hexadecimal representation of the selection.</td>
421 </tr> 409 </tr>
422 <tr> 410 <tr>
423 <td><a href="#HexEditWidget.selectionToReadableString">selectionToReadableString</a></td> 411 <td><a href="#HexEditWidget.selectionToReadableString">selectionToReadableString</a></td>
426 <tr> 414 <tr>
427 <td><a href="#HexEditWidget.setAddressArea">setAddressArea</a></td> 415 <td><a href="#HexEditWidget.setAddressArea">setAddressArea</a></td>
428 <td>Public method to set the address area visibility.</td> 416 <td>Public method to set the address area visibility.</td>
429 </tr> 417 </tr>
430 <tr> 418 <tr>
431 <td><a href="#HexEditWidget.setAddressAreaColors">setAddressAreaColors</a></td>
432 <td>Public method to set the address area colors.</td>
433 </tr>
434 <tr>
435 <td><a href="#HexEditWidget.setAddressOffset">setAddressOffset</a></td> 419 <td><a href="#HexEditWidget.setAddressOffset">setAddressOffset</a></td>
436 <td>Public method to set the address offset.</td> 420 <td>Public method to set the address offset.</td>
437 </tr> 421 </tr>
438 <tr> 422 <tr>
439 <td><a href="#HexEditWidget.setAddressWidth">setAddressWidth</a></td> 423 <td><a href="#HexEditWidget.setAddressWidth">setAddressWidth</a></td>
458 <tr> 442 <tr>
459 <td><a href="#HexEditWidget.setFont">setFont</a></td> 443 <td><a href="#HexEditWidget.setFont">setFont</a></td>
460 <td>Public method to set the font used to show the data.</td> 444 <td>Public method to set the font used to show the data.</td>
461 </tr> 445 </tr>
462 <tr> 446 <tr>
463 <td><a href="#HexEditWidget.setHighlightColors">setHighlightColors</a></td>
464 <td>Public method to set the highlight colors.</td>
465 </tr>
466 <tr>
467 <td><a href="#HexEditWidget.setHighlighting">setHighlighting</a></td> 447 <td><a href="#HexEditWidget.setHighlighting">setHighlighting</a></td>
468 <td>Public method to set the highlighting state.</td> 448 <td>Public method to set the highlighting state.</td>
469 </tr> 449 </tr>
470 <tr> 450 <tr>
471 <td><a href="#HexEditWidget.setModified">setModified</a></td> 451 <td><a href="#HexEditWidget.setModified">setModified</a></td>
476 <td>Public method to set the overwrite mode.</td> 456 <td>Public method to set the overwrite mode.</td>
477 </tr> 457 </tr>
478 <tr> 458 <tr>
479 <td><a href="#HexEditWidget.setReadOnly">setReadOnly</a></td> 459 <td><a href="#HexEditWidget.setReadOnly">setReadOnly</a></td>
480 <td>Public method to set the read only state.</td> 460 <td>Public method to set the read only state.</td>
481 </tr>
482 <tr>
483 <td><a href="#HexEditWidget.setSelectionColors">setSelectionColors</a></td>
484 <td>Public method to set the selection colors.</td>
485 </tr> 461 </tr>
486 <tr> 462 <tr>
487 <td><a href="#HexEditWidget.toReadableString">toReadableString</a></td> 463 <td><a href="#HexEditWidget.toReadableString">toReadableString</a></td>
488 <td>Public method to get a formatted representation of our data.</td> 464 <td>Public method to get a formatted representation of our data.</td>
489 </tr> 465 </tr>
740 <dt>Return Type:</dt> 716 <dt>Return Type:</dt>
741 <dd> 717 <dd>
742 bool 718 bool
743 </dd> 719 </dd>
744 </dl> 720 </dl>
745 <a NAME="HexEditWidget.addressAreaColors" ID="HexEditWidget.addressAreaColors"></a>
746 <h4>HexEditWidget.addressAreaColors</h4>
747 <b>addressAreaColors</b>(<i></i>)
748
749 <p>
750 Public method to get the address area colors.
751 </p>
752 <dl>
753 <dt>Return:</dt>
754 <dd>
755 address area foreground and background colors
756 </dd>
757 </dl>
758 <dl>
759 <dt>Return Type:</dt>
760 <dd>
761 tuple of 2 QColor
762 </dd>
763 </dl>
764 <a NAME="HexEditWidget.addressOffset" ID="HexEditWidget.addressOffset"></a> 721 <a NAME="HexEditWidget.addressOffset" ID="HexEditWidget.addressOffset"></a>
765 <h4>HexEditWidget.addressOffset</h4> 722 <h4>HexEditWidget.addressOffset</h4>
766 <b>addressOffset</b>(<i></i>) 723 <b>addressOffset</b>(<i></i>)
767 724
768 <p> 725 <p>
1096 <dt>Return Type:</dt> 1053 <dt>Return Type:</dt>
1097 <dd> 1054 <dd>
1098 bool 1055 bool
1099 </dd> 1056 </dd>
1100 </dl> 1057 </dl>
1101 <a NAME="HexEditWidget.highlightColors" ID="HexEditWidget.highlightColors"></a>
1102 <h4>HexEditWidget.highlightColors</h4>
1103 <b>highlightColors</b>(<i></i>)
1104
1105 <p>
1106 Public method to get the highlight colors.
1107 </p>
1108 <dl>
1109 <dt>Return:</dt>
1110 <dd>
1111 highlight foreground and background colors
1112 </dd>
1113 </dl>
1114 <dl>
1115 <dt>Return Type:</dt>
1116 <dd>
1117 tuple of 2 QColor
1118 </dd>
1119 </dl>
1120 <a NAME="HexEditWidget.highlighting" ID="HexEditWidget.highlighting"></a> 1058 <a NAME="HexEditWidget.highlighting" ID="HexEditWidget.highlighting"></a>
1121 <h4>HexEditWidget.highlighting</h4> 1059 <h4>HexEditWidget.highlighting</h4>
1122 <b>highlighting</b>(<i></i>) 1060 <b>highlighting</b>(<i></i>)
1123 1061
1124 <p> 1062 <p>
1583 <b>selectToStartOfLine</b>(<i></i>) 1521 <b>selectToStartOfLine</b>(<i></i>)
1584 1522
1585 <p> 1523 <p>
1586 Public method to extend the selection to the start of line. 1524 Public method to extend the selection to the start of line.
1587 </p> 1525 </p>
1588 <a NAME="HexEditWidget.selectionColors" ID="HexEditWidget.selectionColors"></a>
1589 <h4>HexEditWidget.selectionColors</h4>
1590 <b>selectionColors</b>(<i></i>)
1591
1592 <p>
1593 Public method to get the selection colors.
1594 </p>
1595 <dl>
1596 <dt>Return:</dt>
1597 <dd>
1598 selection foreground and background colors
1599 </dd>
1600 </dl>
1601 <dl>
1602 <dt>Return Type:</dt>
1603 <dd>
1604 tuple of 2 QColor
1605 </dd>
1606 </dl>
1607 <a NAME="HexEditWidget.selectionToHexString" ID="HexEditWidget.selectionToHexString"></a> 1526 <a NAME="HexEditWidget.selectionToHexString" ID="HexEditWidget.selectionToHexString"></a>
1608 <h4>HexEditWidget.selectionToHexString</h4> 1527 <h4>HexEditWidget.selectionToHexString</h4>
1609 <b>selectionToHexString</b>(<i></i>) 1528 <b>selectionToHexString</b>(<i></i>)
1610 1529
1611 <p> 1530 <p>
1654 <dt><i>on</i> (bool)</dt> 1573 <dt><i>on</i> (bool)</dt>
1655 <dd> 1574 <dd>
1656 flag indicating the address area visibility 1575 flag indicating the address area visibility
1657 </dd> 1576 </dd>
1658 </dl> 1577 </dl>
1659 <a NAME="HexEditWidget.setAddressAreaColors" ID="HexEditWidget.setAddressAreaColors"></a>
1660 <h4>HexEditWidget.setAddressAreaColors</h4>
1661 <b>setAddressAreaColors</b>(<i>foreground, background</i>)
1662
1663 <p>
1664 Public method to set the address area colors.
1665 </p>
1666 <dl>
1667
1668 <dt><i>foreground</i> (QColor)</dt>
1669 <dd>
1670 address area foreground color
1671 </dd>
1672 <dt><i>background</i> (QColor)</dt>
1673 <dd>
1674 address area background color
1675 </dd>
1676 </dl>
1677 <a NAME="HexEditWidget.setAddressOffset" ID="HexEditWidget.setAddressOffset"></a> 1578 <a NAME="HexEditWidget.setAddressOffset" ID="HexEditWidget.setAddressOffset"></a>
1678 <h4>HexEditWidget.setAddressOffset</h4> 1579 <h4>HexEditWidget.setAddressOffset</h4>
1679 <b>setAddressOffset</b>(<i>offset</i>) 1580 <b>setAddressOffset</b>(<i>offset</i>)
1680 1581
1681 <p> 1582 <p>
1793 <dt><i>font</i> (QFont)</dt> 1694 <dt><i>font</i> (QFont)</dt>
1794 <dd> 1695 <dd>
1795 font used to show the data 1696 font used to show the data
1796 </dd> 1697 </dd>
1797 </dl> 1698 </dl>
1798 <a NAME="HexEditWidget.setHighlightColors" ID="HexEditWidget.setHighlightColors"></a>
1799 <h4>HexEditWidget.setHighlightColors</h4>
1800 <b>setHighlightColors</b>(<i>foreground, background</i>)
1801
1802 <p>
1803 Public method to set the highlight colors.
1804 </p>
1805 <dl>
1806
1807 <dt><i>foreground</i> (QColor)</dt>
1808 <dd>
1809 highlight foreground color
1810 </dd>
1811 <dt><i>background</i> (QColor)</dt>
1812 <dd>
1813 highlight background color
1814 </dd>
1815 </dl>
1816 <a NAME="HexEditWidget.setHighlighting" ID="HexEditWidget.setHighlighting"></a> 1699 <a NAME="HexEditWidget.setHighlighting" ID="HexEditWidget.setHighlighting"></a>
1817 <h4>HexEditWidget.setHighlighting</h4> 1700 <h4>HexEditWidget.setHighlighting</h4>
1818 <b>setHighlighting</b>(<i>on</i>) 1701 <b>setHighlighting</b>(<i>on</i>)
1819 1702
1820 <p> 1703 <p>
1871 <dt><i>on</i> (bool)</dt> 1754 <dt><i>on</i> (bool)</dt>
1872 <dd> 1755 <dd>
1873 new read only state 1756 new read only state
1874 </dd> 1757 </dd>
1875 </dl> 1758 </dl>
1876 <a NAME="HexEditWidget.setSelectionColors" ID="HexEditWidget.setSelectionColors"></a>
1877 <h4>HexEditWidget.setSelectionColors</h4>
1878 <b>setSelectionColors</b>(<i>foreground, background</i>)
1879
1880 <p>
1881 Public method to set the selection colors.
1882 </p>
1883 <dl>
1884
1885 <dt><i>foreground</i> (QColor)</dt>
1886 <dd>
1887 selection foreground color
1888 </dd>
1889 <dt><i>background</i> (QColor)</dt>
1890 <dd>
1891 selection background color
1892 </dd>
1893 </dl>
1894 <a NAME="HexEditWidget.toReadableString" ID="HexEditWidget.toReadableString"></a> 1759 <a NAME="HexEditWidget.toReadableString" ID="HexEditWidget.toReadableString"></a>
1895 <h4>HexEditWidget.toReadableString</h4> 1760 <h4>HexEditWidget.toReadableString</h4>
1896 <b>toReadableString</b>(<i></i>) 1761 <b>toReadableString</b>(<i></i>)
1897 1762
1898 <p> 1763 <p>

eric ide

mercurial