Sun, 26 Aug 2018 15:03:20 +0200
Shell: fixed an issue with the redirected input() method caused by the queued output change done back in June 2018.
4666
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1 | <!DOCTYPE html> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | <html><head> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
3 | <title>eric6.HexEdit.HexEditUndoStack</title> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | <meta charset="UTF-8"> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | <style> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | body { |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | background: #EDECE6; |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | margin: 0em 1em 10em 1em; |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | color: black; |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | } |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | h1 { color: white; background: #85774A; } |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
13 | h2 { color: white; background: #85774A; } |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | h3 { color: white; background: #9D936E; } |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | h4 { color: white; background: #9D936E; } |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
16 | |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | a { color: #BA6D36; } |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | </style> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | </head> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | <body><a NAME="top" ID="top"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | <h1>eric6.HexEdit.HexEditUndoStack</h1> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | Module implementing the Undo stack for the hex edit widget. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | </p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
26 | <h3>Global Attributes</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
27 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
28 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
29 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
30 | <h3>Classes</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
31 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
32 | <tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
33 | <td><a href="#HexEditCommand">HexEditCommand</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
34 | <td>Class implementing the edit comands.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
35 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
36 | <td><a href="#HexEditUndoCommand">HexEditUndoCommand</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
37 | <td>Class implementing the Undo command.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
38 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
39 | <td><a href="#HexEditUndoStack">HexEditUndoStack</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
40 | <td>Class implementing an Undo stack for the hex edit widget.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | </tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
42 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
43 | <h3>Functions</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
45 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
46 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | <hr /><hr /> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | <a NAME="HexEditCommand" ID="HexEditCommand"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | <h2>HexEditCommand</h2> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | Class implementing the edit comands. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | </p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | <h3>Derived from</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | Enum |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | <h3>Class Attributes</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | <tr><td>Insert</td></tr><tr><td>Overwrite</td></tr><tr><td>RemoveAt</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
59 | <h3>Class Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
62 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | <h3>Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
64 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
66 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | <h3>Static Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
68 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
69 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
70 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
71 | |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
72 | <div align="right"><a href="#top">Up</a></div> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
73 | <hr /><hr /> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | <a NAME="HexEditUndoCommand" ID="HexEditUndoCommand"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
75 | <h2>HexEditUndoCommand</h2> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
77 | Class implementing the Undo command. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
78 | </p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
79 | <h3>Derived from</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
80 | QUndoCommand |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
81 | <h3>Class Attributes</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
82 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
83 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
84 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
85 | <h3>Class Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
86 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
87 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
88 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
89 | <h3>Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
90 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
91 | <tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
92 | <td><a href="#HexEditUndoCommand.__init__">HexEditUndoCommand</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
93 | <td>Constructor</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
94 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
95 | <td><a href="#HexEditUndoCommand.id">id</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
96 | <td>Public method to get the ID of this undo command class.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
97 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
98 | <td><a href="#HexEditUndoCommand.mergeWith">mergeWith</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
99 | <td>Public method to merge this command with another one.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
100 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
101 | <td><a href="#HexEditUndoCommand.redo">redo</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
102 | <td>Public method to redo the command.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
103 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
104 | <td><a href="#HexEditUndoCommand.undo">undo</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
105 | <td>Public method to undo the command.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
106 | </tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
107 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
108 | <h3>Static Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
109 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
110 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
111 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
112 | <a NAME="HexEditUndoCommand.__init__" ID="HexEditUndoCommand.__init__"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
113 | <h4>HexEditUndoCommand (Constructor)</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
114 | <b>HexEditUndoCommand</b>(<i>chunks, cmd, pos, newByte, parent=None</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
115 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
116 | Constructor |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
117 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
118 | <dt><i>chunks</i> (HexEditChunks)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
119 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
120 | reference to the data container |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
121 | </dd><dt><i>cmd</i> (HexEditCommand)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
122 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
123 | edit command |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
124 | </dd><dt><i>pos</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
125 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
126 | edit position |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
127 | </dd><dt><i>newByte</i> (int (range 0 to 255))</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
128 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
129 | new byte value |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
130 | </dd><dt><i>parent</i> (QUndoCommand)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
131 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
132 | reference to the parent command |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
133 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
134 | </dl><a NAME="HexEditUndoCommand.id" ID="HexEditUndoCommand.id"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
135 | <h4>HexEditUndoCommand.id</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
136 | <b>id</b>(<i></i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
137 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
138 | Public method to get the ID of this undo command class. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
139 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
140 | <dt>Returns:</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
141 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
142 | ID of the undo command class |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
143 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
144 | </dl><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
145 | <dt>Return Type:</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
146 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
147 | int |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
148 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
149 | </dl><a NAME="HexEditUndoCommand.mergeWith" ID="HexEditUndoCommand.mergeWith"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
150 | <h4>HexEditUndoCommand.mergeWith</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
151 | <b>mergeWith</b>(<i>command</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
152 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
153 | Public method to merge this command with another one. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
154 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
155 | <dt><i>command</i> (QUndoCommand)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
156 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
157 | reference to the command to merge with |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
158 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
159 | </dl><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
160 | <dt>Returns:</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
161 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
162 | flag indicating a successful merge |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
163 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
164 | </dl><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
165 | <dt>Return Type:</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
166 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
167 | bool |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
168 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
169 | </dl><a NAME="HexEditUndoCommand.redo" ID="HexEditUndoCommand.redo"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
170 | <h4>HexEditUndoCommand.redo</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
171 | <b>redo</b>(<i></i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
172 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
173 | Public method to redo the command. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
174 | </p><a NAME="HexEditUndoCommand.undo" ID="HexEditUndoCommand.undo"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
175 | <h4>HexEditUndoCommand.undo</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
176 | <b>undo</b>(<i></i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
177 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
178 | Public method to undo the command. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
179 | </p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
180 | <div align="right"><a href="#top">Up</a></div> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
181 | <hr /><hr /> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
182 | <a NAME="HexEditUndoStack" ID="HexEditUndoStack"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
183 | <h2>HexEditUndoStack</h2> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
184 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
185 | Class implementing an Undo stack for the hex edit widget. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
186 | </p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
187 | <h3>Derived from</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
188 | QUndoStack |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
189 | <h3>Class Attributes</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
190 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
191 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
192 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
193 | <h3>Class Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
194 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
195 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
196 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
197 | <h3>Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
198 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
199 | <tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
200 | <td><a href="#HexEditUndoStack.__init__">HexEditUndoStack</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
201 | <td>Constructor</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
202 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
203 | <td><a href="#HexEditUndoStack.insert">insert</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
204 | <td>Public method to insert a byte.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
205 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
206 | <td><a href="#HexEditUndoStack.insertByteArray">insertByteArray</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
207 | <td>Public method to insert bytes.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
208 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
209 | <td><a href="#HexEditUndoStack.overwrite">overwrite</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
210 | <td>Public method to replace a byte.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
211 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
212 | <td><a href="#HexEditUndoStack.overwriteByteArray">overwriteByteArray</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
213 | <td>Public method to replace bytes.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
214 | </tr><tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
215 | <td><a href="#HexEditUndoStack.removeAt">removeAt</a></td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
216 | <td>Public method to remove bytes.</td> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
217 | </tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
218 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
219 | <h3>Static Methods</h3> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
220 | <table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
221 | <tr><td>None</td></tr> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
222 | </table> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
223 | <a NAME="HexEditUndoStack.__init__" ID="HexEditUndoStack.__init__"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
224 | <h4>HexEditUndoStack (Constructor)</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
225 | <b>HexEditUndoStack</b>(<i>chunks, parent=None</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
226 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
227 | Constructor |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
228 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
229 | <dt><i>chunks</i> (HexEditChunks)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
230 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
231 | reference to the data container |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
232 | </dd><dt><i>parent</i> (QObject)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
233 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
234 | reference to the parent object |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
235 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
236 | </dl><a NAME="HexEditUndoStack.insert" ID="HexEditUndoStack.insert"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
237 | <h4>HexEditUndoStack.insert</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
238 | <b>insert</b>(<i>pos, data</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
239 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
240 | Public method to insert a byte. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
241 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
242 | <dt><i>pos</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
243 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
244 | position to insert at |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
245 | </dd><dt><i>data</i> (int (range 0 to 255))</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
246 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
247 | byte to be inserted |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
248 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
249 | </dl><a NAME="HexEditUndoStack.insertByteArray" ID="HexEditUndoStack.insertByteArray"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
250 | <h4>HexEditUndoStack.insertByteArray</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
251 | <b>insertByteArray</b>(<i>pos, byteArray</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
252 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
253 | Public method to insert bytes. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
254 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
255 | <dt><i>pos</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
256 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
257 | position to insert at |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
258 | </dd><dt><i>byteArray</i> (byteArray or QByteArray)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
259 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
260 | data to be inserted |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
261 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
262 | </dl><a NAME="HexEditUndoStack.overwrite" ID="HexEditUndoStack.overwrite"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
263 | <h4>HexEditUndoStack.overwrite</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
264 | <b>overwrite</b>(<i>pos, data</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
265 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
266 | Public method to replace a byte. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
267 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
268 | <dt><i>pos</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
269 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
270 | position to replace the byte at |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
271 | </dd><dt><i>data</i> (int (range 0 to 255))</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
272 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
273 | byte to replace with |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
274 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
275 | </dl><a NAME="HexEditUndoStack.overwriteByteArray" ID="HexEditUndoStack.overwriteByteArray"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
276 | <h4>HexEditUndoStack.overwriteByteArray</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
277 | <b>overwriteByteArray</b>(<i>pos, length, byteArray</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
278 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
279 | Public method to replace bytes. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
280 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
281 | <dt><i>pos</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
282 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
283 | position to replace the bytes at |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
284 | </dd><dt><i>length</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
285 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
286 | amount of bytes to replace |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
287 | </dd><dt><i>byteArray</i> (bytearray or QByteArray)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
288 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
289 | bytes to replace with |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
290 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
291 | </dl><a NAME="HexEditUndoStack.removeAt" ID="HexEditUndoStack.removeAt"></a> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
292 | <h4>HexEditUndoStack.removeAt</h4> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
293 | <b>removeAt</b>(<i>pos, length=1</i>) |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
294 | <p> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
295 | Public method to remove bytes. |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
296 | </p><dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
297 | <dt><i>pos</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
298 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
299 | position to remove bytes from |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
300 | </dd><dt><i>length</i> (int)</dt> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
301 | <dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
302 | amount of bytes to remove |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
303 | </dd> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
304 | </dl> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
305 | <div align="right"><a href="#top">Up</a></div> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
306 | <hr /> |
bc52ef526e11
Generated the source docu for the hex editor.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
307 | </body></html> |