10478:de9106c55c3d | 10479:856476537696 |
---|---|
5 <link rel="stylesheet" href="styles.css"> | 5 <link rel="stylesheet" href="styles.css"> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <a NAME="top" ID="top"></a> | 8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Debugger.VariablesViewer</h1> | 9 <h1>eric7.Debugger.VariablesViewer</h1> |
10 | |
11 <p> | 10 <p> |
12 Module implementing the variables viewer view based on QTreeView. | 11 Module implementing the variables viewer view based on QTreeView. |
13 </p> | 12 </p> |
13 | |
14 <h3>Global Attributes</h3> | 14 <h3>Global Attributes</h3> |
15 | |
16 <table> | 15 <table> |
17 <tr><td>SORT_ROLE</td></tr> | 16 <tr><td>SORT_ROLE</td></tr> |
18 </table> | 17 </table> |
18 | |
19 <h3>Classes</h3> | 19 <h3>Classes</h3> |
20 | 20 <table> |
21 <table> | |
22 | |
23 <tr> | 21 <tr> |
24 <td><a href="#VariableItem">VariableItem</a></td> | 22 <td><a href="#VariableItem">VariableItem</a></td> |
25 <td>Class implementing the data structure for all variable items.</td> | 23 <td>Class implementing the data structure for all variable items.</td> |
26 </tr> | 24 </tr> |
27 <tr> | 25 <tr> |
35 <tr> | 33 <tr> |
36 <td><a href="#VariablesViewer">VariablesViewer</a></td> | 34 <td><a href="#VariablesViewer">VariablesViewer</a></td> |
37 <td>Class implementing the variables viewer view.</td> | 35 <td>Class implementing the variables viewer view.</td> |
38 </tr> | 36 </tr> |
39 </table> | 37 </table> |
38 | |
40 <h3>Functions</h3> | 39 <h3>Functions</h3> |
41 | |
42 <table> | 40 <table> |
43 <tr><td>None</td></tr> | 41 <tr><td>None</td></tr> |
44 </table> | 42 </table> |
43 | |
45 <hr /> | 44 <hr /> |
46 <hr /> | 45 <hr /> |
47 <a NAME="VariableItem" ID="VariableItem"></a> | 46 <a NAME="VariableItem" ID="VariableItem"></a> |
48 <h2>VariableItem</h2> | 47 <h2>VariableItem</h2> |
49 | |
50 <p> | 48 <p> |
51 Class implementing the data structure for all variable items. | 49 Class implementing the data structure for all variable items. |
52 </p> | 50 </p> |
51 | |
53 <h3>Derived from</h3> | 52 <h3>Derived from</h3> |
54 None | 53 None |
55 <h3>Class Attributes</h3> | 54 <h3>Class Attributes</h3> |
56 | 55 <table> |
57 <table> | 56 <tr><td>noOfItemsStr</td></tr> |
58 <tr><td>noOfItemsStr</td></tr><tr><td>rx_nonprintable</td></tr><tr><td>unsized</td></tr> | 57 <tr><td>rx_nonprintable</td></tr> |
59 </table> | 58 <tr><td>unsized</td></tr> |
59 </table> | |
60 | |
60 <h3>Class Methods</h3> | 61 <h3>Class Methods</h3> |
61 | |
62 <table> | 62 <table> |
63 <tr><td>None</td></tr> | 63 <tr><td>None</td></tr> |
64 </table> | 64 </table> |
65 | |
65 <h3>Methods</h3> | 66 <h3>Methods</h3> |
66 | 67 <table> |
67 <table> | |
68 | |
69 <tr> | 68 <tr> |
70 <td><a href="#VariableItem.__init__">VariableItem</a></td> | 69 <td><a href="#VariableItem.__init__">VariableItem</a></td> |
71 <td>Constructor</td> | 70 <td>Constructor</td> |
72 </tr> | 71 </tr> |
73 <tr> | 72 <tr> |
81 <tr> | 80 <tr> |
82 <td><a href="#VariableItem.absolutCount">absolutCount</a></td> | 81 <td><a href="#VariableItem.absolutCount">absolutCount</a></td> |
83 <td>Public property to get the total number of children.</td> | 82 <td>Public property to get the total number of children.</td> |
84 </tr> | 83 </tr> |
85 </table> | 84 </table> |
85 | |
86 <h3>Static Methods</h3> | 86 <h3>Static Methods</h3> |
87 | |
88 <table> | 87 <table> |
89 <tr><td>None</td></tr> | 88 <tr><td>None</td></tr> |
90 </table> | 89 </table> |
90 | |
91 | 91 |
92 <a NAME="VariableItem.__init__" ID="VariableItem.__init__"></a> | 92 <a NAME="VariableItem.__init__" ID="VariableItem.__init__"></a> |
93 <h4>VariableItem (Constructor)</h4> | 93 <h4>VariableItem (Constructor)</h4> |
94 <b>VariableItem</b>(<i>parent, dvar, indicator, dtype, hasChildren, length, dvalue</i>) | 94 <b>VariableItem</b>(<i>parent, dvar, indicator, dtype, hasChildren, length, dvalue</i>) |
95 | |
96 <p> | 95 <p> |
97 Constructor | 96 Constructor |
98 </p> | 97 </p> |
98 | |
99 <dl> | 99 <dl> |
100 | 100 |
101 <dt><i>parent</i> (VariableItem)</dt> | 101 <dt><i>parent</i> (VariableItem)</dt> |
102 <dd> | 102 <dd> |
103 reference to the parent item | 103 reference to the parent item |
129 </dd> | 129 </dd> |
130 </dl> | 130 </dl> |
131 <a NAME="VariableItem.__getName" ID="VariableItem.__getName"></a> | 131 <a NAME="VariableItem.__getName" ID="VariableItem.__getName"></a> |
132 <h4>VariableItem.__getName</h4> | 132 <h4>VariableItem.__getName</h4> |
133 <b>__getName</b>(<i>dvar</i>) | 133 <b>__getName</b>(<i>dvar</i>) |
134 | |
135 <p> | 134 <p> |
136 Private method to extract the variable name. | 135 Private method to extract the variable name. |
137 </p> | 136 </p> |
137 | |
138 <dl> | 138 <dl> |
139 | 139 |
140 <dt><i>dvar</i> (str)</dt> | 140 <dt><i>dvar</i> (str)</dt> |
141 <dd> | 141 <dd> |
142 name of variable maybe with ID | 142 name of variable maybe with ID |
143 </dd> | 143 </dd> |
144 </dl> | 144 </dl> |
145 <a NAME="VariableItem.__getValue" ID="VariableItem.__getValue"></a> | 145 <a NAME="VariableItem.__getValue" ID="VariableItem.__getValue"></a> |
146 <h4>VariableItem.__getValue</h4> | 146 <h4>VariableItem.__getValue</h4> |
147 <b>__getValue</b>(<i>dtype, dvalue, indicator, length</i>) | 147 <b>__getValue</b>(<i>dtype, dvalue, indicator, length</i>) |
148 | |
149 <p> | 148 <p> |
150 Private method to process the variables value. | 149 Private method to process the variables value. |
151 </p> | 150 </p> |
152 <p> | 151 <p> |
153 Define and limit value, set tooltip text. If type is known to have | 152 Define and limit value, set tooltip text. If type is known to have |
154 children, the corresponding flag is set. | 153 children, the corresponding flag is set. |
155 </p> | 154 </p> |
155 | |
156 <dl> | 156 <dl> |
157 | 157 |
158 <dt><i>dtype</i> (str)</dt> | 158 <dt><i>dtype</i> (str)</dt> |
159 <dd> | 159 <dd> |
160 type string | 160 type string |
174 </dd> | 174 </dd> |
175 </dl> | 175 </dl> |
176 <a NAME="VariableItem.absolutCount" ID="VariableItem.absolutCount"></a> | 176 <a NAME="VariableItem.absolutCount" ID="VariableItem.absolutCount"></a> |
177 <h4>VariableItem.absolutCount</h4> | 177 <h4>VariableItem.absolutCount</h4> |
178 <b>absolutCount</b>(<i></i>) | 178 <b>absolutCount</b>(<i></i>) |
179 | |
180 <p> | 179 <p> |
181 Public property to get the total number of children. | 180 Public property to get the total number of children. |
182 </p> | 181 </p> |
182 | |
183 <dl> | 183 <dl> |
184 <dt>Return:</dt> | 184 <dt>Return:</dt> |
185 <dd> | 185 <dd> |
186 total number of children | 186 total number of children |
187 </dd> | 187 </dd> |
195 <div align="right"><a href="#top">Up</a></div> | 195 <div align="right"><a href="#top">Up</a></div> |
196 <hr /> | 196 <hr /> |
197 <hr /> | 197 <hr /> |
198 <a NAME="VariablesModel" ID="VariablesModel"></a> | 198 <a NAME="VariablesModel" ID="VariablesModel"></a> |
199 <h2>VariablesModel</h2> | 199 <h2>VariablesModel</h2> |
200 | |
201 <p> | 200 <p> |
202 Class implementing the data model for QTreeView. | 201 Class implementing the data model for QTreeView. |
203 </p> | 202 </p> |
203 | |
204 <h3>Signals</h3> | 204 <h3>Signals</h3> |
205 <dl> | 205 <dl> |
206 | 206 |
207 <dt>expand</dt> | 207 <dt>expand</dt> |
208 <dd> | 208 <dd> |
210 </dd> | 210 </dd> |
211 </dl> | 211 </dl> |
212 <h3>Derived from</h3> | 212 <h3>Derived from</h3> |
213 QAbstractItemModel | 213 QAbstractItemModel |
214 <h3>Class Attributes</h3> | 214 <h3>Class Attributes</h3> |
215 | |
216 <table> | 215 <table> |
217 <tr><td>None</td></tr> | 216 <tr><td>None</td></tr> |
218 </table> | 217 </table> |
218 | |
219 <h3>Class Methods</h3> | 219 <h3>Class Methods</h3> |
220 | |
221 <table> | 220 <table> |
222 <tr><td>None</td></tr> | 221 <tr><td>None</td></tr> |
223 </table> | 222 </table> |
223 | |
224 <h3>Methods</h3> | 224 <h3>Methods</h3> |
225 | 225 <table> |
226 <table> | |
227 | |
228 <tr> | 226 <tr> |
229 <td><a href="#VariablesModel.__init__">VariablesModel</a></td> | 227 <td><a href="#VariablesModel.__init__">VariablesModel</a></td> |
230 <td>Constructor</td> | 228 <td>Constructor</td> |
231 </tr> | 229 </tr> |
232 <tr> | 230 <tr> |
300 <tr> | 298 <tr> |
301 <td><a href="#VariablesModel.showVariables">showVariables</a></td> | 299 <td><a href="#VariablesModel.showVariables">showVariables</a></td> |
302 <td>Public method to update the data model of variable in pathlist.</td> | 300 <td>Public method to update the data model of variable in pathlist.</td> |
303 </tr> | 301 </tr> |
304 </table> | 302 </table> |
303 | |
305 <h3>Static Methods</h3> | 304 <h3>Static Methods</h3> |
306 | |
307 <table> | 305 <table> |
308 <tr><td>None</td></tr> | 306 <tr><td>None</td></tr> |
309 </table> | 307 </table> |
308 | |
310 | 309 |
311 <a NAME="VariablesModel.__init__" ID="VariablesModel.__init__"></a> | 310 <a NAME="VariablesModel.__init__" ID="VariablesModel.__init__"></a> |
312 <h4>VariablesModel (Constructor)</h4> | 311 <h4>VariablesModel (Constructor)</h4> |
313 <b>VariablesModel</b>(<i>treeView, globalScope</i>) | 312 <b>VariablesModel</b>(<i>treeView, globalScope</i>) |
314 | |
315 <p> | 313 <p> |
316 Constructor | 314 Constructor |
317 </p> | 315 </p> |
316 | |
318 <dl> | 317 <dl> |
319 | 318 |
320 <dt><i>treeView</i> (VariablesViewer)</dt> | 319 <dt><i>treeView</i> (VariablesViewer)</dt> |
321 <dd> | 320 <dd> |
322 QTreeView showing the data | 321 QTreeView showing the data |
328 </dd> | 327 </dd> |
329 </dl> | 328 </dl> |
330 <a NAME="VariablesModel.__buildTreePath" ID="VariablesModel.__buildTreePath"></a> | 329 <a NAME="VariablesModel.__buildTreePath" ID="VariablesModel.__buildTreePath"></a> |
331 <h4>VariablesModel.__buildTreePath</h4> | 330 <h4>VariablesModel.__buildTreePath</h4> |
332 <b>__buildTreePath</b>(<i>parent</i>) | 331 <b>__buildTreePath</b>(<i>parent</i>) |
333 | |
334 <p> | 332 <p> |
335 Private method to build up a path from the root to parent. | 333 Private method to build up a path from the root to parent. |
336 </p> | 334 </p> |
335 | |
337 <dl> | 336 <dl> |
338 | 337 |
339 <dt><i>parent</i> (VariableItem)</dt> | 338 <dt><i>parent</i> (VariableItem)</dt> |
340 <dd> | 339 <dd> |
341 item to build the path for | 340 item to build the path for |
354 </dd> | 353 </dd> |
355 </dl> | 354 </dl> |
356 <a NAME="VariablesModel.__cleanupParentList" ID="VariablesModel.__cleanupParentList"></a> | 355 <a NAME="VariablesModel.__cleanupParentList" ID="VariablesModel.__cleanupParentList"></a> |
357 <h4>VariablesModel.__cleanupParentList</h4> | 356 <h4>VariablesModel.__cleanupParentList</h4> |
358 <b>__cleanupParentList</b>(<i>parent, parentIdx</i>) | 357 <b>__cleanupParentList</b>(<i>parent, parentIdx</i>) |
359 | |
360 <p> | 358 <p> |
361 Private method to remove items which are left over at the end of the | 359 Private method to remove items which are left over at the end of the |
362 child list. | 360 child list. |
363 </p> | 361 </p> |
362 | |
364 <dl> | 363 <dl> |
365 | 364 |
366 <dt><i>parent</i> (VariableItem)</dt> | 365 <dt><i>parent</i> (VariableItem)</dt> |
367 <dd> | 366 <dd> |
368 to clean up | 367 to clean up |
373 </dd> | 372 </dd> |
374 </dl> | 373 </dl> |
375 <a NAME="VariablesModel.__findPendingItem" ID="VariablesModel.__findPendingItem"></a> | 374 <a NAME="VariablesModel.__findPendingItem" ID="VariablesModel.__findPendingItem"></a> |
376 <h4>VariablesModel.__findPendingItem</h4> | 375 <h4>VariablesModel.__findPendingItem</h4> |
377 <b>__findPendingItem</b>(<i>parent=None, pathlist=()</i>) | 376 <b>__findPendingItem</b>(<i>parent=None, pathlist=()</i>) |
378 | |
379 <p> | 377 <p> |
380 Private method to find the next item to request data from debugger. | 378 Private method to find the next item to request data from debugger. |
381 </p> | 379 </p> |
380 | |
382 <dl> | 381 <dl> |
383 | 382 |
384 <dt><i>parent</i> (VariableItem)</dt> | 383 <dt><i>parent</i> (VariableItem)</dt> |
385 <dd> | 384 <dd> |
386 the model parent | 385 the model parent |
403 </dd> | 402 </dd> |
404 </dl> | 403 </dl> |
405 <a NAME="VariablesModel.__findVariable" ID="VariablesModel.__findVariable"></a> | 404 <a NAME="VariablesModel.__findVariable" ID="VariablesModel.__findVariable"></a> |
406 <h4>VariablesModel.__findVariable</h4> | 405 <h4>VariablesModel.__findVariable</h4> |
407 <b>__findVariable</b>(<i>pathlist</i>) | 406 <b>__findVariable</b>(<i>pathlist</i>) |
408 | |
409 <p> | 407 <p> |
410 Private method to get to the given variable. | 408 Private method to get to the given variable. |
411 </p> | 409 </p> |
410 | |
412 <dl> | 411 <dl> |
413 | 412 |
414 <dt><i>pathlist</i> (list of str)</dt> | 413 <dt><i>pathlist</i> (list of str)</dt> |
415 <dd> | 414 <dd> |
416 full path to the variable | 415 full path to the variable |
429 </dd> | 428 </dd> |
430 </dl> | 429 </dl> |
431 <a NAME="VariablesModel.clear" ID="VariablesModel.clear"></a> | 430 <a NAME="VariablesModel.clear" ID="VariablesModel.clear"></a> |
432 <h4>VariablesModel.clear</h4> | 431 <h4>VariablesModel.clear</h4> |
433 <b>clear</b>(<i>reset=False</i>) | 432 <b>clear</b>(<i>reset=False</i>) |
434 | |
435 <p> | 433 <p> |
436 Public method to clear the complete data model. | 434 Public method to clear the complete data model. |
437 </p> | 435 </p> |
436 | |
438 <dl> | 437 <dl> |
439 | 438 |
440 <dt><i>reset</i> (bool)</dt> | 439 <dt><i>reset</i> (bool)</dt> |
441 <dd> | 440 <dd> |
442 flag to clear the expanded keys also | 441 flag to clear the expanded keys also |
443 </dd> | 442 </dd> |
444 </dl> | 443 </dl> |
445 <a NAME="VariablesModel.columnCount" ID="VariablesModel.columnCount"></a> | 444 <a NAME="VariablesModel.columnCount" ID="VariablesModel.columnCount"></a> |
446 <h4>VariablesModel.columnCount</h4> | 445 <h4>VariablesModel.columnCount</h4> |
447 <b>columnCount</b>(<i>parent=QModelIndex()</i>) | 446 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
448 | |
449 <p> | 447 <p> |
450 Public method to get the column count. | 448 Public method to get the column count. |
451 </p> | 449 </p> |
450 | |
452 <dl> | 451 <dl> |
453 | 452 |
454 <dt><i>parent</i> (QModelIndex)</dt> | 453 <dt><i>parent</i> (QModelIndex)</dt> |
455 <dd> | 454 <dd> |
456 the model parent | 455 the model parent |
469 </dd> | 468 </dd> |
470 </dl> | 469 </dl> |
471 <a NAME="VariablesModel.data" ID="VariablesModel.data"></a> | 470 <a NAME="VariablesModel.data" ID="VariablesModel.data"></a> |
472 <h4>VariablesModel.data</h4> | 471 <h4>VariablesModel.data</h4> |
473 <b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) | 472 <b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) |
474 | |
475 <p> | 473 <p> |
476 Public method get the role data of item. | 474 Public method get the role data of item. |
477 </p> | 475 </p> |
476 | |
478 <dl> | 477 <dl> |
479 | 478 |
480 <dt><i>index</i> (QModelIndex)</dt> | 479 <dt><i>index</i> (QModelIndex)</dt> |
481 <dd> | 480 <dd> |
482 the model index | 481 the model index |
499 </dd> | 498 </dd> |
500 </dl> | 499 </dl> |
501 <a NAME="VariablesModel.flags" ID="VariablesModel.flags"></a> | 500 <a NAME="VariablesModel.flags" ID="VariablesModel.flags"></a> |
502 <h4>VariablesModel.flags</h4> | 501 <h4>VariablesModel.flags</h4> |
503 <b>flags</b>(<i>index</i>) | 502 <b>flags</b>(<i>index</i>) |
504 | |
505 <p> | 503 <p> |
506 Public method to get the item flags. | 504 Public method to get the item flags. |
507 </p> | 505 </p> |
506 | |
508 <dl> | 507 <dl> |
509 | 508 |
510 <dt><i>index</i> (QModelIndex)</dt> | 509 <dt><i>index</i> (QModelIndex)</dt> |
511 <dd> | 510 <dd> |
512 of item | 511 of item |
525 </dd> | 524 </dd> |
526 </dl> | 525 </dl> |
527 <a NAME="VariablesModel.getMore" ID="VariablesModel.getMore"></a> | 526 <a NAME="VariablesModel.getMore" ID="VariablesModel.getMore"></a> |
528 <h4>VariablesModel.getMore</h4> | 527 <h4>VariablesModel.getMore</h4> |
529 <b>getMore</b>(<i></i>) | 528 <b>getMore</b>(<i></i>) |
530 | |
531 <p> | 529 <p> |
532 Public method to fetch the next variable from debugger. | 530 Public method to fetch the next variable from debugger. |
533 </p> | 531 </p> |
532 | |
534 <a NAME="VariablesModel.handlePreferencesChanged" ID="VariablesModel.handlePreferencesChanged"></a> | 533 <a NAME="VariablesModel.handlePreferencesChanged" ID="VariablesModel.handlePreferencesChanged"></a> |
535 <h4>VariablesModel.handlePreferencesChanged</h4> | 534 <h4>VariablesModel.handlePreferencesChanged</h4> |
536 <b>handlePreferencesChanged</b>(<i></i>) | 535 <b>handlePreferencesChanged</b>(<i></i>) |
537 | |
538 <p> | 536 <p> |
539 Public slot to handle the preferencesChanged signal. | 537 Public slot to handle the preferencesChanged signal. |
540 </p> | 538 </p> |
539 | |
541 <a NAME="VariablesModel.hasChildren" ID="VariablesModel.hasChildren"></a> | 540 <a NAME="VariablesModel.hasChildren" ID="VariablesModel.hasChildren"></a> |
542 <h4>VariablesModel.hasChildren</h4> | 541 <h4>VariablesModel.hasChildren</h4> |
543 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) | 542 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) |
544 | |
545 <p> | 543 <p> |
546 Public method to get a flag if parent has children. | 544 Public method to get a flag if parent has children. |
547 </p> | 545 </p> |
546 | |
548 <dl> | 547 <dl> |
549 | 548 |
550 <dt><i>parent</i> (QModelIndex)</dt> | 549 <dt><i>parent</i> (QModelIndex)</dt> |
551 <dd> | 550 <dd> |
552 the model parent | 551 the model parent |
565 </dd> | 564 </dd> |
566 </dl> | 565 </dl> |
567 <a NAME="VariablesModel.headerData" ID="VariablesModel.headerData"></a> | 566 <a NAME="VariablesModel.headerData" ID="VariablesModel.headerData"></a> |
568 <h4>VariablesModel.headerData</h4> | 567 <h4>VariablesModel.headerData</h4> |
569 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) | 568 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) |
570 | |
571 <p> | 569 <p> |
572 Public method get the header names. | 570 Public method get the header names. |
573 </p> | 571 </p> |
572 | |
574 <dl> | 573 <dl> |
575 | 574 |
576 <dt><i>section</i> (int)</dt> | 575 <dt><i>section</i> (int)</dt> |
577 <dd> | 576 <dd> |
578 the header section (row/column) | 577 the header section (row/column) |
599 </dd> | 598 </dd> |
600 </dl> | 599 </dl> |
601 <a NAME="VariablesModel.index" ID="VariablesModel.index"></a> | 600 <a NAME="VariablesModel.index" ID="VariablesModel.index"></a> |
602 <h4>VariablesModel.index</h4> | 601 <h4>VariablesModel.index</h4> |
603 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) | 602 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
604 | |
605 <p> | 603 <p> |
606 Public method to get the index of item at row:column of parent. | 604 Public method to get the index of item at row:column of parent. |
607 </p> | 605 </p> |
606 | |
608 <dl> | 607 <dl> |
609 | 608 |
610 <dt><i>row</i> (int)</dt> | 609 <dt><i>row</i> (int)</dt> |
611 <dd> | 610 <dd> |
612 number of rows | 611 number of rows |
633 </dd> | 632 </dd> |
634 </dl> | 633 </dl> |
635 <a NAME="VariablesModel.parent" ID="VariablesModel.parent"></a> | 634 <a NAME="VariablesModel.parent" ID="VariablesModel.parent"></a> |
636 <h4>VariablesModel.parent</h4> | 635 <h4>VariablesModel.parent</h4> |
637 <b>parent</b>(<i>child</i>) | 636 <b>parent</b>(<i>child</i>) |
638 | |
639 <p> | 637 <p> |
640 Public method to get the parent of the given child. | 638 Public method to get the parent of the given child. |
641 </p> | 639 </p> |
640 | |
642 <dl> | 641 <dl> |
643 | 642 |
644 <dt><i>child</i> (QModelIndex)</dt> | 643 <dt><i>child</i> (QModelIndex)</dt> |
645 <dd> | 644 <dd> |
646 the model child node | 645 the model child node |
659 </dd> | 658 </dd> |
660 </dl> | 659 </dl> |
661 <a NAME="VariablesModel.resetModifiedMarker" ID="VariablesModel.resetModifiedMarker"></a> | 660 <a NAME="VariablesModel.resetModifiedMarker" ID="VariablesModel.resetModifiedMarker"></a> |
662 <h4>VariablesModel.resetModifiedMarker</h4> | 661 <h4>VariablesModel.resetModifiedMarker</h4> |
663 <b>resetModifiedMarker</b>(<i>parentIdx=QModelIndex(), pathlist=()</i>) | 662 <b>resetModifiedMarker</b>(<i>parentIdx=QModelIndex(), pathlist=()</i>) |
664 | |
665 <p> | 663 <p> |
666 Public method to remove the modified marker from changed items. | 664 Public method to remove the modified marker from changed items. |
667 </p> | 665 </p> |
666 | |
668 <dl> | 667 <dl> |
669 | 668 |
670 <dt><i>parentIdx</i> (QModelIndex)</dt> | 669 <dt><i>parentIdx</i> (QModelIndex)</dt> |
671 <dd> | 670 <dd> |
672 item to reset marker | 671 item to reset marker |
677 </dd> | 676 </dd> |
678 </dl> | 677 </dl> |
679 <a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> | 678 <a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> |
680 <h4>VariablesModel.rowCount</h4> | 679 <h4>VariablesModel.rowCount</h4> |
681 <b>rowCount</b>(<i>parent=QModelIndex()</i>) | 680 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
682 | |
683 <p> | 681 <p> |
684 Public method to get the row count. | 682 Public method to get the row count. |
685 </p> | 683 </p> |
684 | |
686 <dl> | 685 <dl> |
687 | 686 |
688 <dt><i>parent</i> (QModelIndex)</dt> | 687 <dt><i>parent</i> (QModelIndex)</dt> |
689 <dd> | 688 <dd> |
690 the model parent | 689 the model parent |
703 </dd> | 702 </dd> |
704 </dl> | 703 </dl> |
705 <a NAME="VariablesModel.setExpanded" ID="VariablesModel.setExpanded"></a> | 704 <a NAME="VariablesModel.setExpanded" ID="VariablesModel.setExpanded"></a> |
706 <h4>VariablesModel.setExpanded</h4> | 705 <h4>VariablesModel.setExpanded</h4> |
707 <b>setExpanded</b>(<i>index, state</i>) | 706 <b>setExpanded</b>(<i>index, state</i>) |
708 | |
709 <p> | 707 <p> |
710 Public method to set the expanded state of item. | 708 Public method to set the expanded state of item. |
711 </p> | 709 </p> |
710 | |
712 <dl> | 711 <dl> |
713 | 712 |
714 <dt><i>index</i> (QModelIndex)</dt> | 713 <dt><i>index</i> (QModelIndex)</dt> |
715 <dd> | 714 <dd> |
716 item to change expanded state | 715 item to change expanded state |
721 </dd> | 720 </dd> |
722 </dl> | 721 </dl> |
723 <a NAME="VariablesModel.showVariables" ID="VariablesModel.showVariables"></a> | 722 <a NAME="VariablesModel.showVariables" ID="VariablesModel.showVariables"></a> |
724 <h4>VariablesModel.showVariables</h4> | 723 <h4>VariablesModel.showVariables</h4> |
725 <b>showVariables</b>(<i>vlist, frmnr, pathlist=None</i>) | 724 <b>showVariables</b>(<i>vlist, frmnr, pathlist=None</i>) |
726 | |
727 <p> | 725 <p> |
728 Public method to update the data model of variable in pathlist. | 726 Public method to update the data model of variable in pathlist. |
729 </p> | 727 </p> |
728 | |
730 <dl> | 729 <dl> |
731 | 730 |
732 <dt><i>vlist</i> (list of str)</dt> | 731 <dt><i>vlist</i> (list of str)</dt> |
733 <dd> | 732 <dd> |
734 the list of variables to be displayed. Each | 733 the list of variables to be displayed. Each |
754 <div align="right"><a href="#top">Up</a></div> | 753 <div align="right"><a href="#top">Up</a></div> |
755 <hr /> | 754 <hr /> |
756 <hr /> | 755 <hr /> |
757 <a NAME="VariablesProxyModel" ID="VariablesProxyModel"></a> | 756 <a NAME="VariablesProxyModel" ID="VariablesProxyModel"></a> |
758 <h2>VariablesProxyModel</h2> | 757 <h2>VariablesProxyModel</h2> |
759 | |
760 <p> | 758 <p> |
761 Class for handling the sort operations. | 759 Class for handling the sort operations. |
762 </p> | 760 </p> |
761 | |
763 <h3>Derived from</h3> | 762 <h3>Derived from</h3> |
764 QSortFilterProxyModel | 763 QSortFilterProxyModel |
765 <h3>Class Attributes</h3> | 764 <h3>Class Attributes</h3> |
766 | |
767 <table> | 765 <table> |
768 <tr><td>None</td></tr> | 766 <tr><td>None</td></tr> |
769 </table> | 767 </table> |
768 | |
770 <h3>Class Methods</h3> | 769 <h3>Class Methods</h3> |
771 | |
772 <table> | 770 <table> |
773 <tr><td>None</td></tr> | 771 <tr><td>None</td></tr> |
774 </table> | 772 </table> |
773 | |
775 <h3>Methods</h3> | 774 <h3>Methods</h3> |
776 | 775 <table> |
777 <table> | |
778 | |
779 <tr> | 776 <tr> |
780 <td><a href="#VariablesProxyModel.__init__">VariablesProxyModel</a></td> | 777 <td><a href="#VariablesProxyModel.__init__">VariablesProxyModel</a></td> |
781 <td>Constructor</td> | 778 <td>Constructor</td> |
782 </tr> | 779 </tr> |
783 <tr> | 780 <tr> |
787 <tr> | 784 <tr> |
788 <td><a href="#VariablesProxyModel.setExpanded">setExpanded</a></td> | 785 <td><a href="#VariablesProxyModel.setExpanded">setExpanded</a></td> |
789 <td>Public slot to get a flag if parent has children.</td> | 786 <td>Public slot to get a flag if parent has children.</td> |
790 </tr> | 787 </tr> |
791 </table> | 788 </table> |
789 | |
792 <h3>Static Methods</h3> | 790 <h3>Static Methods</h3> |
793 | |
794 <table> | 791 <table> |
795 <tr><td>None</td></tr> | 792 <tr><td>None</td></tr> |
796 </table> | 793 </table> |
794 | |
797 | 795 |
798 <a NAME="VariablesProxyModel.__init__" ID="VariablesProxyModel.__init__"></a> | 796 <a NAME="VariablesProxyModel.__init__" ID="VariablesProxyModel.__init__"></a> |
799 <h4>VariablesProxyModel (Constructor)</h4> | 797 <h4>VariablesProxyModel (Constructor)</h4> |
800 <b>VariablesProxyModel</b>(<i>parent=None</i>) | 798 <b>VariablesProxyModel</b>(<i>parent=None</i>) |
801 | |
802 <p> | 799 <p> |
803 Constructor | 800 Constructor |
804 </p> | 801 </p> |
802 | |
805 <dl> | 803 <dl> |
806 | 804 |
807 <dt><i>parent</i> (QModelIndex)</dt> | 805 <dt><i>parent</i> (QModelIndex)</dt> |
808 <dd> | 806 <dd> |
809 the parent model index | 807 the parent model index |
810 </dd> | 808 </dd> |
811 </dl> | 809 </dl> |
812 <a NAME="VariablesProxyModel.hasChildren" ID="VariablesProxyModel.hasChildren"></a> | 810 <a NAME="VariablesProxyModel.hasChildren" ID="VariablesProxyModel.hasChildren"></a> |
813 <h4>VariablesProxyModel.hasChildren</h4> | 811 <h4>VariablesProxyModel.hasChildren</h4> |
814 <b>hasChildren</b>(<i>parent</i>) | 812 <b>hasChildren</b>(<i>parent</i>) |
815 | |
816 <p> | 813 <p> |
817 Public method to get a flag if parent has children. | 814 Public method to get a flag if parent has children. |
818 </p> | 815 </p> |
819 <p> | 816 <p> |
820 The given model index has to be transformed to the underlying source | 817 The given model index has to be transformed to the underlying source |
821 model to get the correct result. | 818 model to get the correct result. |
822 </p> | 819 </p> |
820 | |
823 <dl> | 821 <dl> |
824 | 822 |
825 <dt><i>parent</i> (QModelIndex)</dt> | 823 <dt><i>parent</i> (QModelIndex)</dt> |
826 <dd> | 824 <dd> |
827 the model parent | 825 the model parent |
840 </dd> | 838 </dd> |
841 </dl> | 839 </dl> |
842 <a NAME="VariablesProxyModel.setExpanded" ID="VariablesProxyModel.setExpanded"></a> | 840 <a NAME="VariablesProxyModel.setExpanded" ID="VariablesProxyModel.setExpanded"></a> |
843 <h4>VariablesProxyModel.setExpanded</h4> | 841 <h4>VariablesProxyModel.setExpanded</h4> |
844 <b>setExpanded</b>(<i>index, state</i>) | 842 <b>setExpanded</b>(<i>index, state</i>) |
845 | |
846 <p> | 843 <p> |
847 Public slot to get a flag if parent has children. | 844 Public slot to get a flag if parent has children. |
848 </p> | 845 </p> |
849 <p> | 846 <p> |
850 The given model index has to be transformed to the underlying source | 847 The given model index has to be transformed to the underlying source |
851 model to get the correct result. | 848 model to get the correct result. |
852 </p> | 849 </p> |
850 | |
853 <dl> | 851 <dl> |
854 | 852 |
855 <dt><i>index</i> (QModelIndex)</dt> | 853 <dt><i>index</i> (QModelIndex)</dt> |
856 <dd> | 854 <dd> |
857 item to change expanded state | 855 item to change expanded state |
864 <div align="right"><a href="#top">Up</a></div> | 862 <div align="right"><a href="#top">Up</a></div> |
865 <hr /> | 863 <hr /> |
866 <hr /> | 864 <hr /> |
867 <a NAME="VariablesViewer" ID="VariablesViewer"></a> | 865 <a NAME="VariablesViewer" ID="VariablesViewer"></a> |
868 <h2>VariablesViewer</h2> | 866 <h2>VariablesViewer</h2> |
869 | |
870 <p> | 867 <p> |
871 Class implementing the variables viewer view. | 868 Class implementing the variables viewer view. |
872 </p> | 869 </p> |
873 <p> | 870 <p> |
874 This view is used to display the variables of the program being | 871 This view is used to display the variables of the program being |
882 </p> | 879 </p> |
883 <p> | 880 <p> |
884 This view has two modes for displaying the global and the local | 881 This view has two modes for displaying the global and the local |
885 variables. | 882 variables. |
886 </p> | 883 </p> |
884 | |
887 <h3>Signals</h3> | 885 <h3>Signals</h3> |
888 <dl> | 886 <dl> |
889 | 887 |
890 <dt>preferencesChanged()</dt> | 888 <dt>preferencesChanged()</dt> |
891 <dd> | 889 <dd> |
893 </dd> | 891 </dd> |
894 </dl> | 892 </dl> |
895 <h3>Derived from</h3> | 893 <h3>Derived from</h3> |
896 QTreeView | 894 QTreeView |
897 <h3>Class Attributes</h3> | 895 <h3>Class Attributes</h3> |
898 | |
899 <table> | 896 <table> |
900 <tr><td>None</td></tr> | 897 <tr><td>None</td></tr> |
901 </table> | 898 </table> |
899 | |
902 <h3>Class Methods</h3> | 900 <h3>Class Methods</h3> |
903 | |
904 <table> | 901 <table> |
905 <tr><td>None</td></tr> | 902 <tr><td>None</td></tr> |
906 </table> | 903 </table> |
904 | |
907 <h3>Methods</h3> | 905 <h3>Methods</h3> |
908 | 906 <table> |
909 <table> | |
910 | |
911 <tr> | 907 <tr> |
912 <td><a href="#VariablesViewer.__init__">VariablesViewer</a></td> | 908 <td><a href="#VariablesViewer.__init__">VariablesViewer</a></td> |
913 <td>Constructor</td> | 909 <td>Constructor</td> |
914 </tr> | 910 </tr> |
915 <tr> | 911 <tr> |
979 <tr> | 975 <tr> |
980 <td><a href="#VariablesViewer.verticalScrollbarValueChanged">verticalScrollbarValueChanged</a></td> | 976 <td><a href="#VariablesViewer.verticalScrollbarValueChanged">verticalScrollbarValueChanged</a></td> |
981 <td>Public slot informing about the scrollbar change.</td> | 977 <td>Public slot informing about the scrollbar change.</td> |
982 </tr> | 978 </tr> |
983 </table> | 979 </table> |
980 | |
984 <h3>Static Methods</h3> | 981 <h3>Static Methods</h3> |
985 | |
986 <table> | 982 <table> |
987 <tr><td>None</td></tr> | 983 <tr><td>None</td></tr> |
988 </table> | 984 </table> |
985 | |
989 | 986 |
990 <a NAME="VariablesViewer.__init__" ID="VariablesViewer.__init__"></a> | 987 <a NAME="VariablesViewer.__init__" ID="VariablesViewer.__init__"></a> |
991 <h4>VariablesViewer (Constructor)</h4> | 988 <h4>VariablesViewer (Constructor)</h4> |
992 <b>VariablesViewer</b>(<i>viewer, globalScope, parent=None</i>) | 989 <b>VariablesViewer</b>(<i>viewer, globalScope, parent=None</i>) |
993 | |
994 <p> | 990 <p> |
995 Constructor | 991 Constructor |
996 </p> | 992 </p> |
993 | |
997 <dl> | 994 <dl> |
998 | 995 |
999 <dt><i>viewer</i> (DebugViewer)</dt> | 996 <dt><i>viewer</i> (DebugViewer)</dt> |
1000 <dd> | 997 <dd> |
1001 reference to the debug viewer object | 998 reference to the debug viewer object |
1011 </dd> | 1008 </dd> |
1012 </dl> | 1009 </dl> |
1013 <a NAME="VariablesViewer.__collapseChildren" ID="VariablesViewer.__collapseChildren"></a> | 1010 <a NAME="VariablesViewer.__collapseChildren" ID="VariablesViewer.__collapseChildren"></a> |
1014 <h4>VariablesViewer.__collapseChildren</h4> | 1011 <h4>VariablesViewer.__collapseChildren</h4> |
1015 <b>__collapseChildren</b>(<i></i>) | 1012 <b>__collapseChildren</b>(<i></i>) |
1016 | |
1017 <p> | 1013 <p> |
1018 Private slot to collapse all child items of current parent. | 1014 Private slot to collapse all child items of current parent. |
1019 </p> | 1015 </p> |
1016 | |
1020 <a NAME="VariablesViewer.__configure" ID="VariablesViewer.__configure"></a> | 1017 <a NAME="VariablesViewer.__configure" ID="VariablesViewer.__configure"></a> |
1021 <h4>VariablesViewer.__configure</h4> | 1018 <h4>VariablesViewer.__configure</h4> |
1022 <b>__configure</b>(<i></i>) | 1019 <b>__configure</b>(<i></i>) |
1023 | |
1024 <p> | 1020 <p> |
1025 Private method to open the configuration dialog. | 1021 Private method to open the configuration dialog. |
1026 </p> | 1022 </p> |
1023 | |
1027 <a NAME="VariablesViewer.__configureFilter" ID="VariablesViewer.__configureFilter"></a> | 1024 <a NAME="VariablesViewer.__configureFilter" ID="VariablesViewer.__configureFilter"></a> |
1028 <h4>VariablesViewer.__configureFilter</h4> | 1025 <h4>VariablesViewer.__configureFilter</h4> |
1029 <b>__configureFilter</b>(<i></i>) | 1026 <b>__configureFilter</b>(<i></i>) |
1030 | |
1031 <p> | 1027 <p> |
1032 Private method to open the variables filter dialog. | 1028 Private method to open the variables filter dialog. |
1033 </p> | 1029 </p> |
1030 | |
1034 <a NAME="VariablesViewer.__createPopupMenus" ID="VariablesViewer.__createPopupMenus"></a> | 1031 <a NAME="VariablesViewer.__createPopupMenus" ID="VariablesViewer.__createPopupMenus"></a> |
1035 <h4>VariablesViewer.__createPopupMenus</h4> | 1032 <h4>VariablesViewer.__createPopupMenus</h4> |
1036 <b>__createPopupMenus</b>(<i></i>) | 1033 <b>__createPopupMenus</b>(<i></i>) |
1037 | |
1038 <p> | 1034 <p> |
1039 Private method to generate the popup menus. | 1035 Private method to generate the popup menus. |
1040 </p> | 1036 </p> |
1037 | |
1041 <a NAME="VariablesViewer.__expandChildren" ID="VariablesViewer.__expandChildren"></a> | 1038 <a NAME="VariablesViewer.__expandChildren" ID="VariablesViewer.__expandChildren"></a> |
1042 <h4>VariablesViewer.__expandChildren</h4> | 1039 <h4>VariablesViewer.__expandChildren</h4> |
1043 <b>__expandChildren</b>(<i></i>) | 1040 <b>__expandChildren</b>(<i></i>) |
1044 | |
1045 <p> | 1041 <p> |
1046 Private slot to expand all child items of current parent. | 1042 Private slot to expand all child items of current parent. |
1047 </p> | 1043 </p> |
1044 | |
1048 <a NAME="VariablesViewer.__itemDoubleClicked" ID="VariablesViewer.__itemDoubleClicked"></a> | 1045 <a NAME="VariablesViewer.__itemDoubleClicked" ID="VariablesViewer.__itemDoubleClicked"></a> |
1049 <h4>VariablesViewer.__itemDoubleClicked</h4> | 1046 <h4>VariablesViewer.__itemDoubleClicked</h4> |
1050 <b>__itemDoubleClicked</b>(<i>index</i>) | 1047 <b>__itemDoubleClicked</b>(<i>index</i>) |
1051 | |
1052 <p> | 1048 <p> |
1053 Private method called if an item was double clicked. | 1049 Private method called if an item was double clicked. |
1054 </p> | 1050 </p> |
1051 | |
1055 <dl> | 1052 <dl> |
1056 | 1053 |
1057 <dt><i>index</i> (QModelIndex)</dt> | 1054 <dt><i>index</i> (QModelIndex)</dt> |
1058 <dd> | 1055 <dd> |
1059 the double clicked item | 1056 the double clicked item |
1060 </dd> | 1057 </dd> |
1061 </dl> | 1058 </dl> |
1062 <a NAME="VariablesViewer.__mdlRequestExpand" ID="VariablesViewer.__mdlRequestExpand"></a> | 1059 <a NAME="VariablesViewer.__mdlRequestExpand" ID="VariablesViewer.__mdlRequestExpand"></a> |
1063 <h4>VariablesViewer.__mdlRequestExpand</h4> | 1060 <h4>VariablesViewer.__mdlRequestExpand</h4> |
1064 <b>__mdlRequestExpand</b>(<i>modelIndex</i>) | 1061 <b>__mdlRequestExpand</b>(<i>modelIndex</i>) |
1065 | |
1066 <p> | 1062 <p> |
1067 Private method to inform the view about items to be expand. | 1063 Private method to inform the view about items to be expand. |
1068 </p> | 1064 </p> |
1065 | |
1069 <dl> | 1066 <dl> |
1070 | 1067 |
1071 <dt><i>modelIndex</i> (QModelIndex)</dt> | 1068 <dt><i>modelIndex</i> (QModelIndex)</dt> |
1072 <dd> | 1069 <dd> |
1073 the model index | 1070 the model index |
1074 </dd> | 1071 </dd> |
1075 </dl> | 1072 </dl> |
1076 <a NAME="VariablesViewer.__refreshView" ID="VariablesViewer.__refreshView"></a> | 1073 <a NAME="VariablesViewer.__refreshView" ID="VariablesViewer.__refreshView"></a> |
1077 <h4>VariablesViewer.__refreshView</h4> | 1074 <h4>VariablesViewer.__refreshView</h4> |
1078 <b>__refreshView</b>(<i></i>) | 1075 <b>__refreshView</b>(<i></i>) |
1079 | |
1080 <p> | 1076 <p> |
1081 Private slot to refresh the view. | 1077 Private slot to refresh the view. |
1082 </p> | 1078 </p> |
1079 | |
1083 <a NAME="VariablesViewer.__showContextMenu" ID="VariablesViewer.__showContextMenu"></a> | 1080 <a NAME="VariablesViewer.__showContextMenu" ID="VariablesViewer.__showContextMenu"></a> |
1084 <h4>VariablesViewer.__showContextMenu</h4> | 1081 <h4>VariablesViewer.__showContextMenu</h4> |
1085 <b>__showContextMenu</b>(<i>coord</i>) | 1082 <b>__showContextMenu</b>(<i>coord</i>) |
1086 | |
1087 <p> | 1083 <p> |
1088 Private slot to show the context menu. | 1084 Private slot to show the context menu. |
1089 </p> | 1085 </p> |
1086 | |
1090 <dl> | 1087 <dl> |
1091 | 1088 |
1092 <dt><i>coord</i> (QPoint)</dt> | 1089 <dt><i>coord</i> (QPoint)</dt> |
1093 <dd> | 1090 <dd> |
1094 the position of the mouse pointer | 1091 the position of the mouse pointer |
1095 </dd> | 1092 </dd> |
1096 </dl> | 1093 </dl> |
1097 <a NAME="VariablesViewer.__showDetails" ID="VariablesViewer.__showDetails"></a> | 1094 <a NAME="VariablesViewer.__showDetails" ID="VariablesViewer.__showDetails"></a> |
1098 <h4>VariablesViewer.__showDetails</h4> | 1095 <h4>VariablesViewer.__showDetails</h4> |
1099 <b>__showDetails</b>(<i></i>) | 1096 <b>__showDetails</b>(<i></i>) |
1100 | |
1101 <p> | 1097 <p> |
1102 Private slot to show details about the selected variable. | 1098 Private slot to show details about the selected variable. |
1103 </p> | 1099 </p> |
1100 | |
1104 <a NAME="VariablesViewer.__showVariableDetails" ID="VariablesViewer.__showVariableDetails"></a> | 1101 <a NAME="VariablesViewer.__showVariableDetails" ID="VariablesViewer.__showVariableDetails"></a> |
1105 <h4>VariablesViewer.__showVariableDetails</h4> | 1102 <h4>VariablesViewer.__showVariableDetails</h4> |
1106 <b>__showVariableDetails</b>(<i>index</i>) | 1103 <b>__showVariableDetails</b>(<i>index</i>) |
1107 | |
1108 <p> | 1104 <p> |
1109 Private method to show details about a variable. | 1105 Private method to show details about a variable. |
1110 </p> | 1106 </p> |
1107 | |
1111 <dl> | 1108 <dl> |
1112 | 1109 |
1113 <dt><i>index</i> (QModelIndex)</dt> | 1110 <dt><i>index</i> (QModelIndex)</dt> |
1114 <dd> | 1111 <dd> |
1115 reference to the variable item | 1112 reference to the variable item |
1116 </dd> | 1113 </dd> |
1117 </dl> | 1114 </dl> |
1118 <a NAME="VariablesViewer.clear" ID="VariablesViewer.clear"></a> | 1115 <a NAME="VariablesViewer.clear" ID="VariablesViewer.clear"></a> |
1119 <h4>VariablesViewer.clear</h4> | 1116 <h4>VariablesViewer.clear</h4> |
1120 <b>clear</b>(<i></i>) | 1117 <b>clear</b>(<i></i>) |
1121 | |
1122 <p> | 1118 <p> |
1123 Public method to clear the viewer. | 1119 Public method to clear the viewer. |
1124 </p> | 1120 </p> |
1121 | |
1125 <a NAME="VariablesViewer.handleResetUI" ID="VariablesViewer.handleResetUI"></a> | 1122 <a NAME="VariablesViewer.handleResetUI" ID="VariablesViewer.handleResetUI"></a> |
1126 <h4>VariablesViewer.handleResetUI</h4> | 1123 <h4>VariablesViewer.handleResetUI</h4> |
1127 <b>handleResetUI</b>(<i></i>) | 1124 <b>handleResetUI</b>(<i></i>) |
1128 | |
1129 <p> | 1125 <p> |
1130 Public method to reset the VariablesViewer. | 1126 Public method to reset the VariablesViewer. |
1131 </p> | 1127 </p> |
1128 | |
1132 <a NAME="VariablesViewer.resizeEvent" ID="VariablesViewer.resizeEvent"></a> | 1129 <a NAME="VariablesViewer.resizeEvent" ID="VariablesViewer.resizeEvent"></a> |
1133 <h4>VariablesViewer.resizeEvent</h4> | 1130 <h4>VariablesViewer.resizeEvent</h4> |
1134 <b>resizeEvent</b>(<i>event</i>) | 1131 <b>resizeEvent</b>(<i>event</i>) |
1135 | |
1136 <p> | 1132 <p> |
1137 Protected slot informing about the widget size change. | 1133 Protected slot informing about the widget size change. |
1138 </p> | 1134 </p> |
1135 | |
1139 <dl> | 1136 <dl> |
1140 | 1137 |
1141 <dt><i>event</i> (QResizeEvent)</dt> | 1138 <dt><i>event</i> (QResizeEvent)</dt> |
1142 <dd> | 1139 <dd> |
1143 information | 1140 information |
1144 </dd> | 1141 </dd> |
1145 </dl> | 1142 </dl> |
1146 <a NAME="VariablesViewer.showVariable" ID="VariablesViewer.showVariable"></a> | 1143 <a NAME="VariablesViewer.showVariable" ID="VariablesViewer.showVariable"></a> |
1147 <h4>VariablesViewer.showVariable</h4> | 1144 <h4>VariablesViewer.showVariable</h4> |
1148 <b>showVariable</b>(<i>vlist</i>) | 1145 <b>showVariable</b>(<i>vlist</i>) |
1149 | |
1150 <p> | 1146 <p> |
1151 Public method to show variables in a list. | 1147 Public method to show variables in a list. |
1152 </p> | 1148 </p> |
1149 | |
1153 <dl> | 1150 <dl> |
1154 | 1151 |
1155 <dt><i>vlist</i> (list)</dt> | 1152 <dt><i>vlist</i> (list)</dt> |
1156 <dd> | 1153 <dd> |
1157 the list of subitems to be displayed. | 1154 the list of subitems to be displayed. |
1169 </dd> | 1166 </dd> |
1170 </dl> | 1167 </dl> |
1171 <a NAME="VariablesViewer.showVariables" ID="VariablesViewer.showVariables"></a> | 1168 <a NAME="VariablesViewer.showVariables" ID="VariablesViewer.showVariables"></a> |
1172 <h4>VariablesViewer.showVariables</h4> | 1169 <h4>VariablesViewer.showVariables</h4> |
1173 <b>showVariables</b>(<i>vlist, frmnr</i>) | 1170 <b>showVariables</b>(<i>vlist, frmnr</i>) |
1174 | |
1175 <p> | 1171 <p> |
1176 Public method to show variables in a list. | 1172 Public method to show variables in a list. |
1177 </p> | 1173 </p> |
1174 | |
1178 <dl> | 1175 <dl> |
1179 | 1176 |
1180 <dt><i>vlist</i> (list)</dt> | 1177 <dt><i>vlist</i> (list)</dt> |
1181 <dd> | 1178 <dd> |
1182 the list of variables to be displayed. Each | 1179 the list of variables to be displayed. Each |
1196 </dd> | 1193 </dd> |
1197 </dl> | 1194 </dl> |
1198 <a NAME="VariablesViewer.verticalScrollbarValueChanged" ID="VariablesViewer.verticalScrollbarValueChanged"></a> | 1195 <a NAME="VariablesViewer.verticalScrollbarValueChanged" ID="VariablesViewer.verticalScrollbarValueChanged"></a> |
1199 <h4>VariablesViewer.verticalScrollbarValueChanged</h4> | 1196 <h4>VariablesViewer.verticalScrollbarValueChanged</h4> |
1200 <b>verticalScrollbarValueChanged</b>(<i>value</i>) | 1197 <b>verticalScrollbarValueChanged</b>(<i>value</i>) |
1201 | |
1202 <p> | 1198 <p> |
1203 Public slot informing about the scrollbar change. | 1199 Public slot informing about the scrollbar change. |
1204 </p> | 1200 </p> |
1201 | |
1205 <dl> | 1202 <dl> |
1206 | 1203 |
1207 <dt><i>value</i> (int)</dt> | 1204 <dt><i>value</i> (int)</dt> |
1208 <dd> | 1205 <dd> |
1209 current value of the vertical scrollbar | 1206 current value of the vertical scrollbar |