eric6/Documentation/Source/eric6.HexEdit.HexEditGotoWidget.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.HexEdit.HexEditGotoWidget</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.HexEdit.HexEditGotoWidget</h1>
23 <p>
24 Module implementing a movement (goto) widget for the hex editor.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#HexEditGotoWidget">HexEditGotoWidget</a></td>
34 <td>Class implementing a movement (goto) widget for the hex editor.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="HexEditGotoWidget" ID="HexEditGotoWidget"></a>
43 <h2>HexEditGotoWidget</h2>
44 <p>
45 Class implementing a movement (goto) widget for the hex editor.
46 </p>
47 <h3>Derived from</h3>
48 QWidget, Ui_HexEditGotoWidget
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#HexEditGotoWidget.__init__">HexEditGotoWidget</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HexEditGotoWidget.__convertText">__convertText</a></td>
64 <td>Private method to convert text from one format into another.</td>
65 </tr><tr>
66 <td><a href="#HexEditGotoWidget.keyPressEvent">keyPressEvent</a></td>
67 <td>Protected slot to handle key press events.</td>
68 </tr><tr>
69 <td><a href="#HexEditGotoWidget.on_closeButton_clicked">on_closeButton_clicked</a></td>
70 <td>Private slot to close the widget.</td>
71 </tr><tr>
72 <td><a href="#HexEditGotoWidget.on_formatCombo_currentIndexChanged">on_formatCombo_currentIndexChanged</a></td>
73 <td>Private slot to handle a selection of the format.</td>
74 </tr><tr>
75 <td><a href="#HexEditGotoWidget.on_gotoButton_clicked">on_gotoButton_clicked</a></td>
76 <td>Private slot to move the cursor and extend the selection.</td>
77 </tr><tr>
78 <td><a href="#HexEditGotoWidget.on_offsetEdit_textChanged">on_offsetEdit_textChanged</a></td>
79 <td>Private slot handling a change of the entered offset.</td>
80 </tr><tr>
81 <td><a href="#HexEditGotoWidget.reset">reset</a></td>
82 <td>Public slot to reset the input widgets.</td>
83 </tr><tr>
84 <td><a href="#HexEditGotoWidget.show">show</a></td>
85 <td>Public slot to show the widget.</td>
86 </tr>
87 </table>
88 <h3>Static Methods</h3>
89 <table>
90 <tr><td>None</td></tr>
91 </table>
92 <a NAME="HexEditGotoWidget.__init__" ID="HexEditGotoWidget.__init__"></a>
93 <h4>HexEditGotoWidget (Constructor)</h4>
94 <b>HexEditGotoWidget</b>(<i>editor, parent=None</i>)
95 <p>
96 Constructor
97 </p><dl>
98 <dt><i>editor</i> (HexEditWidget)</dt>
99 <dd>
100 reference to the hex editor widget
101 </dd><dt><i>parent</i> (QWidget)</dt>
102 <dd>
103 reference to the parent widget
104 </dd>
105 </dl><a NAME="HexEditGotoWidget.__convertText" ID="HexEditGotoWidget.__convertText"></a>
106 <h4>HexEditGotoWidget.__convertText</h4>
107 <b>__convertText</b>(<i>txt, oldFormat, newFormat</i>)
108 <p>
109 Private method to convert text from one format into another.
110 </p><dl>
111 <dt><i>txt</i> (str)</dt>
112 <dd>
113 text to be converted
114 </dd><dt><i>oldFormat</i> (str)</dt>
115 <dd>
116 current format of the text
117 </dd><dt><i>newFormat</i> (str)</dt>
118 <dd>
119 format to convert to
120 </dd>
121 </dl><dl>
122 <dt>Returns:</dt>
123 <dd>
124 converted text
125 </dd>
126 </dl><dl>
127 <dt>Return Type:</dt>
128 <dd>
129 str
130 </dd>
131 </dl><a NAME="HexEditGotoWidget.keyPressEvent" ID="HexEditGotoWidget.keyPressEvent"></a>
132 <h4>HexEditGotoWidget.keyPressEvent</h4>
133 <b>keyPressEvent</b>(<i>event</i>)
134 <p>
135 Protected slot to handle key press events.
136 </p><dl>
137 <dt><i>event</i> (QKeyEvent)</dt>
138 <dd>
139 reference to the key press event
140 </dd>
141 </dl><a NAME="HexEditGotoWidget.on_closeButton_clicked" ID="HexEditGotoWidget.on_closeButton_clicked"></a>
142 <h4>HexEditGotoWidget.on_closeButton_clicked</h4>
143 <b>on_closeButton_clicked</b>(<i></i>)
144 <p>
145 Private slot to close the widget.
146 </p><a NAME="HexEditGotoWidget.on_formatCombo_currentIndexChanged" ID="HexEditGotoWidget.on_formatCombo_currentIndexChanged"></a>
147 <h4>HexEditGotoWidget.on_formatCombo_currentIndexChanged</h4>
148 <b>on_formatCombo_currentIndexChanged</b>(<i>idx</i>)
149 <p>
150 Private slot to handle a selection of the format.
151 </p><dl>
152 <dt><i>idx</i> (int)</dt>
153 <dd>
154 index of the selected entry
155 </dd>
156 </dl><a NAME="HexEditGotoWidget.on_gotoButton_clicked" ID="HexEditGotoWidget.on_gotoButton_clicked"></a>
157 <h4>HexEditGotoWidget.on_gotoButton_clicked</h4>
158 <b>on_gotoButton_clicked</b>(<i></i>)
159 <p>
160 Private slot to move the cursor and extend the selection.
161 </p><a NAME="HexEditGotoWidget.on_offsetEdit_textChanged" ID="HexEditGotoWidget.on_offsetEdit_textChanged"></a>
162 <h4>HexEditGotoWidget.on_offsetEdit_textChanged</h4>
163 <b>on_offsetEdit_textChanged</b>(<i>offset</i>)
164 <p>
165 Private slot handling a change of the entered offset.
166 </p><dl>
167 <dt><i>offset</i> (str)</dt>
168 <dd>
169 entered offset
170 </dd>
171 </dl><a NAME="HexEditGotoWidget.reset" ID="HexEditGotoWidget.reset"></a>
172 <h4>HexEditGotoWidget.reset</h4>
173 <b>reset</b>(<i></i>)
174 <p>
175 Public slot to reset the input widgets.
176 </p><a NAME="HexEditGotoWidget.show" ID="HexEditGotoWidget.show"></a>
177 <h4>HexEditGotoWidget.show</h4>
178 <b>show</b>(<i></i>)
179 <p>
180 Public slot to show the widget.
181 </p>
182 <div align="right"><a href="#top">Up</a></div>
183 <hr />
184 </body></html>

eric ide

mercurial