
Public Member Functions | |
| def | __init__ |
| def | get_index_from_grn |
| def | set_item_from_index |
Private Attributes | |
| _indexes | |
| _parent | |
This class is made only for this purpose; to hold QStandardItem instances associated with QModelIndex. QStandardItemModel has methods to return it by index called itemFromIndex, but in some cases the method doesn't work for unknown reasons. Ref. question asked: http://stackoverflow.com/questions/14646979/strange-index-values-from-qstandarditemmodel :author: Isaac Saito
Definition at line 42 of file treenode_item_model.py.
| def rqt_reconfigure.treenode_item_model.TreenodeItemModel.__init__ | ( | self, | |
parent = None |
|||
| ) |
Definition at line 53 of file treenode_item_model.py.
| def rqt_reconfigure.treenode_item_model.TreenodeItemModel.get_index_from_grn | ( | self, | |
| grn | |||
| ) |
:type grn: str :rtype: QPersistentModelIndex. None if the corresponding item isn't found.
Definition at line 59 of file treenode_item_model.py.
| def rqt_reconfigure.treenode_item_model.TreenodeItemModel.set_item_from_index | ( | self, | |
| grn, | |||
| qpindex | |||
| ) |
:type grn: str :type qpindex: QPersistentModelIndex
Definition at line 70 of file treenode_item_model.py.
Definition at line 53 of file treenode_item_model.py.
Definition at line 53 of file treenode_item_model.py.