Package IDAscope :: Package idascope :: Package widgets :: Module NumberQTableWidgetItem :: Class NumberQTableWidgetItem
[hide private]
[frames] | no frames]

Class NumberQTableWidgetItem

source code

PySide.QtGui.QTableWidgetItem --+
                                |
                               NumberQTableWidgetItem

A simple helper class that allows sorting by numeric values.

Instance Methods [hide private]
 
__lt__(self, other)
Redefine function from QTableWidgetItem to allow sorting by numeric value instead of string value.
source code
Method Details [hide private]

__lt__(self, other)
(Less-than operator)

source code 

Redefine function from QTableWidgetItem to allow sorting by numeric value instead of string value.

Parameters:
  • other (NumberQTableWidgetItem) - another item of the same type
Returns:
(boolean) the numeric comparison of the items.