16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Debugger.VariablesViewer</h1> |
23 <h1>eric6.Debugger.VariablesViewer</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the variables viewer view based on QTreeView. |
26 Module implementing the variables viewer view based on QTreeView. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>SORT_ROLE</td></tr> |
31 <tr><td>SORT_ROLE</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#VariableItem">VariableItem</a></td> |
38 <td><a href="#VariableItem">VariableItem</a></td> |
34 <td>Class implementing the data structure for all variable items.</td> |
39 <td>Class implementing the data structure for all variable items.</td> |
35 </tr><tr> |
40 </tr> |
|
41 <tr> |
36 <td><a href="#VariablesModel">VariablesModel</a></td> |
42 <td><a href="#VariablesModel">VariablesModel</a></td> |
37 <td>Class implementing the data model for QTreeView.</td> |
43 <td>Class implementing the data model for QTreeView.</td> |
38 </tr><tr> |
44 </tr> |
|
45 <tr> |
39 <td><a href="#VariablesProxyModel">VariablesProxyModel</a></td> |
46 <td><a href="#VariablesProxyModel">VariablesProxyModel</a></td> |
40 <td>Class for handling the sort operations.</td> |
47 <td>Class for handling the sort operations.</td> |
41 </tr><tr> |
48 </tr> |
|
49 <tr> |
42 <td><a href="#VariablesViewer">VariablesViewer</a></td> |
50 <td><a href="#VariablesViewer">VariablesViewer</a></td> |
43 <td>Class implementing the variables viewer view.</td> |
51 <td>Class implementing the variables viewer view.</td> |
44 </tr> |
52 </tr> |
45 </table> |
53 </table> |
46 <h3>Functions</h3> |
54 <h3>Functions</h3> |
|
55 |
47 <table> |
56 <table> |
48 <tr><td>None</td></tr> |
57 <tr><td>None</td></tr> |
49 </table> |
58 </table> |
50 <hr /><hr /> |
59 <hr /> |
|
60 <hr /> |
51 <a NAME="VariableItem" ID="VariableItem"></a> |
61 <a NAME="VariableItem" ID="VariableItem"></a> |
52 <h2>VariableItem</h2> |
62 <h2>VariableItem</h2> |
|
63 |
53 <p> |
64 <p> |
54 Class implementing the data structure for all variable items. |
65 Class implementing the data structure for all variable items. |
55 </p> |
66 </p> |
56 <h3>Derived from</h3> |
67 <h3>Derived from</h3> |
57 object |
68 object |
58 <h3>Class Attributes</h3> |
69 <h3>Class Attributes</h3> |
|
70 |
59 <table> |
71 <table> |
60 <tr><td>Type2Indicators</td></tr><tr><td>arrayTypes</td></tr><tr><td>noOfItemsStr</td></tr><tr><td>nonExpandableTypes</td></tr><tr><td>rx_nonprintable</td></tr> |
72 <tr><td>Type2Indicators</td></tr><tr><td>arrayTypes</td></tr><tr><td>noOfItemsStr</td></tr><tr><td>nonExpandableTypes</td></tr><tr><td>rx_nonprintable</td></tr> |
61 </table> |
73 </table> |
62 <h3>Class Methods</h3> |
74 <h3>Class Methods</h3> |
|
75 |
63 <table> |
76 <table> |
64 <tr><td>None</td></tr> |
77 <tr><td>None</td></tr> |
65 </table> |
78 </table> |
66 <h3>Methods</h3> |
79 <h3>Methods</h3> |
67 <table> |
80 |
|
81 <table> |
|
82 |
68 <tr> |
83 <tr> |
69 <td><a href="#VariableItem.__init__">VariableItem</a></td> |
84 <td><a href="#VariableItem.__init__">VariableItem</a></td> |
70 <td>Constructor</td> |
85 <td>Constructor</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#VariableItem.__getName">__getName</a></td> |
88 <td><a href="#VariableItem.__getName">__getName</a></td> |
73 <td>Private method to extract the variable name.</td> |
89 <td>Private method to extract the variable name.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#VariableItem.__getType">__getType</a></td> |
92 <td><a href="#VariableItem.__getType">__getType</a></td> |
76 <td>Private method to process the type of the variable.</td> |
93 <td>Private method to process the type of the variable.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#VariableItem.__getValue">__getValue</a></td> |
96 <td><a href="#VariableItem.__getValue">__getValue</a></td> |
79 <td>Private method to process the variables value.</td> |
97 <td>Private method to process the variables value.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#VariableItem.absolutCount">absolutCount</a></td> |
100 <td><a href="#VariableItem.absolutCount">absolutCount</a></td> |
82 <td>Public property to get the total number of children.</td> |
101 <td>Public property to get the total number of children.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#VariableItem.populated">populated</a></td> |
104 <td><a href="#VariableItem.populated">populated</a></td> |
85 <td>Public property returning a flag indicating if item is fully populated.</td> |
105 <td>Public property returning a flag indicating if item is fully populated.</td> |
86 </tr> |
106 </tr> |
87 </table> |
107 </table> |
88 <h3>Static Methods</h3> |
108 <h3>Static Methods</h3> |
|
109 |
89 <table> |
110 <table> |
90 <tr><td>None</td></tr> |
111 <tr><td>None</td></tr> |
91 </table> |
112 </table> |
|
113 |
92 <a NAME="VariableItem.__init__" ID="VariableItem.__init__"></a> |
114 <a NAME="VariableItem.__init__" ID="VariableItem.__init__"></a> |
93 <h4>VariableItem (Constructor)</h4> |
115 <h4>VariableItem (Constructor)</h4> |
94 <b>VariableItem</b>(<i>parent, dvar, dtype, dvalue</i>) |
116 <b>VariableItem</b>(<i>parent, dvar, dtype, dvalue</i>) |
|
117 |
95 <p> |
118 <p> |
96 Constructor |
119 Constructor |
97 </p><dl> |
120 </p> |
|
121 <dl> |
|
122 |
98 <dt><i>parent</i> (VariableItem)</dt> |
123 <dt><i>parent</i> (VariableItem)</dt> |
99 <dd> |
124 <dd> |
100 reference to the parent item |
125 reference to the parent item |
101 </dd><dt><i>dvar</i> (str)</dt> |
126 </dd> |
|
127 <dt><i>dvar</i> (str)</dt> |
102 <dd> |
128 <dd> |
103 variable name |
129 variable name |
104 </dd><dt><i>dtype</i> (str)</dt> |
130 </dd> |
|
131 <dt><i>dtype</i> (str)</dt> |
105 <dd> |
132 <dd> |
106 type string |
133 type string |
107 </dd><dt><i>dvalue</i> (str)</dt> |
134 </dd> |
|
135 <dt><i>dvalue</i> (str)</dt> |
108 <dd> |
136 <dd> |
109 value string |
137 value string |
110 </dd> |
138 </dd> |
111 </dl><a NAME="VariableItem.__getName" ID="VariableItem.__getName"></a> |
139 </dl> |
|
140 <a NAME="VariableItem.__getName" ID="VariableItem.__getName"></a> |
112 <h4>VariableItem.__getName</h4> |
141 <h4>VariableItem.__getName</h4> |
113 <b>__getName</b>(<i>dvar</i>) |
142 <b>__getName</b>(<i>dvar</i>) |
|
143 |
114 <p> |
144 <p> |
115 Private method to extract the variable name. |
145 Private method to extract the variable name. |
116 </p><dl> |
146 </p> |
|
147 <dl> |
|
148 |
117 <dt><i>dvar</i> (str)</dt> |
149 <dt><i>dvar</i> (str)</dt> |
118 <dd> |
150 <dd> |
119 name of variable maybe with ID |
151 name of variable maybe with ID |
120 </dd> |
152 </dd> |
121 </dl><a NAME="VariableItem.__getType" ID="VariableItem.__getType"></a> |
153 </dl> |
|
154 <a NAME="VariableItem.__getType" ID="VariableItem.__getType"></a> |
122 <h4>VariableItem.__getType</h4> |
155 <h4>VariableItem.__getType</h4> |
123 <b>__getType</b>(<i>dtype</i>) |
156 <b>__getType</b>(<i>dtype</i>) |
|
157 |
124 <p> |
158 <p> |
125 Private method to process the type of the variable. |
159 Private method to process the type of the variable. |
126 </p><p> |
160 </p> |
|
161 <p> |
127 If type is known to have children, the corresponding flag is set. |
162 If type is known to have children, the corresponding flag is set. |
128 </p><dl> |
163 </p> |
|
164 <dl> |
|
165 |
129 <dt><i>dtype</i> (str)</dt> |
166 <dt><i>dtype</i> (str)</dt> |
130 <dd> |
167 <dd> |
131 type string |
168 type string |
132 </dd> |
169 </dd> |
133 </dl><a NAME="VariableItem.__getValue" ID="VariableItem.__getValue"></a> |
170 </dl> |
|
171 <a NAME="VariableItem.__getValue" ID="VariableItem.__getValue"></a> |
134 <h4>VariableItem.__getValue</h4> |
172 <h4>VariableItem.__getValue</h4> |
135 <b>__getValue</b>(<i>dtype, dvalue</i>) |
173 <b>__getValue</b>(<i>dtype, dvalue</i>) |
|
174 |
136 <p> |
175 <p> |
137 Private method to process the variables value. |
176 Private method to process the variables value. |
138 </p><p> |
177 </p> |
|
178 <p> |
139 Define and limit value, set tooltip text. If type is known to have |
179 Define and limit value, set tooltip text. If type is known to have |
140 children, the corresponding flag is set. |
180 children, the corresponding flag is set. |
141 </p><dl> |
181 </p> |
|
182 <dl> |
|
183 |
142 <dt><i>dtype</i> (str)</dt> |
184 <dt><i>dtype</i> (str)</dt> |
143 <dd> |
185 <dd> |
144 type string |
186 type string |
145 </dd><dt><i>dvalue</i> (str)</dt> |
187 </dd> |
|
188 <dt><i>dvalue</i> (str)</dt> |
146 <dd> |
189 <dd> |
147 value of variable encoded as utf-8 |
190 value of variable encoded as utf-8 |
148 </dd> |
191 </dd> |
149 </dl><a NAME="VariableItem.absolutCount" ID="VariableItem.absolutCount"></a> |
192 </dl> |
|
193 <a NAME="VariableItem.absolutCount" ID="VariableItem.absolutCount"></a> |
150 <h4>VariableItem.absolutCount</h4> |
194 <h4>VariableItem.absolutCount</h4> |
151 <b>absolutCount</b>(<i></i>) |
195 <b>absolutCount</b>(<i></i>) |
|
196 |
152 <p> |
197 <p> |
153 Public property to get the total number of children. |
198 Public property to get the total number of children. |
154 </p><dl> |
199 </p> |
|
200 <dl> |
155 <dt>Returns:</dt> |
201 <dt>Returns:</dt> |
156 <dd> |
202 <dd> |
157 total number of children |
203 total number of children |
158 </dd> |
204 </dd> |
159 </dl><dl> |
205 </dl> |
|
206 <dl> |
160 <dt>Return Type:</dt> |
207 <dt>Return Type:</dt> |
161 <dd> |
208 <dd> |
162 int |
209 int |
163 </dd> |
210 </dd> |
164 </dl><a NAME="VariableItem.populated" ID="VariableItem.populated"></a> |
211 </dl> |
|
212 <a NAME="VariableItem.populated" ID="VariableItem.populated"></a> |
165 <h4>VariableItem.populated</h4> |
213 <h4>VariableItem.populated</h4> |
166 <b>populated</b>(<i></i>) |
214 <b>populated</b>(<i></i>) |
|
215 |
167 <p> |
216 <p> |
168 Public property returning a flag indicating if item is fully populated. |
217 Public property returning a flag indicating if item is fully populated. |
169 </p><dl> |
218 </p> |
|
219 <dl> |
170 <dt>Returns:</dt> |
220 <dt>Returns:</dt> |
171 <dd> |
221 <dd> |
172 item is fully populated |
222 item is fully populated |
173 </dd> |
223 </dd> |
174 </dl><dl> |
224 </dl> |
|
225 <dl> |
175 <dt>Return Type:</dt> |
226 <dt>Return Type:</dt> |
176 <dd> |
227 <dd> |
177 bool |
228 bool |
178 </dd> |
229 </dd> |
179 </dl> |
230 </dl> |
180 <div align="right"><a href="#top">Up</a></div> |
231 <div align="right"><a href="#top">Up</a></div> |
181 <hr /><hr /> |
232 <hr /> |
|
233 <hr /> |
182 <a NAME="VariablesModel" ID="VariablesModel"></a> |
234 <a NAME="VariablesModel" ID="VariablesModel"></a> |
183 <h2>VariablesModel</h2> |
235 <h2>VariablesModel</h2> |
|
236 |
184 <p> |
237 <p> |
185 Class implementing the data model for QTreeView. |
238 Class implementing the data model for QTreeView. |
186 </p><h3>Signals</h3> |
239 </p> |
187 <dl> |
240 <h3>Signals</h3> |
|
241 <dl> |
|
242 |
188 <dt>expand</dt> |
243 <dt>expand</dt> |
189 <dd> |
244 <dd> |
190 trigger QTreeView to expand given index |
245 trigger QTreeView to expand given index |
191 </dd> |
246 </dd> |
192 </dl> |
247 </dl> |
193 <h3>Derived from</h3> |
248 <h3>Derived from</h3> |
194 QAbstractItemModel |
249 QAbstractItemModel |
195 <h3>Class Attributes</h3> |
250 <h3>Class Attributes</h3> |
|
251 |
196 <table> |
252 <table> |
197 <tr><td>None</td></tr> |
253 <tr><td>None</td></tr> |
198 </table> |
254 </table> |
199 <h3>Class Methods</h3> |
255 <h3>Class Methods</h3> |
|
256 |
200 <table> |
257 <table> |
201 <tr><td>None</td></tr> |
258 <tr><td>None</td></tr> |
202 </table> |
259 </table> |
203 <h3>Methods</h3> |
260 <h3>Methods</h3> |
204 <table> |
261 |
|
262 <table> |
|
263 |
205 <tr> |
264 <tr> |
206 <td><a href="#VariablesModel.__init__">VariablesModel</a></td> |
265 <td><a href="#VariablesModel.__init__">VariablesModel</a></td> |
207 <td>Constructor</td> |
266 <td>Constructor</td> |
208 </tr><tr> |
267 </tr> |
|
268 <tr> |
209 <td><a href="#VariablesModel.__buildTreePath">__buildTreePath</a></td> |
269 <td><a href="#VariablesModel.__buildTreePath">__buildTreePath</a></td> |
210 <td>Private method to build up a path from the root to parent.</td> |
270 <td>Private method to build up a path from the root to parent.</td> |
211 </tr><tr> |
271 </tr> |
|
272 <tr> |
212 <td><a href="#VariablesModel.__cleanupParentList">__cleanupParentList</a></td> |
273 <td><a href="#VariablesModel.__cleanupParentList">__cleanupParentList</a></td> |
213 <td>Private method to remove items which are left over at the end of the child list.</td> |
274 <td>Private method to remove items which are left over at the end of the child list.</td> |
214 </tr><tr> |
275 </tr> |
|
276 <tr> |
215 <td><a href="#VariablesModel.__findPendingItem">__findPendingItem</a></td> |
277 <td><a href="#VariablesModel.__findPendingItem">__findPendingItem</a></td> |
216 <td>Private method to find the next item to request data from debugger.</td> |
278 <td>Private method to find the next item to request data from debugger.</td> |
217 </tr><tr> |
279 </tr> |
|
280 <tr> |
218 <td><a href="#VariablesModel.__findVariable">__findVariable</a></td> |
281 <td><a href="#VariablesModel.__findVariable">__findVariable</a></td> |
219 <td>Private method to get to the given variable.</td> |
282 <td>Private method to get to the given variable.</td> |
220 </tr><tr> |
283 </tr> |
|
284 <tr> |
221 <td><a href="#VariablesModel.clear">clear</a></td> |
285 <td><a href="#VariablesModel.clear">clear</a></td> |
222 <td>Public method to clear the complete data model.</td> |
286 <td>Public method to clear the complete data model.</td> |
223 </tr><tr> |
287 </tr> |
|
288 <tr> |
224 <td><a href="#VariablesModel.columnCount">columnCount</a></td> |
289 <td><a href="#VariablesModel.columnCount">columnCount</a></td> |
225 <td>Public method to get the column count.</td> |
290 <td>Public method to get the column count.</td> |
226 </tr><tr> |
291 </tr> |
|
292 <tr> |
227 <td><a href="#VariablesModel.data">data</a></td> |
293 <td><a href="#VariablesModel.data">data</a></td> |
228 <td>Public method get the role data of item.</td> |
294 <td>Public method get the role data of item.</td> |
229 </tr><tr> |
295 </tr> |
|
296 <tr> |
230 <td><a href="#VariablesModel.flags">flags</a></td> |
297 <td><a href="#VariablesModel.flags">flags</a></td> |
231 <td>Public method to get the item flags.</td> |
298 <td>Public method to get the item flags.</td> |
232 </tr><tr> |
299 </tr> |
|
300 <tr> |
233 <td><a href="#VariablesModel.getMore">getMore</a></td> |
301 <td><a href="#VariablesModel.getMore">getMore</a></td> |
234 <td>Public method to fetch the next variable from debugger.</td> |
302 <td>Public method to fetch the next variable from debugger.</td> |
235 </tr><tr> |
303 </tr> |
|
304 <tr> |
236 <td><a href="#VariablesModel.handlePreferencesChanged">handlePreferencesChanged</a></td> |
305 <td><a href="#VariablesModel.handlePreferencesChanged">handlePreferencesChanged</a></td> |
237 <td>Public slot to handle the preferencesChanged signal.</td> |
306 <td>Public slot to handle the preferencesChanged signal.</td> |
238 </tr><tr> |
307 </tr> |
|
308 <tr> |
239 <td><a href="#VariablesModel.hasChildren">hasChildren</a></td> |
309 <td><a href="#VariablesModel.hasChildren">hasChildren</a></td> |
240 <td>Public method to get a flag if parent has children.</td> |
310 <td>Public method to get a flag if parent has children.</td> |
241 </tr><tr> |
311 </tr> |
|
312 <tr> |
242 <td><a href="#VariablesModel.headerData">headerData</a></td> |
313 <td><a href="#VariablesModel.headerData">headerData</a></td> |
243 <td>Public method get the header names.</td> |
314 <td>Public method get the header names.</td> |
244 </tr><tr> |
315 </tr> |
|
316 <tr> |
245 <td><a href="#VariablesModel.index">index</a></td> |
317 <td><a href="#VariablesModel.index">index</a></td> |
246 <td>Public method to get the index of item at row:column of parent.</td> |
318 <td>Public method to get the index of item at row:column of parent.</td> |
247 </tr><tr> |
319 </tr> |
|
320 <tr> |
248 <td><a href="#VariablesModel.parent">parent</a></td> |
321 <td><a href="#VariablesModel.parent">parent</a></td> |
249 <td>Public method to get the parent of the given child.</td> |
322 <td>Public method to get the parent of the given child.</td> |
250 </tr><tr> |
323 </tr> |
|
324 <tr> |
251 <td><a href="#VariablesModel.resetModifiedMarker">resetModifiedMarker</a></td> |
325 <td><a href="#VariablesModel.resetModifiedMarker">resetModifiedMarker</a></td> |
252 <td>Public method to remove the modified marker from changed items.</td> |
326 <td>Public method to remove the modified marker from changed items.</td> |
253 </tr><tr> |
327 </tr> |
|
328 <tr> |
254 <td><a href="#VariablesModel.rowCount">rowCount</a></td> |
329 <td><a href="#VariablesModel.rowCount">rowCount</a></td> |
255 <td>Public method to get the row count.</td> |
330 <td>Public method to get the row count.</td> |
256 </tr><tr> |
331 </tr> |
|
332 <tr> |
257 <td><a href="#VariablesModel.setExpanded">setExpanded</a></td> |
333 <td><a href="#VariablesModel.setExpanded">setExpanded</a></td> |
258 <td>Public method to set the expanded state of item.</td> |
334 <td>Public method to set the expanded state of item.</td> |
259 </tr><tr> |
335 </tr> |
|
336 <tr> |
260 <td><a href="#VariablesModel.showVariables">showVariables</a></td> |
337 <td><a href="#VariablesModel.showVariables">showVariables</a></td> |
261 <td>Public method to update the data model of variable in pathlist.</td> |
338 <td>Public method to update the data model of variable in pathlist.</td> |
262 </tr> |
339 </tr> |
263 </table> |
340 </table> |
264 <h3>Static Methods</h3> |
341 <h3>Static Methods</h3> |
|
342 |
265 <table> |
343 <table> |
266 <tr><td>None</td></tr> |
344 <tr><td>None</td></tr> |
267 </table> |
345 </table> |
|
346 |
268 <a NAME="VariablesModel.__init__" ID="VariablesModel.__init__"></a> |
347 <a NAME="VariablesModel.__init__" ID="VariablesModel.__init__"></a> |
269 <h4>VariablesModel (Constructor)</h4> |
348 <h4>VariablesModel (Constructor)</h4> |
270 <b>VariablesModel</b>(<i>treeView, globalScope</i>) |
349 <b>VariablesModel</b>(<i>treeView, globalScope</i>) |
|
350 |
271 <p> |
351 <p> |
272 Constructor |
352 Constructor |
273 </p><dl> |
353 </p> |
|
354 <dl> |
|
355 |
274 <dt><i>treeView</i> (VariablesViewer)</dt> |
356 <dt><i>treeView</i> (VariablesViewer)</dt> |
275 <dd> |
357 <dd> |
276 QTreeView showing the data |
358 QTreeView showing the data |
277 </dd><dt><i>globalScope</i> (bool)</dt> |
359 </dd> |
|
360 <dt><i>globalScope</i> (bool)</dt> |
278 <dd> |
361 <dd> |
279 flag indicating global (True) or local (False) |
362 flag indicating global (True) or local (False) |
280 variables |
363 variables |
281 </dd> |
364 </dd> |
282 </dl><a NAME="VariablesModel.__buildTreePath" ID="VariablesModel.__buildTreePath"></a> |
365 </dl> |
|
366 <a NAME="VariablesModel.__buildTreePath" ID="VariablesModel.__buildTreePath"></a> |
283 <h4>VariablesModel.__buildTreePath</h4> |
367 <h4>VariablesModel.__buildTreePath</h4> |
284 <b>__buildTreePath</b>(<i>parent</i>) |
368 <b>__buildTreePath</b>(<i>parent</i>) |
|
369 |
285 <p> |
370 <p> |
286 Private method to build up a path from the root to parent. |
371 Private method to build up a path from the root to parent. |
287 </p><dl> |
372 </p> |
|
373 <dl> |
|
374 |
288 <dt><i>parent</i> (VariableItem)</dt> |
375 <dt><i>parent</i> (VariableItem)</dt> |
289 <dd> |
376 <dd> |
290 item to build the path for |
377 item to build the path for |
291 </dd> |
378 </dd> |
292 </dl><dl> |
379 </dl> |
|
380 <dl> |
293 <dt>Returns:</dt> |
381 <dt>Returns:</dt> |
294 <dd> |
382 <dd> |
295 list of names denoting the path from the root |
383 list of names denoting the path from the root |
296 </dd> |
384 </dd> |
297 </dl><dl> |
385 </dl> |
|
386 <dl> |
298 <dt>Return Type:</dt> |
387 <dt>Return Type:</dt> |
299 <dd> |
388 <dd> |
300 tuple of str |
389 tuple of str |
301 </dd> |
390 </dd> |
302 </dl><a NAME="VariablesModel.__cleanupParentList" ID="VariablesModel.__cleanupParentList"></a> |
391 </dl> |
|
392 <a NAME="VariablesModel.__cleanupParentList" ID="VariablesModel.__cleanupParentList"></a> |
303 <h4>VariablesModel.__cleanupParentList</h4> |
393 <h4>VariablesModel.__cleanupParentList</h4> |
304 <b>__cleanupParentList</b>(<i>parent, parentIdx</i>) |
394 <b>__cleanupParentList</b>(<i>parent, parentIdx</i>) |
|
395 |
305 <p> |
396 <p> |
306 Private method to remove items which are left over at the end of the |
397 Private method to remove items which are left over at the end of the |
307 child list. |
398 child list. |
308 </p><dl> |
399 </p> |
|
400 <dl> |
|
401 |
309 <dt><i>parent</i> (VariableItem)</dt> |
402 <dt><i>parent</i> (VariableItem)</dt> |
310 <dd> |
403 <dd> |
311 to clean up |
404 to clean up |
312 </dd><dt><i>parentIdx</i> (QModelIndex)</dt> |
405 </dd> |
|
406 <dt><i>parentIdx</i> (QModelIndex)</dt> |
313 <dd> |
407 <dd> |
314 the parent index as QModelIndex |
408 the parent index as QModelIndex |
315 </dd> |
409 </dd> |
316 </dl><a NAME="VariablesModel.__findPendingItem" ID="VariablesModel.__findPendingItem"></a> |
410 </dl> |
|
411 <a NAME="VariablesModel.__findPendingItem" ID="VariablesModel.__findPendingItem"></a> |
317 <h4>VariablesModel.__findPendingItem</h4> |
412 <h4>VariablesModel.__findPendingItem</h4> |
318 <b>__findPendingItem</b>(<i>parent=None, pathlist=()</i>) |
413 <b>__findPendingItem</b>(<i>parent=None, pathlist=()</i>) |
|
414 |
319 <p> |
415 <p> |
320 Private method to find the next item to request data from debugger. |
416 Private method to find the next item to request data from debugger. |
321 </p><dl> |
417 </p> |
|
418 <dl> |
|
419 |
322 <dt><i>parent</i> (VariableItem)</dt> |
420 <dt><i>parent</i> (VariableItem)</dt> |
323 <dd> |
421 <dd> |
324 the model parent |
422 the model parent |
325 </dd><dt><i>pathlist</i> (list of str)</dt> |
423 </dd> |
|
424 <dt><i>pathlist</i> (list of str)</dt> |
326 <dd> |
425 <dd> |
327 full path to the variable |
426 full path to the variable |
328 </dd> |
427 </dd> |
329 </dl><dl> |
428 </dl> |
|
429 <dl> |
330 <dt>Returns:</dt> |
430 <dt>Returns:</dt> |
331 <dd> |
431 <dd> |
332 next item index to request data from debugger |
432 next item index to request data from debugger |
333 </dd> |
433 </dd> |
334 </dl><dl> |
434 </dl> |
|
435 <dl> |
335 <dt>Return Type:</dt> |
436 <dt>Return Type:</dt> |
336 <dd> |
437 <dd> |
337 QModelIndex |
438 QModelIndex |
338 </dd> |
439 </dd> |
339 </dl><a NAME="VariablesModel.__findVariable" ID="VariablesModel.__findVariable"></a> |
440 </dl> |
|
441 <a NAME="VariablesModel.__findVariable" ID="VariablesModel.__findVariable"></a> |
340 <h4>VariablesModel.__findVariable</h4> |
442 <h4>VariablesModel.__findVariable</h4> |
341 <b>__findVariable</b>(<i>pathlist</i>) |
443 <b>__findVariable</b>(<i>pathlist</i>) |
|
444 |
342 <p> |
445 <p> |
343 Private method to get to the given variable. |
446 Private method to get to the given variable. |
344 </p><dl> |
447 </p> |
|
448 <dl> |
|
449 |
345 <dt><i>pathlist</i> (list of str)</dt> |
450 <dt><i>pathlist</i> (list of str)</dt> |
346 <dd> |
451 <dd> |
347 full path to the variable |
452 full path to the variable |
348 </dd> |
453 </dd> |
349 </dl><dl> |
454 </dl> |
|
455 <dl> |
350 <dt>Returns:</dt> |
456 <dt>Returns:</dt> |
351 <dd> |
457 <dd> |
352 the found variable or None if it doesn't exist |
458 the found variable or None if it doesn't exist |
353 </dd> |
459 </dd> |
354 </dl><dl> |
460 </dl> |
|
461 <dl> |
355 <dt>Return Type:</dt> |
462 <dt>Return Type:</dt> |
356 <dd> |
463 <dd> |
357 VariableItem or None |
464 VariableItem or None |
358 </dd> |
465 </dd> |
359 </dl><a NAME="VariablesModel.clear" ID="VariablesModel.clear"></a> |
466 </dl> |
|
467 <a NAME="VariablesModel.clear" ID="VariablesModel.clear"></a> |
360 <h4>VariablesModel.clear</h4> |
468 <h4>VariablesModel.clear</h4> |
361 <b>clear</b>(<i>reset=False</i>) |
469 <b>clear</b>(<i>reset=False</i>) |
|
470 |
362 <p> |
471 <p> |
363 Public method to clear the complete data model. |
472 Public method to clear the complete data model. |
364 </p><dl> |
473 </p> |
|
474 <dl> |
|
475 |
365 <dt><i>reset</i> (bool)</dt> |
476 <dt><i>reset</i> (bool)</dt> |
366 <dd> |
477 <dd> |
367 flag to clear the expanded keys also |
478 flag to clear the expanded keys also |
368 </dd> |
479 </dd> |
369 </dl><a NAME="VariablesModel.columnCount" ID="VariablesModel.columnCount"></a> |
480 </dl> |
|
481 <a NAME="VariablesModel.columnCount" ID="VariablesModel.columnCount"></a> |
370 <h4>VariablesModel.columnCount</h4> |
482 <h4>VariablesModel.columnCount</h4> |
371 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
483 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
|
484 |
372 <p> |
485 <p> |
373 Public method to get the column count. |
486 Public method to get the column count. |
374 </p><dl> |
487 </p> |
|
488 <dl> |
|
489 |
375 <dt><i>parent</i> (QModelIndex)</dt> |
490 <dt><i>parent</i> (QModelIndex)</dt> |
376 <dd> |
491 <dd> |
377 the model parent |
492 the model parent |
378 </dd> |
493 </dd> |
379 </dl><dl> |
494 </dl> |
|
495 <dl> |
380 <dt>Returns:</dt> |
496 <dt>Returns:</dt> |
381 <dd> |
497 <dd> |
382 number of columns |
498 number of columns |
383 </dd> |
499 </dd> |
384 </dl><dl> |
500 </dl> |
|
501 <dl> |
385 <dt>Return Type:</dt> |
502 <dt>Return Type:</dt> |
386 <dd> |
503 <dd> |
387 int |
504 int |
388 </dd> |
505 </dd> |
389 </dl><a NAME="VariablesModel.data" ID="VariablesModel.data"></a> |
506 </dl> |
|
507 <a NAME="VariablesModel.data" ID="VariablesModel.data"></a> |
390 <h4>VariablesModel.data</h4> |
508 <h4>VariablesModel.data</h4> |
391 <b>data</b>(<i>index, role=Qt.DisplayRole</i>) |
509 <b>data</b>(<i>index, role=Qt.DisplayRole</i>) |
|
510 |
392 <p> |
511 <p> |
393 Public method get the role data of item. |
512 Public method get the role data of item. |
394 </p><dl> |
513 </p> |
|
514 <dl> |
|
515 |
395 <dt><i>index</i> (QModelIndex)</dt> |
516 <dt><i>index</i> (QModelIndex)</dt> |
396 <dd> |
517 <dd> |
397 the model index |
518 the model index |
398 </dd><dt><i>role</i> (QtCore.Qt.ItemDataRole)</dt> |
519 </dd> |
|
520 <dt><i>role</i> (QtCore.Qt.ItemDataRole)</dt> |
399 <dd> |
521 <dd> |
400 the requested data role |
522 the requested data role |
401 </dd> |
523 </dd> |
402 </dl><dl> |
524 </dl> |
|
525 <dl> |
403 <dt>Returns:</dt> |
526 <dt>Returns:</dt> |
404 <dd> |
527 <dd> |
405 role data of item |
528 role data of item |
406 </dd> |
529 </dd> |
407 </dl><dl> |
530 </dl> |
|
531 <dl> |
408 <dt>Return Type:</dt> |
532 <dt>Return Type:</dt> |
409 <dd> |
533 <dd> |
410 Any |
534 Any |
411 </dd> |
535 </dd> |
412 </dl><a NAME="VariablesModel.flags" ID="VariablesModel.flags"></a> |
536 </dl> |
|
537 <a NAME="VariablesModel.flags" ID="VariablesModel.flags"></a> |
413 <h4>VariablesModel.flags</h4> |
538 <h4>VariablesModel.flags</h4> |
414 <b>flags</b>(<i>index</i>) |
539 <b>flags</b>(<i>index</i>) |
|
540 |
415 <p> |
541 <p> |
416 Public method to get the item flags. |
542 Public method to get the item flags. |
417 </p><dl> |
543 </p> |
|
544 <dl> |
|
545 |
418 <dt><i>index</i> (QModelIndex)</dt> |
546 <dt><i>index</i> (QModelIndex)</dt> |
419 <dd> |
547 <dd> |
420 of item |
548 of item |
421 </dd> |
549 </dd> |
422 </dl><dl> |
550 </dl> |
|
551 <dl> |
423 <dt>Returns:</dt> |
552 <dt>Returns:</dt> |
424 <dd> |
553 <dd> |
425 item flags |
554 item flags |
426 </dd> |
555 </dd> |
427 </dl><dl> |
556 </dl> |
|
557 <dl> |
428 <dt>Return Type:</dt> |
558 <dt>Return Type:</dt> |
429 <dd> |
559 <dd> |
430 QtCore.Qt.ItemFlag |
560 QtCore.Qt.ItemFlag |
431 </dd> |
561 </dd> |
432 </dl><a NAME="VariablesModel.getMore" ID="VariablesModel.getMore"></a> |
562 </dl> |
|
563 <a NAME="VariablesModel.getMore" ID="VariablesModel.getMore"></a> |
433 <h4>VariablesModel.getMore</h4> |
564 <h4>VariablesModel.getMore</h4> |
434 <b>getMore</b>(<i></i>) |
565 <b>getMore</b>(<i></i>) |
|
566 |
435 <p> |
567 <p> |
436 Public method to fetch the next variable from debugger. |
568 Public method to fetch the next variable from debugger. |
437 </p><a NAME="VariablesModel.handlePreferencesChanged" ID="VariablesModel.handlePreferencesChanged"></a> |
569 </p> |
|
570 <a NAME="VariablesModel.handlePreferencesChanged" ID="VariablesModel.handlePreferencesChanged"></a> |
438 <h4>VariablesModel.handlePreferencesChanged</h4> |
571 <h4>VariablesModel.handlePreferencesChanged</h4> |
439 <b>handlePreferencesChanged</b>(<i></i>) |
572 <b>handlePreferencesChanged</b>(<i></i>) |
|
573 |
440 <p> |
574 <p> |
441 Public slot to handle the preferencesChanged signal. |
575 Public slot to handle the preferencesChanged signal. |
442 </p><a NAME="VariablesModel.hasChildren" ID="VariablesModel.hasChildren"></a> |
576 </p> |
|
577 <a NAME="VariablesModel.hasChildren" ID="VariablesModel.hasChildren"></a> |
443 <h4>VariablesModel.hasChildren</h4> |
578 <h4>VariablesModel.hasChildren</h4> |
444 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) |
579 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) |
|
580 |
445 <p> |
581 <p> |
446 Public method to get a flag if parent has children. |
582 Public method to get a flag if parent has children. |
447 </p><dl> |
583 </p> |
|
584 <dl> |
|
585 |
448 <dt><i>parent</i> (QModelIndex)</dt> |
586 <dt><i>parent</i> (QModelIndex)</dt> |
449 <dd> |
587 <dd> |
450 the model parent |
588 the model parent |
451 </dd> |
589 </dd> |
452 </dl><dl> |
590 </dl> |
|
591 <dl> |
453 <dt>Returns:</dt> |
592 <dt>Returns:</dt> |
454 <dd> |
593 <dd> |
455 flag indicating parent has children |
594 flag indicating parent has children |
456 </dd> |
595 </dd> |
457 </dl><dl> |
596 </dl> |
|
597 <dl> |
458 <dt>Return Type:</dt> |
598 <dt>Return Type:</dt> |
459 <dd> |
599 <dd> |
460 bool |
600 bool |
461 </dd> |
601 </dd> |
462 </dl><a NAME="VariablesModel.headerData" ID="VariablesModel.headerData"></a> |
602 </dl> |
|
603 <a NAME="VariablesModel.headerData" ID="VariablesModel.headerData"></a> |
463 <h4>VariablesModel.headerData</h4> |
604 <h4>VariablesModel.headerData</h4> |
464 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) |
605 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) |
|
606 |
465 <p> |
607 <p> |
466 Public method get the header names. |
608 Public method get the header names. |
467 </p><dl> |
609 </p> |
|
610 <dl> |
|
611 |
468 <dt><i>section</i> (int)</dt> |
612 <dt><i>section</i> (int)</dt> |
469 <dd> |
613 <dd> |
470 the header section (row/coulumn) |
614 the header section (row/coulumn) |
471 </dd><dt><i>orientation</i> (QtCore.Qt.Orientation)</dt> |
615 </dd> |
|
616 <dt><i>orientation</i> (QtCore.Qt.Orientation)</dt> |
472 <dd> |
617 <dd> |
473 the header's orientation |
618 the header's orientation |
474 </dd><dt><i>role</i> (QtCore.Qt.ItemDataRole)</dt> |
619 </dd> |
|
620 <dt><i>role</i> (QtCore.Qt.ItemDataRole)</dt> |
475 <dd> |
621 <dd> |
476 the requested data role |
622 the requested data role |
477 </dd> |
623 </dd> |
478 </dl><dl> |
624 </dl> |
|
625 <dl> |
479 <dt>Returns:</dt> |
626 <dt>Returns:</dt> |
480 <dd> |
627 <dd> |
481 header name |
628 header name |
482 </dd> |
629 </dd> |
483 </dl><dl> |
630 </dl> |
|
631 <dl> |
484 <dt>Return Type:</dt> |
632 <dt>Return Type:</dt> |
485 <dd> |
633 <dd> |
486 str or None |
634 str or None |
487 </dd> |
635 </dd> |
488 </dl><a NAME="VariablesModel.index" ID="VariablesModel.index"></a> |
636 </dl> |
|
637 <a NAME="VariablesModel.index" ID="VariablesModel.index"></a> |
489 <h4>VariablesModel.index</h4> |
638 <h4>VariablesModel.index</h4> |
490 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
639 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
|
640 |
491 <p> |
641 <p> |
492 Public method to get the index of item at row:column of parent. |
642 Public method to get the index of item at row:column of parent. |
493 </p><dl> |
643 </p> |
|
644 <dl> |
|
645 |
494 <dt><i>row</i> (int)</dt> |
646 <dt><i>row</i> (int)</dt> |
495 <dd> |
647 <dd> |
496 number of rows |
648 number of rows |
497 </dd><dt><i>column</i> (int)</dt> |
649 </dd> |
|
650 <dt><i>column</i> (int)</dt> |
498 <dd> |
651 <dd> |
499 number of columns |
652 number of columns |
500 </dd><dt><i>parent</i> (QModelIndex)</dt> |
653 </dd> |
|
654 <dt><i>parent</i> (QModelIndex)</dt> |
501 <dd> |
655 <dd> |
502 the model parent |
656 the model parent |
503 </dd> |
657 </dd> |
504 </dl><dl> |
658 </dl> |
|
659 <dl> |
505 <dt>Returns:</dt> |
660 <dt>Returns:</dt> |
506 <dd> |
661 <dd> |
507 new model index for child |
662 new model index for child |
508 </dd> |
663 </dd> |
509 </dl><dl> |
664 </dl> |
|
665 <dl> |
510 <dt>Return Type:</dt> |
666 <dt>Return Type:</dt> |
511 <dd> |
667 <dd> |
512 QModelIndex |
668 QModelIndex |
513 </dd> |
669 </dd> |
514 </dl><a NAME="VariablesModel.parent" ID="VariablesModel.parent"></a> |
670 </dl> |
|
671 <a NAME="VariablesModel.parent" ID="VariablesModel.parent"></a> |
515 <h4>VariablesModel.parent</h4> |
672 <h4>VariablesModel.parent</h4> |
516 <b>parent</b>(<i>child</i>) |
673 <b>parent</b>(<i>child</i>) |
|
674 |
517 <p> |
675 <p> |
518 Public method to get the parent of the given child. |
676 Public method to get the parent of the given child. |
519 </p><dl> |
677 </p> |
|
678 <dl> |
|
679 |
520 <dt><i>child</i> (QModelIndex)</dt> |
680 <dt><i>child</i> (QModelIndex)</dt> |
521 <dd> |
681 <dd> |
522 the model child node |
682 the model child node |
523 </dd> |
683 </dd> |
524 </dl><dl> |
684 </dl> |
|
685 <dl> |
525 <dt>Returns:</dt> |
686 <dt>Returns:</dt> |
526 <dd> |
687 <dd> |
527 new model index for parent |
688 new model index for parent |
528 </dd> |
689 </dd> |
529 </dl><dl> |
690 </dl> |
|
691 <dl> |
530 <dt>Return Type:</dt> |
692 <dt>Return Type:</dt> |
531 <dd> |
693 <dd> |
532 QModelIndex |
694 QModelIndex |
533 </dd> |
695 </dd> |
534 </dl><a NAME="VariablesModel.resetModifiedMarker" ID="VariablesModel.resetModifiedMarker"></a> |
696 </dl> |
|
697 <a NAME="VariablesModel.resetModifiedMarker" ID="VariablesModel.resetModifiedMarker"></a> |
535 <h4>VariablesModel.resetModifiedMarker</h4> |
698 <h4>VariablesModel.resetModifiedMarker</h4> |
536 <b>resetModifiedMarker</b>(<i>parentIdx=QModelIndex(), pathlist=()</i>) |
699 <b>resetModifiedMarker</b>(<i>parentIdx=QModelIndex(), pathlist=()</i>) |
|
700 |
537 <p> |
701 <p> |
538 Public method to remove the modified marker from changed items. |
702 Public method to remove the modified marker from changed items. |
539 </p><dl> |
703 </p> |
|
704 <dl> |
|
705 |
540 <dt><i>parentIdx</i> (QModelIndex)</dt> |
706 <dt><i>parentIdx</i> (QModelIndex)</dt> |
541 <dd> |
707 <dd> |
542 item to reset marker |
708 item to reset marker |
543 </dd><dt><i>pathlist</i> (list of str)</dt> |
709 </dd> |
|
710 <dt><i>pathlist</i> (list of str)</dt> |
544 <dd> |
711 <dd> |
545 full path to the variable |
712 full path to the variable |
546 </dd> |
713 </dd> |
547 </dl><a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> |
714 </dl> |
|
715 <a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> |
548 <h4>VariablesModel.rowCount</h4> |
716 <h4>VariablesModel.rowCount</h4> |
549 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
717 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
|
718 |
550 <p> |
719 <p> |
551 Public method to get the row count. |
720 Public method to get the row count. |
552 </p><dl> |
721 </p> |
|
722 <dl> |
|
723 |
553 <dt><i>parent</i> (QModelIndex)</dt> |
724 <dt><i>parent</i> (QModelIndex)</dt> |
554 <dd> |
725 <dd> |
555 the model parent |
726 the model parent |
556 </dd> |
727 </dd> |
557 </dl><dl> |
728 </dl> |
|
729 <dl> |
558 <dt>Returns:</dt> |
730 <dt>Returns:</dt> |
559 <dd> |
731 <dd> |
560 number of rows |
732 number of rows |
561 </dd> |
733 </dd> |
562 </dl><dl> |
734 </dl> |
|
735 <dl> |
563 <dt>Return Type:</dt> |
736 <dt>Return Type:</dt> |
564 <dd> |
737 <dd> |
565 int |
738 int |
566 </dd> |
739 </dd> |
567 </dl><a NAME="VariablesModel.setExpanded" ID="VariablesModel.setExpanded"></a> |
740 </dl> |
|
741 <a NAME="VariablesModel.setExpanded" ID="VariablesModel.setExpanded"></a> |
568 <h4>VariablesModel.setExpanded</h4> |
742 <h4>VariablesModel.setExpanded</h4> |
569 <b>setExpanded</b>(<i>index, state</i>) |
743 <b>setExpanded</b>(<i>index, state</i>) |
|
744 |
570 <p> |
745 <p> |
571 Public method to set the expanded state of item. |
746 Public method to set the expanded state of item. |
572 </p><dl> |
747 </p> |
|
748 <dl> |
|
749 |
573 <dt><i>index</i> (QModelIndex)</dt> |
750 <dt><i>index</i> (QModelIndex)</dt> |
574 <dd> |
751 <dd> |
575 item to change expanded state |
752 item to change expanded state |
576 </dd><dt><i>state</i> (bool)</dt> |
753 </dd> |
|
754 <dt><i>state</i> (bool)</dt> |
577 <dd> |
755 <dd> |
578 state of the item |
756 state of the item |
579 </dd> |
757 </dd> |
580 </dl><a NAME="VariablesModel.showVariables" ID="VariablesModel.showVariables"></a> |
758 </dl> |
|
759 <a NAME="VariablesModel.showVariables" ID="VariablesModel.showVariables"></a> |
581 <h4>VariablesModel.showVariables</h4> |
760 <h4>VariablesModel.showVariables</h4> |
582 <b>showVariables</b>(<i>vlist, frmnr, pathlist=None</i>) |
761 <b>showVariables</b>(<i>vlist, frmnr, pathlist=None</i>) |
|
762 |
583 <p> |
763 <p> |
584 Public method to update the data model of variable in pathlist. |
764 Public method to update the data model of variable in pathlist. |
585 </p><dl> |
765 </p> |
|
766 <dl> |
|
767 |
586 <dt><i>vlist</i> (list of str)</dt> |
768 <dt><i>vlist</i> (list of str)</dt> |
587 <dd> |
769 <dd> |
588 the list of variables to be displayed. Each |
770 the list of variables to be displayed. Each |
589 list entry is a tuple of three values. |
771 list entry is a tuple of three values. |
590 <ul> |
772 <ul> |
591 <li>the variable name (string)</li> |
773 <li>the variable name (string)</li> |
592 <li>the variables type (string)</li> |
774 <li>the variables type (string)</li> |
593 <li>the variables value (string)</li> |
775 <li>the variables value (string)</li> |
594 </ul> |
776 </ul> |
595 </dd><dt><i>frmnr</i> (int)</dt> |
777 </dd> |
|
778 <dt><i>frmnr</i> (int)</dt> |
596 <dd> |
779 <dd> |
597 frame number (0 is the current frame) |
780 frame number (0 is the current frame) |
598 </dd><dt><i>pathlist</i> (list of str)</dt> |
781 </dd> |
|
782 <dt><i>pathlist</i> (list of str)</dt> |
599 <dd> |
783 <dd> |
600 full path to the variable |
784 full path to the variable |
601 </dd> |
785 </dd> |
602 </dl> |
786 </dl> |
603 <div align="right"><a href="#top">Up</a></div> |
787 <div align="right"><a href="#top">Up</a></div> |
604 <hr /><hr /> |
788 <hr /> |
|
789 <hr /> |
605 <a NAME="VariablesProxyModel" ID="VariablesProxyModel"></a> |
790 <a NAME="VariablesProxyModel" ID="VariablesProxyModel"></a> |
606 <h2>VariablesProxyModel</h2> |
791 <h2>VariablesProxyModel</h2> |
|
792 |
607 <p> |
793 <p> |
608 Class for handling the sort operations. |
794 Class for handling the sort operations. |
609 </p> |
795 </p> |
610 <h3>Derived from</h3> |
796 <h3>Derived from</h3> |
611 QSortFilterProxyModel |
797 QSortFilterProxyModel |
612 <h3>Class Attributes</h3> |
798 <h3>Class Attributes</h3> |
|
799 |
613 <table> |
800 <table> |
614 <tr><td>None</td></tr> |
801 <tr><td>None</td></tr> |
615 </table> |
802 </table> |
616 <h3>Class Methods</h3> |
803 <h3>Class Methods</h3> |
|
804 |
617 <table> |
805 <table> |
618 <tr><td>None</td></tr> |
806 <tr><td>None</td></tr> |
619 </table> |
807 </table> |
620 <h3>Methods</h3> |
808 <h3>Methods</h3> |
621 <table> |
809 |
|
810 <table> |
|
811 |
622 <tr> |
812 <tr> |
623 <td><a href="#VariablesProxyModel.__init__">VariablesProxyModel</a></td> |
813 <td><a href="#VariablesProxyModel.__init__">VariablesProxyModel</a></td> |
624 <td>Constructor</td> |
814 <td>Constructor</td> |
625 </tr><tr> |
815 </tr> |
|
816 <tr> |
626 <td><a href="#VariablesProxyModel.hasChildren">hasChildren</a></td> |
817 <td><a href="#VariablesProxyModel.hasChildren">hasChildren</a></td> |
627 <td>Public method to get a flag if parent has children.</td> |
818 <td>Public method to get a flag if parent has children.</td> |
628 </tr><tr> |
819 </tr> |
|
820 <tr> |
629 <td><a href="#VariablesProxyModel.setExpanded">setExpanded</a></td> |
821 <td><a href="#VariablesProxyModel.setExpanded">setExpanded</a></td> |
630 <td>Public slot to get a flag if parent has children.</td> |
822 <td>Public slot to get a flag if parent has children.</td> |
631 </tr> |
823 </tr> |
632 </table> |
824 </table> |
633 <h3>Static Methods</h3> |
825 <h3>Static Methods</h3> |
|
826 |
634 <table> |
827 <table> |
635 <tr><td>None</td></tr> |
828 <tr><td>None</td></tr> |
636 </table> |
829 </table> |
|
830 |
637 <a NAME="VariablesProxyModel.__init__" ID="VariablesProxyModel.__init__"></a> |
831 <a NAME="VariablesProxyModel.__init__" ID="VariablesProxyModel.__init__"></a> |
638 <h4>VariablesProxyModel (Constructor)</h4> |
832 <h4>VariablesProxyModel (Constructor)</h4> |
639 <b>VariablesProxyModel</b>(<i>parent=None</i>) |
833 <b>VariablesProxyModel</b>(<i>parent=None</i>) |
|
834 |
640 <p> |
835 <p> |
641 Constructor |
836 Constructor |
642 </p><dl> |
837 </p> |
|
838 <dl> |
|
839 |
643 <dt><i>parent</i> (QModelIndex)</dt> |
840 <dt><i>parent</i> (QModelIndex)</dt> |
644 <dd> |
841 <dd> |
645 the parent model index |
842 the parent model index |
646 </dd> |
843 </dd> |
647 </dl><a NAME="VariablesProxyModel.hasChildren" ID="VariablesProxyModel.hasChildren"></a> |
844 </dl> |
|
845 <a NAME="VariablesProxyModel.hasChildren" ID="VariablesProxyModel.hasChildren"></a> |
648 <h4>VariablesProxyModel.hasChildren</h4> |
846 <h4>VariablesProxyModel.hasChildren</h4> |
649 <b>hasChildren</b>(<i>parent</i>) |
847 <b>hasChildren</b>(<i>parent</i>) |
|
848 |
650 <p> |
849 <p> |
651 Public method to get a flag if parent has children. |
850 Public method to get a flag if parent has children. |
652 </p><p> |
851 </p> |
|
852 <p> |
653 The given model index has to be transformed to the underlying source |
853 The given model index has to be transformed to the underlying source |
654 model to get the correct result. |
854 model to get the correct result. |
655 </p><dl> |
855 </p> |
|
856 <dl> |
|
857 |
656 <dt><i>parent</i> (QModelIndex)</dt> |
858 <dt><i>parent</i> (QModelIndex)</dt> |
657 <dd> |
859 <dd> |
658 the model parent |
860 the model parent |
659 </dd> |
861 </dd> |
660 </dl><dl> |
862 </dl> |
|
863 <dl> |
661 <dt>Returns:</dt> |
864 <dt>Returns:</dt> |
662 <dd> |
865 <dd> |
663 flag if parent has children |
866 flag if parent has children |
664 </dd> |
867 </dd> |
665 </dl><dl> |
868 </dl> |
|
869 <dl> |
666 <dt>Return Type:</dt> |
870 <dt>Return Type:</dt> |
667 <dd> |
871 <dd> |
668 bool |
872 bool |
669 </dd> |
873 </dd> |
670 </dl><a NAME="VariablesProxyModel.setExpanded" ID="VariablesProxyModel.setExpanded"></a> |
874 </dl> |
|
875 <a NAME="VariablesProxyModel.setExpanded" ID="VariablesProxyModel.setExpanded"></a> |
671 <h4>VariablesProxyModel.setExpanded</h4> |
876 <h4>VariablesProxyModel.setExpanded</h4> |
672 <b>setExpanded</b>(<i>index, state</i>) |
877 <b>setExpanded</b>(<i>index, state</i>) |
|
878 |
673 <p> |
879 <p> |
674 Public slot to get a flag if parent has children. |
880 Public slot to get a flag if parent has children. |
675 </p><p> |
881 </p> |
|
882 <p> |
676 The given model index has to be transformed to the underlying source |
883 The given model index has to be transformed to the underlying source |
677 model to get the correct result. |
884 model to get the correct result. |
678 </p><dl> |
885 </p> |
|
886 <dl> |
|
887 |
679 <dt><i>index</i> (QModelIndex)</dt> |
888 <dt><i>index</i> (QModelIndex)</dt> |
680 <dd> |
889 <dd> |
681 item to change expanded state |
890 item to change expanded state |
682 </dd><dt><i>state</i> (bool)</dt> |
891 </dd> |
|
892 <dt><i>state</i> (bool)</dt> |
683 <dd> |
893 <dd> |
684 state of the item |
894 state of the item |
685 </dd> |
895 </dd> |
686 </dl> |
896 </dl> |
687 <div align="right"><a href="#top">Up</a></div> |
897 <div align="right"><a href="#top">Up</a></div> |
688 <hr /><hr /> |
898 <hr /> |
|
899 <hr /> |
689 <a NAME="VariablesViewer" ID="VariablesViewer"></a> |
900 <a NAME="VariablesViewer" ID="VariablesViewer"></a> |
690 <h2>VariablesViewer</h2> |
901 <h2>VariablesViewer</h2> |
|
902 |
691 <p> |
903 <p> |
692 Class implementing the variables viewer view. |
904 Class implementing the variables viewer view. |
693 </p><p> |
905 </p> |
|
906 <p> |
694 This view is used to display the variables of the program being |
907 This view is used to display the variables of the program being |
695 debugged in a tree. Compound types will be shown with |
908 debugged in a tree. Compound types will be shown with |
696 their main entry first. Once the subtree has been expanded, the |
909 their main entry first. Once the subtree has been expanded, the |
697 individual entries will be shown. Double clicking an entry will |
910 individual entries will be shown. Double clicking an entry will |
698 expand or collapse the item, if it has children and the double click |
911 expand or collapse the item, if it has children and the double click |
699 was performed on the first column of the tree, otherwise it'll |
912 was performed on the first column of the tree, otherwise it'll |
700 popup a dialog showing the variables parameters in a more readable |
913 popup a dialog showing the variables parameters in a more readable |
701 form. This is especially useful for lengthy strings. |
914 form. This is especially useful for lengthy strings. |
702 </p><p> |
915 </p> |
|
916 <p> |
703 This view has two modes for displaying the global and the local |
917 This view has two modes for displaying the global and the local |
704 variables. |
918 variables. |
705 </p><h3>Signals</h3> |
919 </p> |
706 <dl> |
920 <h3>Signals</h3> |
|
921 <dl> |
|
922 |
707 <dt>preferencesChanged()</dt> |
923 <dt>preferencesChanged()</dt> |
708 <dd> |
924 <dd> |
709 to inform model about new background colours |
925 to inform model about new background colours |
710 </dd> |
926 </dd> |
711 </dl> |
927 </dl> |
712 <h3>Derived from</h3> |
928 <h3>Derived from</h3> |
713 QTreeView |
929 QTreeView |
714 <h3>Class Attributes</h3> |
930 <h3>Class Attributes</h3> |
|
931 |
715 <table> |
932 <table> |
716 <tr><td>None</td></tr> |
933 <tr><td>None</td></tr> |
717 </table> |
934 </table> |
718 <h3>Class Methods</h3> |
935 <h3>Class Methods</h3> |
|
936 |
719 <table> |
937 <table> |
720 <tr><td>None</td></tr> |
938 <tr><td>None</td></tr> |
721 </table> |
939 </table> |
722 <h3>Methods</h3> |
940 <h3>Methods</h3> |
723 <table> |
941 |
|
942 <table> |
|
943 |
724 <tr> |
944 <tr> |
725 <td><a href="#VariablesViewer.__init__">VariablesViewer</a></td> |
945 <td><a href="#VariablesViewer.__init__">VariablesViewer</a></td> |
726 <td>Constructor</td> |
946 <td>Constructor</td> |
727 </tr><tr> |
947 </tr> |
|
948 <tr> |
728 <td><a href="#VariablesViewer.__collapseChildren">__collapseChildren</a></td> |
949 <td><a href="#VariablesViewer.__collapseChildren">__collapseChildren</a></td> |
729 <td>Private slot to collapse all child items of current parent.</td> |
950 <td>Private slot to collapse all child items of current parent.</td> |
730 </tr><tr> |
951 </tr> |
|
952 <tr> |
731 <td><a href="#VariablesViewer.__configure">__configure</a></td> |
953 <td><a href="#VariablesViewer.__configure">__configure</a></td> |
732 <td>Private method to open the configuration dialog.</td> |
954 <td>Private method to open the configuration dialog.</td> |
733 </tr><tr> |
955 </tr> |
|
956 <tr> |
734 <td><a href="#VariablesViewer.__configureFilter">__configureFilter</a></td> |
957 <td><a href="#VariablesViewer.__configureFilter">__configureFilter</a></td> |
735 <td>Private method to open the variables filter dialog.</td> |
958 <td>Private method to open the variables filter dialog.</td> |
736 </tr><tr> |
959 </tr> |
|
960 <tr> |
737 <td><a href="#VariablesViewer.__createPopupMenus">__createPopupMenus</a></td> |
961 <td><a href="#VariablesViewer.__createPopupMenus">__createPopupMenus</a></td> |
738 <td>Private method to generate the popup menus.</td> |
962 <td>Private method to generate the popup menus.</td> |
739 </tr><tr> |
963 </tr> |
|
964 <tr> |
740 <td><a href="#VariablesViewer.__expandChildren">__expandChildren</a></td> |
965 <td><a href="#VariablesViewer.__expandChildren">__expandChildren</a></td> |
741 <td>Private slot to expand all child items of current parent.</td> |
966 <td>Private slot to expand all child items of current parent.</td> |
742 </tr><tr> |
967 </tr> |
|
968 <tr> |
743 <td><a href="#VariablesViewer.__itemDoubleClicked">__itemDoubleClicked</a></td> |
969 <td><a href="#VariablesViewer.__itemDoubleClicked">__itemDoubleClicked</a></td> |
744 <td>Private method called if an item was double clicked.</td> |
970 <td>Private method called if an item was double clicked.</td> |
745 </tr><tr> |
971 </tr> |
|
972 <tr> |
746 <td><a href="#VariablesViewer.__mdlRequestExpand">__mdlRequestExpand</a></td> |
973 <td><a href="#VariablesViewer.__mdlRequestExpand">__mdlRequestExpand</a></td> |
747 <td>Private method to inform the view about items to be expand.</td> |
974 <td>Private method to inform the view about items to be expand.</td> |
748 </tr><tr> |
975 </tr> |
|
976 <tr> |
749 <td><a href="#VariablesViewer.__refreshView">__refreshView</a></td> |
977 <td><a href="#VariablesViewer.__refreshView">__refreshView</a></td> |
750 <td>Private slot to refresh the view.</td> |
978 <td>Private slot to refresh the view.</td> |
751 </tr><tr> |
979 </tr> |
|
980 <tr> |
752 <td><a href="#VariablesViewer.__showContextMenu">__showContextMenu</a></td> |
981 <td><a href="#VariablesViewer.__showContextMenu">__showContextMenu</a></td> |
753 <td>Private slot to show the context menu.</td> |
982 <td>Private slot to show the context menu.</td> |
754 </tr><tr> |
983 </tr> |
|
984 <tr> |
755 <td><a href="#VariablesViewer.__showDetails">__showDetails</a></td> |
985 <td><a href="#VariablesViewer.__showDetails">__showDetails</a></td> |
756 <td>Private slot to show details about the selected variable.</td> |
986 <td>Private slot to show details about the selected variable.</td> |
757 </tr><tr> |
987 </tr> |
|
988 <tr> |
758 <td><a href="#VariablesViewer.__showVariableDetails">__showVariableDetails</a></td> |
989 <td><a href="#VariablesViewer.__showVariableDetails">__showVariableDetails</a></td> |
759 <td>Private method to show details about a variable.</td> |
990 <td>Private method to show details about a variable.</td> |
760 </tr><tr> |
991 </tr> |
|
992 <tr> |
761 <td><a href="#VariablesViewer.handleResetUI">handleResetUI</a></td> |
993 <td><a href="#VariablesViewer.handleResetUI">handleResetUI</a></td> |
762 <td>Public method to reset the VariablesViewer.</td> |
994 <td>Public method to reset the VariablesViewer.</td> |
763 </tr><tr> |
995 </tr> |
|
996 <tr> |
764 <td><a href="#VariablesViewer.resizeEvent">resizeEvent</a></td> |
997 <td><a href="#VariablesViewer.resizeEvent">resizeEvent</a></td> |
765 <td>Protected slot informing about the widget size change.</td> |
998 <td>Protected slot informing about the widget size change.</td> |
766 </tr><tr> |
999 </tr> |
|
1000 <tr> |
767 <td><a href="#VariablesViewer.showVariable">showVariable</a></td> |
1001 <td><a href="#VariablesViewer.showVariable">showVariable</a></td> |
768 <td>Public method to show variables in a list.</td> |
1002 <td>Public method to show variables in a list.</td> |
769 </tr><tr> |
1003 </tr> |
|
1004 <tr> |
770 <td><a href="#VariablesViewer.showVariables">showVariables</a></td> |
1005 <td><a href="#VariablesViewer.showVariables">showVariables</a></td> |
771 <td>Public method to show variables in a list.</td> |
1006 <td>Public method to show variables in a list.</td> |
772 </tr><tr> |
1007 </tr> |
|
1008 <tr> |
773 <td><a href="#VariablesViewer.verticalScrollbarValueChanged">verticalScrollbarValueChanged</a></td> |
1009 <td><a href="#VariablesViewer.verticalScrollbarValueChanged">verticalScrollbarValueChanged</a></td> |
774 <td>Public slot informing about the scrollbar change.</td> |
1010 <td>Public slot informing about the scrollbar change.</td> |
775 </tr> |
1011 </tr> |
776 </table> |
1012 </table> |
777 <h3>Static Methods</h3> |
1013 <h3>Static Methods</h3> |
|
1014 |
778 <table> |
1015 <table> |
779 <tr><td>None</td></tr> |
1016 <tr><td>None</td></tr> |
780 </table> |
1017 </table> |
|
1018 |
781 <a NAME="VariablesViewer.__init__" ID="VariablesViewer.__init__"></a> |
1019 <a NAME="VariablesViewer.__init__" ID="VariablesViewer.__init__"></a> |
782 <h4>VariablesViewer (Constructor)</h4> |
1020 <h4>VariablesViewer (Constructor)</h4> |
783 <b>VariablesViewer</b>(<i>viewer, globalScope, parent=None</i>) |
1021 <b>VariablesViewer</b>(<i>viewer, globalScope, parent=None</i>) |
|
1022 |
784 <p> |
1023 <p> |
785 Constructor |
1024 Constructor |
786 </p><dl> |
1025 </p> |
|
1026 <dl> |
|
1027 |
787 <dt><i>viewer</i> (DebugViewer)</dt> |
1028 <dt><i>viewer</i> (DebugViewer)</dt> |
788 <dd> |
1029 <dd> |
789 reference to the debug viewer object |
1030 reference to the debug viewer object |
790 </dd><dt><i>globalScope</i> (bool)</dt> |
1031 </dd> |
|
1032 <dt><i>globalScope</i> (bool)</dt> |
791 <dd> |
1033 <dd> |
792 flag indicating global (True) or local (False) |
1034 flag indicating global (True) or local (False) |
793 variables |
1035 variables |
794 </dd><dt><i>parent</i> (QWidget)</dt> |
1036 </dd> |
|
1037 <dt><i>parent</i> (QWidget)</dt> |
795 <dd> |
1038 <dd> |
796 the parent |
1039 the parent |
797 </dd> |
1040 </dd> |
798 </dl><a NAME="VariablesViewer.__collapseChildren" ID="VariablesViewer.__collapseChildren"></a> |
1041 </dl> |
|
1042 <a NAME="VariablesViewer.__collapseChildren" ID="VariablesViewer.__collapseChildren"></a> |
799 <h4>VariablesViewer.__collapseChildren</h4> |
1043 <h4>VariablesViewer.__collapseChildren</h4> |
800 <b>__collapseChildren</b>(<i></i>) |
1044 <b>__collapseChildren</b>(<i></i>) |
|
1045 |
801 <p> |
1046 <p> |
802 Private slot to collapse all child items of current parent. |
1047 Private slot to collapse all child items of current parent. |
803 </p><a NAME="VariablesViewer.__configure" ID="VariablesViewer.__configure"></a> |
1048 </p> |
|
1049 <a NAME="VariablesViewer.__configure" ID="VariablesViewer.__configure"></a> |
804 <h4>VariablesViewer.__configure</h4> |
1050 <h4>VariablesViewer.__configure</h4> |
805 <b>__configure</b>(<i></i>) |
1051 <b>__configure</b>(<i></i>) |
|
1052 |
806 <p> |
1053 <p> |
807 Private method to open the configuration dialog. |
1054 Private method to open the configuration dialog. |
808 </p><a NAME="VariablesViewer.__configureFilter" ID="VariablesViewer.__configureFilter"></a> |
1055 </p> |
|
1056 <a NAME="VariablesViewer.__configureFilter" ID="VariablesViewer.__configureFilter"></a> |
809 <h4>VariablesViewer.__configureFilter</h4> |
1057 <h4>VariablesViewer.__configureFilter</h4> |
810 <b>__configureFilter</b>(<i></i>) |
1058 <b>__configureFilter</b>(<i></i>) |
|
1059 |
811 <p> |
1060 <p> |
812 Private method to open the variables filter dialog. |
1061 Private method to open the variables filter dialog. |
813 </p><a NAME="VariablesViewer.__createPopupMenus" ID="VariablesViewer.__createPopupMenus"></a> |
1062 </p> |
|
1063 <a NAME="VariablesViewer.__createPopupMenus" ID="VariablesViewer.__createPopupMenus"></a> |
814 <h4>VariablesViewer.__createPopupMenus</h4> |
1064 <h4>VariablesViewer.__createPopupMenus</h4> |
815 <b>__createPopupMenus</b>(<i></i>) |
1065 <b>__createPopupMenus</b>(<i></i>) |
|
1066 |
816 <p> |
1067 <p> |
817 Private method to generate the popup menus. |
1068 Private method to generate the popup menus. |
818 </p><a NAME="VariablesViewer.__expandChildren" ID="VariablesViewer.__expandChildren"></a> |
1069 </p> |
|
1070 <a NAME="VariablesViewer.__expandChildren" ID="VariablesViewer.__expandChildren"></a> |
819 <h4>VariablesViewer.__expandChildren</h4> |
1071 <h4>VariablesViewer.__expandChildren</h4> |
820 <b>__expandChildren</b>(<i></i>) |
1072 <b>__expandChildren</b>(<i></i>) |
|
1073 |
821 <p> |
1074 <p> |
822 Private slot to expand all child items of current parent. |
1075 Private slot to expand all child items of current parent. |
823 </p><a NAME="VariablesViewer.__itemDoubleClicked" ID="VariablesViewer.__itemDoubleClicked"></a> |
1076 </p> |
|
1077 <a NAME="VariablesViewer.__itemDoubleClicked" ID="VariablesViewer.__itemDoubleClicked"></a> |
824 <h4>VariablesViewer.__itemDoubleClicked</h4> |
1078 <h4>VariablesViewer.__itemDoubleClicked</h4> |
825 <b>__itemDoubleClicked</b>(<i>index</i>) |
1079 <b>__itemDoubleClicked</b>(<i>index</i>) |
|
1080 |
826 <p> |
1081 <p> |
827 Private method called if an item was double clicked. |
1082 Private method called if an item was double clicked. |
828 </p><dl> |
1083 </p> |
|
1084 <dl> |
|
1085 |
829 <dt><i>index</i> (QModelIndex)</dt> |
1086 <dt><i>index</i> (QModelIndex)</dt> |
830 <dd> |
1087 <dd> |
831 the double clicked item |
1088 the double clicked item |
832 </dd> |
1089 </dd> |
833 </dl><a NAME="VariablesViewer.__mdlRequestExpand" ID="VariablesViewer.__mdlRequestExpand"></a> |
1090 </dl> |
|
1091 <a NAME="VariablesViewer.__mdlRequestExpand" ID="VariablesViewer.__mdlRequestExpand"></a> |
834 <h4>VariablesViewer.__mdlRequestExpand</h4> |
1092 <h4>VariablesViewer.__mdlRequestExpand</h4> |
835 <b>__mdlRequestExpand</b>(<i>modelIndex</i>) |
1093 <b>__mdlRequestExpand</b>(<i>modelIndex</i>) |
|
1094 |
836 <p> |
1095 <p> |
837 Private method to inform the view about items to be expand. |
1096 Private method to inform the view about items to be expand. |
838 </p><dl> |
1097 </p> |
|
1098 <dl> |
|
1099 |
839 <dt><i>modelIndex</i> (QModelIndex)</dt> |
1100 <dt><i>modelIndex</i> (QModelIndex)</dt> |
840 <dd> |
1101 <dd> |
841 the model index |
1102 the model index |
842 </dd> |
1103 </dd> |
843 </dl><a NAME="VariablesViewer.__refreshView" ID="VariablesViewer.__refreshView"></a> |
1104 </dl> |
|
1105 <a NAME="VariablesViewer.__refreshView" ID="VariablesViewer.__refreshView"></a> |
844 <h4>VariablesViewer.__refreshView</h4> |
1106 <h4>VariablesViewer.__refreshView</h4> |
845 <b>__refreshView</b>(<i></i>) |
1107 <b>__refreshView</b>(<i></i>) |
|
1108 |
846 <p> |
1109 <p> |
847 Private slot to refresh the view. |
1110 Private slot to refresh the view. |
848 </p><a NAME="VariablesViewer.__showContextMenu" ID="VariablesViewer.__showContextMenu"></a> |
1111 </p> |
|
1112 <a NAME="VariablesViewer.__showContextMenu" ID="VariablesViewer.__showContextMenu"></a> |
849 <h4>VariablesViewer.__showContextMenu</h4> |
1113 <h4>VariablesViewer.__showContextMenu</h4> |
850 <b>__showContextMenu</b>(<i>coord</i>) |
1114 <b>__showContextMenu</b>(<i>coord</i>) |
|
1115 |
851 <p> |
1116 <p> |
852 Private slot to show the context menu. |
1117 Private slot to show the context menu. |
853 </p><dl> |
1118 </p> |
|
1119 <dl> |
|
1120 |
854 <dt><i>coord</i> (QPoint)</dt> |
1121 <dt><i>coord</i> (QPoint)</dt> |
855 <dd> |
1122 <dd> |
856 the position of the mouse pointer |
1123 the position of the mouse pointer |
857 </dd> |
1124 </dd> |
858 </dl><a NAME="VariablesViewer.__showDetails" ID="VariablesViewer.__showDetails"></a> |
1125 </dl> |
|
1126 <a NAME="VariablesViewer.__showDetails" ID="VariablesViewer.__showDetails"></a> |
859 <h4>VariablesViewer.__showDetails</h4> |
1127 <h4>VariablesViewer.__showDetails</h4> |
860 <b>__showDetails</b>(<i></i>) |
1128 <b>__showDetails</b>(<i></i>) |
|
1129 |
861 <p> |
1130 <p> |
862 Private slot to show details about the selected variable. |
1131 Private slot to show details about the selected variable. |
863 </p><a NAME="VariablesViewer.__showVariableDetails" ID="VariablesViewer.__showVariableDetails"></a> |
1132 </p> |
|
1133 <a NAME="VariablesViewer.__showVariableDetails" ID="VariablesViewer.__showVariableDetails"></a> |
864 <h4>VariablesViewer.__showVariableDetails</h4> |
1134 <h4>VariablesViewer.__showVariableDetails</h4> |
865 <b>__showVariableDetails</b>(<i>index</i>) |
1135 <b>__showVariableDetails</b>(<i>index</i>) |
|
1136 |
866 <p> |
1137 <p> |
867 Private method to show details about a variable. |
1138 Private method to show details about a variable. |
868 </p><dl> |
1139 </p> |
|
1140 <dl> |
|
1141 |
869 <dt><i>index</i> (QModelIndex)</dt> |
1142 <dt><i>index</i> (QModelIndex)</dt> |
870 <dd> |
1143 <dd> |
871 reference to the variable item |
1144 reference to the variable item |
872 </dd> |
1145 </dd> |
873 </dl><a NAME="VariablesViewer.handleResetUI" ID="VariablesViewer.handleResetUI"></a> |
1146 </dl> |
|
1147 <a NAME="VariablesViewer.handleResetUI" ID="VariablesViewer.handleResetUI"></a> |
874 <h4>VariablesViewer.handleResetUI</h4> |
1148 <h4>VariablesViewer.handleResetUI</h4> |
875 <b>handleResetUI</b>(<i></i>) |
1149 <b>handleResetUI</b>(<i></i>) |
|
1150 |
876 <p> |
1151 <p> |
877 Public method to reset the VariablesViewer. |
1152 Public method to reset the VariablesViewer. |
878 </p><a NAME="VariablesViewer.resizeEvent" ID="VariablesViewer.resizeEvent"></a> |
1153 </p> |
|
1154 <a NAME="VariablesViewer.resizeEvent" ID="VariablesViewer.resizeEvent"></a> |
879 <h4>VariablesViewer.resizeEvent</h4> |
1155 <h4>VariablesViewer.resizeEvent</h4> |
880 <b>resizeEvent</b>(<i>event</i>) |
1156 <b>resizeEvent</b>(<i>event</i>) |
|
1157 |
881 <p> |
1158 <p> |
882 Protected slot informing about the widget size change. |
1159 Protected slot informing about the widget size change. |
883 </p><dl> |
1160 </p> |
|
1161 <dl> |
|
1162 |
884 <dt><i>event</i> (QResizeEvent)</dt> |
1163 <dt><i>event</i> (QResizeEvent)</dt> |
885 <dd> |
1164 <dd> |
886 information |
1165 information |
887 </dd> |
1166 </dd> |
888 </dl><a NAME="VariablesViewer.showVariable" ID="VariablesViewer.showVariable"></a> |
1167 </dl> |
|
1168 <a NAME="VariablesViewer.showVariable" ID="VariablesViewer.showVariable"></a> |
889 <h4>VariablesViewer.showVariable</h4> |
1169 <h4>VariablesViewer.showVariable</h4> |
890 <b>showVariable</b>(<i>vlist</i>) |
1170 <b>showVariable</b>(<i>vlist</i>) |
|
1171 |
891 <p> |
1172 <p> |
892 Public method to show variables in a list. |
1173 Public method to show variables in a list. |
893 </p><dl> |
1174 </p> |
|
1175 <dl> |
|
1176 |
894 <dt><i>vlist</i> (list)</dt> |
1177 <dt><i>vlist</i> (list)</dt> |
895 <dd> |
1178 <dd> |
896 the list of subitems to be displayed. |
1179 the list of subitems to be displayed. |
897 The first element gives the path of the |
1180 The first element gives the path of the |
898 parent variable. Each other list entry is |
1181 parent variable. Each other list entry is |