~mcfletch/eric/update-to-4.5.13

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric4.Debugger.VariablesViewer</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric4.Debugger.VariablesViewer</h1>
<p>
Module implementing the variables viewer widget.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#ArrayElementVarItem">ArrayElementVarItem</a></td>
<td>Class implementing a VariableItem that represents an array element.</td>
</tr><tr>
<td><a href="#SpecialArrayElementVarItem">SpecialArrayElementVarItem</a></td>
<td>Class implementing a QTreeWidgetItem that represents a special array variable node.</td>
</tr><tr>
<td><a href="#SpecialVarItem">SpecialVarItem</a></td>
<td>Class implementing a VariableItem that represents a special variable node.</td>
</tr><tr>
<td><a href="#VariableItem">VariableItem</a></td>
<td>Class implementing the data structure for variable items.</td>
</tr><tr>
<td><a href="#VariablesViewer">VariablesViewer</a></td>
<td>Class implementing the variables viewer widget.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="ArrayElementVarItem" ID="ArrayElementVarItem"></a>
<h2>ArrayElementVarItem</h2>
<p>
    Class implementing a VariableItem that represents an array element.
</p>
<h3>Derived from</h3>
VariableItem
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#ArrayElementVarItem.__init__">ArrayElementVarItem</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#ArrayElementVarItem.key">key</a></td>
<td>Public method generating the key for this item.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="ArrayElementVarItem.__init__" ID="ArrayElementVarItem.__init__"></a>
<h4>ArrayElementVarItem (Constructor)</h4>
<b>ArrayElementVarItem</b>(<i>parent, dvar, dvalue, dtype</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
parent of this item
</dd><dt><i>dvar</i></dt>
<dd>
variable name (string or QString)
</dd><dt><i>dvalue</i></dt>
<dd>
value string (string or QString)
</dd><dt><i>dtype</i></dt>
<dd>
type string (string or QString)
</dd>
</dl><a NAME="ArrayElementVarItem.key" ID="ArrayElementVarItem.key"></a>
<h4>ArrayElementVarItem.key</h4>
<b>key</b>(<i>column</i>)
<p>
        Public method generating the key for this item.
</p><dl>
<dt><i>column</i></dt>
<dd>
the column to sort on (integer)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="SpecialArrayElementVarItem" ID="SpecialArrayElementVarItem"></a>
<h2>SpecialArrayElementVarItem</h2>
<p>
    Class implementing a QTreeWidgetItem that represents a special array variable node.
</p>
<h3>Derived from</h3>
SpecialVarItem
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#SpecialArrayElementVarItem.__init__">SpecialArrayElementVarItem</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SpecialArrayElementVarItem.key">key</a></td>
<td>Public method generating the key for this item.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="SpecialArrayElementVarItem.__init__" ID="SpecialArrayElementVarItem.__init__"></a>
<h4>SpecialArrayElementVarItem (Constructor)</h4>
<b>SpecialArrayElementVarItem</b>(<i>parent, dvar, dvalue, dtype, frmnr, scope</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
parent of this item
</dd><dt><i>dvar</i></dt>
<dd>
variable name (string or QString)
</dd><dt><i>dvalue</i></dt>
<dd>
value string (string or QString)
</dd><dt><i>dtype</i></dt>
<dd>
type string (string or QString)
</dd><dt><i>frmnr</i></dt>
<dd>
frame number (0 is the current frame) (int)
</dd><dt><i>scope</i></dt>
<dd>
flag indicating global (1) or local (0) variables
</dd>
</dl><a NAME="SpecialArrayElementVarItem.key" ID="SpecialArrayElementVarItem.key"></a>
<h4>SpecialArrayElementVarItem.key</h4>
<b>key</b>(<i>column</i>)
<p>
        Public method generating the key for this item.
</p><dl>
<dt><i>column</i></dt>
<dd>
the column to sort on (integer)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="SpecialVarItem" ID="SpecialVarItem"></a>
<h2>SpecialVarItem</h2>
<p>
    Class implementing a VariableItem that represents a special variable node.
</p><p>
    These special variable nodes are generated for classes, lists, 
    tuples and dictionaries.
</p>
<h3>Derived from</h3>
VariableItem
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#SpecialVarItem.__init__">SpecialVarItem</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SpecialVarItem.expand">expand</a></td>
<td>Public method to expand the item.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="SpecialVarItem.__init__" ID="SpecialVarItem.__init__"></a>
<h4>SpecialVarItem (Constructor)</h4>
<b>SpecialVarItem</b>(<i>parent, dvar, dvalue, dtype, frmnr, scope</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
parent of this item
</dd><dt><i>dvar</i></dt>
<dd>
variable name (string or QString)
</dd><dt><i>dvalue</i></dt>
<dd>
value string (string or QString)
</dd><dt><i>dtype</i></dt>
<dd>
type string (string or QString)
</dd><dt><i>frmnr</i></dt>
<dd>
frame number (0 is the current frame) (int)
</dd><dt><i>scope</i></dt>
<dd>
flag indicating global (1) or local (0) variables
</dd>
</dl><a NAME="SpecialVarItem.expand" ID="SpecialVarItem.expand"></a>
<h4>SpecialVarItem.expand</h4>
<b>expand</b>(<i></i>)
<p>
        Public method to expand the item.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="VariableItem" ID="VariableItem"></a>
<h2>VariableItem</h2>
<p>
    Class implementing the data structure for variable items.
</p>
<h3>Derived from</h3>
QTreeWidgetItem
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#VariableItem.__init__">VariableItem</a></td>
<td>Constructor.</td>
</tr><tr>
<td><a href="#VariableItem.__lt__">__lt__</a></td>
<td>Public method to check, if the item is less than the other one.</td>
</tr><tr>
<td><a href="#VariableItem.attachDummy">attachDummy</a></td>
<td>Public method to attach a dummy sub item to allow for lazy population.</td>
</tr><tr>
<td><a href="#VariableItem.collapse">collapse</a></td>
<td>Public method to collapse the item.</td>
</tr><tr>
<td><a href="#VariableItem.data">data</a></td>
<td>Public method to return the data for the requested role.</td>
</tr><tr>
<td><a href="#VariableItem.deleteChildren">deleteChildren</a></td>
<td>Public method to delete all children (cleaning the subtree).</td>
</tr><tr>
<td><a href="#VariableItem.expand">expand</a></td>
<td>Public method to expand the item.</td>
</tr><tr>
<td><a href="#VariableItem.getValue">getValue</a></td>
<td>Public method to return the value of the item.</td>
</tr><tr>
<td><a href="#VariableItem.key">key</a></td>
<td>Public method generating the key for this item.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="VariableItem.__init__" ID="VariableItem.__init__"></a>
<h4>VariableItem (Constructor)</h4>
<b>VariableItem</b>(<i>parent, dvar, dvalue, dtype</i>)
<p>
        Constructor.
</p><dl>
<dt><i>parent</i></dt>
<dd>
reference to the parent item
</dd><dt><i>dvar</i></dt>
<dd>
variable name (string or QString)
</dd><dt><i>dvalue</i></dt>
<dd>
value string (string or QString)
</dd><dt><i>dtype</i></dt>
<dd>
type string (string or QString)
</dd>
</dl><a NAME="VariableItem.__lt__" ID="VariableItem.__lt__"></a>
<h4>VariableItem.__lt__</h4>
<b>__lt__</b>(<i>other</i>)
<p>
        Public method to check, if the item is less than the other one.
</p><dl>
<dt><i>other</i></dt>
<dd>
reference to item to compare against (QTreeWidgetItem)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
true, if this item is less than other (boolean)
</dd>
</dl><a NAME="VariableItem.attachDummy" ID="VariableItem.attachDummy"></a>
<h4>VariableItem.attachDummy</h4>
<b>attachDummy</b>(<i></i>)
<p>
        Public method to attach a dummy sub item to allow for lazy population.
</p><a NAME="VariableItem.collapse" ID="VariableItem.collapse"></a>
<h4>VariableItem.collapse</h4>
<b>collapse</b>(<i></i>)
<p>
        Public method to collapse the item.
</p><p>
        Note: This is just a do nothing and should be overwritten.
</p><a NAME="VariableItem.data" ID="VariableItem.data"></a>
<h4>VariableItem.data</h4>
<b>data</b>(<i>column, role</i>)
<p>
        Public method to return the data for the requested role.
</p><p>
        This implementation changes the original behavior in a way, that the display
        data is returned as the tooltip for column 1.
</p><dl>
<dt><i>column</i></dt>
<dd>
column number (integer)
</dd><dt><i>role</i></dt>
<dd>
data role (Qt.ItemDataRole)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
requested data (QVariant)
</dd>
</dl><a NAME="VariableItem.deleteChildren" ID="VariableItem.deleteChildren"></a>
<h4>VariableItem.deleteChildren</h4>
<b>deleteChildren</b>(<i></i>)
<p>
        Public method to delete all children (cleaning the subtree).
</p><a NAME="VariableItem.expand" ID="VariableItem.expand"></a>
<h4>VariableItem.expand</h4>
<b>expand</b>(<i></i>)
<p>
        Public method to expand the item.
</p><p>
        Note: This is just a do nothing and should be overwritten.
</p><a NAME="VariableItem.getValue" ID="VariableItem.getValue"></a>
<h4>VariableItem.getValue</h4>
<b>getValue</b>(<i></i>)
<p>
        Public method to return the value of the item.
</p><dl>
<dt>Returns:</dt>
<dd>
value of the item (QString)
</dd>
</dl><a NAME="VariableItem.key" ID="VariableItem.key"></a>
<h4>VariableItem.key</h4>
<b>key</b>(<i>column</i>)
<p>
        Public method generating the key for this item.
</p><dl>
<dt><i>column</i></dt>
<dd>
the column to sort on (integer)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="VariablesViewer" ID="VariablesViewer"></a>
<h2>VariablesViewer</h2>
<p>
    Class implementing the variables viewer widget.
</p><p>
    This widget is used to display the variables of the program being
    debugged in a tree. Compound types will be shown with
    their main entry first. Once the subtree has been expanded, the 
    individual entries will be shown. Double clicking an entry will
    popup a dialog showing the variables parameters in a more readable
    form. This is especially useful for lengthy strings.
</p><p>
    This widget has two modes for displaying the global and the local
    variables.
</p>
<h3>Derived from</h3>
QTreeWidget
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#VariablesViewer.__init__">VariablesViewer</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#VariablesViewer.__addItem">__addItem</a></td>
<td>Private method used to add an item to the list.</td>
</tr><tr>
<td><a href="#VariablesViewer.__buildTreePath">__buildTreePath</a></td>
<td>Private method to build up a path from the top to an item.</td>
</tr><tr>
<td><a href="#VariablesViewer.__configure">__configure</a></td>
<td>Private method to open the configuration dialog.</td>
</tr><tr>
<td><a href="#VariablesViewer.__createPopupMenus">__createPopupMenus</a></td>
<td>Private method to generate the popup menus.</td>
</tr><tr>
<td><a href="#VariablesViewer.__expandItemSignal">__expandItemSignal</a></td>
<td>Private slot to handle the expanded signal.</td>
</tr><tr>
<td><a href="#VariablesViewer.__findItem">__findItem</a></td>
<td>Private method to search for an item.</td>
</tr><tr>
<td><a href="#VariablesViewer.__generateItem">__generateItem</a></td>
<td>Private method used to generate a VariableItem.</td>
</tr><tr>
<td><a href="#VariablesViewer.__getDispType">__getDispType</a></td>
<td>Private method used to get the display string for type vtype.</td>
</tr><tr>
<td><a href="#VariablesViewer.__resort">__resort</a></td>
<td>Private method to resort the tree.</td>
</tr><tr>
<td><a href="#VariablesViewer.__showContextMenu">__showContextMenu</a></td>
<td>Private slot to show the context menu.</td>
</tr><tr>
<td><a href="#VariablesViewer.__showDetails">__showDetails</a></td>
<td>Private slot to show details about the selected variable.</td>
</tr><tr>
<td><a href="#VariablesViewer.__showVariableDetails">__showVariableDetails</a></td>
<td>Private method to show details about a variable.</td>
</tr><tr>
<td><a href="#VariablesViewer.__unicode">__unicode</a></td>
<td>Private method to convert a string to unicode.</td>
</tr><tr>
<td><a href="#VariablesViewer.collapseItem">collapseItem</a></td>
<td>Public slot to handle the collapsed signal.</td>
</tr><tr>
<td><a href="#VariablesViewer.expandItem">expandItem</a></td>
<td>Public slot to handle the expanded signal.</td>
</tr><tr>
<td><a href="#VariablesViewer.handleResetUI">handleResetUI</a></td>
<td>Public method to reset the VariablesViewer.</td>
</tr><tr>
<td><a href="#VariablesViewer.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td>
<td>Protected method of QAbstractItemView.</td>
</tr><tr>
<td><a href="#VariablesViewer.showVariable">showVariable</a></td>
<td>Public method to show variables in a list.</td>
</tr><tr>
<td><a href="#VariablesViewer.showVariables">showVariables</a></td>
<td>Public method to show variables in a list.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="VariablesViewer.__init__" ID="VariablesViewer.__init__"></a>
<h4>VariablesViewer (Constructor)</h4>
<b>VariablesViewer</b>(<i>parent=None, scope=1</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
the parent (QWidget)
</dd><dt><i>scope</i></dt>
<dd>
flag indicating global (1) or local (0) variables
</dd>
</dl><a NAME="VariablesViewer.__addItem" ID="VariablesViewer.__addItem"></a>
<h4>VariablesViewer.__addItem</h4>
<b>__addItem</b>(<i>parent, vtype, var, value</i>)
<p>
        Private method used to add an item to the list.
</p><p>
        If the item is of a type with subelements (i.e. list, dictionary, 
        tuple), these subelements are added by calling this method recursively.
</p><dl>
<dt><i>parent</i></dt>
<dd>
the parent of the item to be added
            (QTreeWidgetItem or None)
</dd><dt><i>vtype</i></dt>
<dd>
the type of the item to be added
            (string)
</dd><dt><i>var</i></dt>
<dd>
the variable name (string)
</dd><dt><i>value</i></dt>
<dd>
the value string (string)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
The item that was added to the listview (QTreeWidgetItem).
</dd>
</dl><a NAME="VariablesViewer.__buildTreePath" ID="VariablesViewer.__buildTreePath"></a>
<h4>VariablesViewer.__buildTreePath</h4>
<b>__buildTreePath</b>(<i>itm</i>)
<p>
        Private method to build up a path from the top to an item.
</p><dl>
<dt><i>itm</i></dt>
<dd>
item to build the path for (QTreeWidgetItem)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
list of names denoting the path from the top (list of strings)
</dd>
</dl><a NAME="VariablesViewer.__configure" ID="VariablesViewer.__configure"></a>
<h4>VariablesViewer.__configure</h4>
<b>__configure</b>(<i></i>)
<p>
        Private method to open the configuration dialog.
</p><a NAME="VariablesViewer.__createPopupMenus" ID="VariablesViewer.__createPopupMenus"></a>
<h4>VariablesViewer.__createPopupMenus</h4>
<b>__createPopupMenus</b>(<i></i>)
<p>
        Private method to generate the popup menus.
</p><a NAME="VariablesViewer.__expandItemSignal" ID="VariablesViewer.__expandItemSignal"></a>
<h4>VariablesViewer.__expandItemSignal</h4>
<b>__expandItemSignal</b>(<i>parentItem</i>)
<p>
        Private slot to handle the expanded signal.
</p><dl>
<dt><i>parentItem</i></dt>
<dd>
reference to the item being expanded (QTreeWidgetItem)
</dd>
</dl><a NAME="VariablesViewer.__findItem" ID="VariablesViewer.__findItem"></a>
<h4>VariablesViewer.__findItem</h4>
<b>__findItem</b>(<i>slist, column, node=None</i>)
<p>
        Private method to search for an item.
</p><p>
        It is used to find a specific item in column,
        that is a child of node. If node is None, a child of the
        QTreeWidget is searched.
</p><dl>
<dt><i>slist</i></dt>
<dd>
searchlist (list of strings or QStrings)
</dd><dt><i>column</i></dt>
<dd>
index of column to search in (int)
</dd><dt><i>node</i></dt>
<dd>
start point of the search
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
the found item or None
</dd>
</dl><a NAME="VariablesViewer.__generateItem" ID="VariablesViewer.__generateItem"></a>
<h4>VariablesViewer.__generateItem</h4>
<b>__generateItem</b>(<i>parent, dvar, dvalue, dtype, isSpecial = False</i>)
<p>
        Private method used to generate a VariableItem.
</p><dl>
<dt><i>parent</i></dt>
<dd>
parent of the item to be generated
</dd><dt><i>dvar</i></dt>
<dd>
variable name (string or QString)
</dd><dt><i>dvalue</i></dt>
<dd>
value string (string or QString)
</dd><dt><i>dtype</i></dt>
<dd>
type string (string or QString)
</dd><dt><i>isSpecial</i></dt>
<dd>
flag indicating that a special node should be generated (boolean)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
The item that was generated (VariableItem).
</dd>
</dl><a NAME="VariablesViewer.__getDispType" ID="VariablesViewer.__getDispType"></a>
<h4>VariablesViewer.__getDispType</h4>
<b>__getDispType</b>(<i>vtype</i>)
<p>
        Private method used to get the display string for type vtype.
</p><dl>
<dt><i>vtype</i></dt>
<dd>
the type, the display string should be looked up for
              (string)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
displaystring (string or QString)
</dd>
</dl><a NAME="VariablesViewer.__resort" ID="VariablesViewer.__resort"></a>
<h4>VariablesViewer.__resort</h4>
<b>__resort</b>(<i></i>)
<p>
        Private method to resort the tree.
</p><a NAME="VariablesViewer.__showContextMenu" ID="VariablesViewer.__showContextMenu"></a>
<h4>VariablesViewer.__showContextMenu</h4>
<b>__showContextMenu</b>(<i>coord</i>)
<p>
        Private slot to show the context menu.
</p><dl>
<dt><i>coord</i></dt>
<dd>
the position of the mouse pointer (QPoint)
</dd>
</dl><a NAME="VariablesViewer.__showDetails" ID="VariablesViewer.__showDetails"></a>
<h4>VariablesViewer.__showDetails</h4>
<b>__showDetails</b>(<i></i>)
<p>
        Private slot to show details about the selected variable.
</p><a NAME="VariablesViewer.__showVariableDetails" ID="VariablesViewer.__showVariableDetails"></a>
<h4>VariablesViewer.__showVariableDetails</h4>
<b>__showVariableDetails</b>(<i>itm</i>)
<p>
        Private method to show details about a variable.
</p><dl>
<dt><i>itm</i></dt>
<dd>
reference to the variable item
</dd>
</dl><a NAME="VariablesViewer.__unicode" ID="VariablesViewer.__unicode"></a>
<h4>VariablesViewer.__unicode</h4>
<b>__unicode</b>(<i>s</i>)
<p>
        Private method to convert a string to unicode.
</p><dl>
<dt><i>s</i></dt>
<dd>
the string to be converted (string)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
unicode representation of s (unicode object)
</dd>
</dl><a NAME="VariablesViewer.collapseItem" ID="VariablesViewer.collapseItem"></a>
<h4>VariablesViewer.collapseItem</h4>
<b>collapseItem</b>(<i>parentItem</i>)
<p>
        Public slot to handle the collapsed signal.
</p><dl>
<dt><i>parentItem</i></dt>
<dd>
reference to the item being collapsed (QTreeWidgetItem)
</dd>
</dl><a NAME="VariablesViewer.expandItem" ID="VariablesViewer.expandItem"></a>
<h4>VariablesViewer.expandItem</h4>
<b>expandItem</b>(<i>parentItem</i>)
<p>
        Public slot to handle the expanded signal.
</p><dl>
<dt><i>parentItem</i></dt>
<dd>
reference to the item being expanded (QTreeWidgetItem)
</dd>
</dl><a NAME="VariablesViewer.handleResetUI" ID="VariablesViewer.handleResetUI"></a>
<h4>VariablesViewer.handleResetUI</h4>
<b>handleResetUI</b>(<i></i>)
<p>
        Public method to reset the VariablesViewer.
</p><a NAME="VariablesViewer.mouseDoubleClickEvent" ID="VariablesViewer.mouseDoubleClickEvent"></a>
<h4>VariablesViewer.mouseDoubleClickEvent</h4>
<b>mouseDoubleClickEvent</b>(<i>mouseEvent</i>)
<p>
        Protected method of QAbstractItemView. 
</p><p>
        Reimplemented to disable expanding/collapsing
        of items when double-clicking. Instead the double-clicked entry is opened.
</p><dl>
<dt><i>mouseEvent</i></dt>
<dd>
the mouse event object (QMouseEvent)
</dd>
</dl><a NAME="VariablesViewer.showVariable" ID="VariablesViewer.showVariable"></a>
<h4>VariablesViewer.showVariable</h4>
<b>showVariable</b>(<i>vlist</i>)
<p>
        Public method to show variables in a list.
</p><dl>
<dt><i>vlist</i></dt>
<dd>
the list of subitems to be displayed.
                The first element gives the path of the
                parent variable. Each other listentry is 
                a tuple of three values.
                <ul>
                <li>the variable name (string)</li>
                <li>the variables type (string)</li>
                <li>the variables value (string)</li>
                </ul>
</dd>
</dl><a NAME="VariablesViewer.showVariables" ID="VariablesViewer.showVariables"></a>
<h4>VariablesViewer.showVariables</h4>
<b>showVariables</b>(<i>vlist, frmnr</i>)
<p>
        Public method to show variables in a list.
</p><dl>
<dt><i>vlist</i></dt>
<dd>
the list of variables to be displayed. Each
                listentry is a tuple of three values.
                <ul>
                <li>the variable name (string)</li>
                <li>the variables type (string)</li>
                <li>the variables value (string)</li>
                </ul>
</dd><dt><i>frmnr</i></dt>
<dd>
frame number (0 is the current frame) (int)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>