Bases: PyQt4.QtGui.QSortFilterProxyModel
Try to sort items according to Nexus structure. Else sort by name.
Returns True if the value of the item referred to by the given index sourceLeft is less than the value of the item referred to by the given index sourceRight, otherwise returns false.
Parameters: |
|
---|---|
Return type: | bool |
Returns a list of words and integers composing the name.
An input “aaa10bbb50.30” will return [“aaa”, 10, “bbb”, 50, ”.”, 30].
Parameters: | name (str) – A name |
---|---|
Return type: | list |
Returns True if the left string is less than the right string.
Number composing the names are compared as integers, as result “name2” is smaller than “name10”.
Parameters: |
|
---|---|
Return type: | bool |
Reach the same children name of two items and compare their values.
Returns True if the left one is smaller than the right one.
Parameters: |
|
---|---|
Return type: | bool |