Debugger/VariablesViewer.py

changeset 3591
2f2a4a76dd22
parent 3484
645c12de6b0c
child 3621
15f23ed3f216
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
32 """ 32 """
33 Class implementing the data structure for variable items. 33 Class implementing the data structure for variable items.
34 """ 34 """
35 def __init__(self, parent, dvar, dvalue, dtype): 35 def __init__(self, parent, dvar, dvalue, dtype):
36 """ 36 """
37 Constructor. 37 Constructor
38 38
39 @param parent reference to the parent item 39 @param parent reference to the parent item
40 @param dvar variable name (string) 40 @param dvar variable name (string)
41 @param dvalue value string (string) 41 @param dvalue value string (string)
42 @param dtype type string (string) 42 @param dtype type string (string)
115 """ 115 """
116 return self.text(column) 116 return self.text(column)
117 117
118 def __lt__(self, other): 118 def __lt__(self, other):
119 """ 119 """
120 Public method to check, if the item is less than the other one. 120 Special method to check, if the item is less than the other one.
121 121
122 @param other reference to item to compare against (QTreeWidgetItem) 122 @param other reference to item to compare against (QTreeWidgetItem)
123 @return true, if this item is less than other (boolean) 123 @return true, if this item is less than other (boolean)
124 """ 124 """
125 column = self.treeWidget().sortColumn() 125 column = self.treeWidget().sortColumn()

eric ide

mercurial