Public Member Functions | Private Attributes
rqt_reconfigure.treenode_item_model.TreenodeItemModel Class Reference
Inheritance diagram for rqt_reconfigure.treenode_item_model.TreenodeItemModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def get_index_from_grn
def set_item_from_index

Private Attributes

 _indexes
 _parent

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 53 of file treenode_item_model.py.


Member Function Documentation


:type grn: str
:rtype: QPersistentModelIndex. None if the corresponding item isn't
found.

Definition at line 59 of file treenode_item_model.py.

:type grn: str
:type qpindex: QPersistentModelIndex

Definition at line 70 of file treenode_item_model.py.


Member Data Documentation

Definition at line 53 of file treenode_item_model.py.

Definition at line 53 of file treenode_item_model.py.


The documentation for this class was generated from the following file:


rqt_reconfigure
Author(s): Isaac Saito, Ze'ev Klapow
autogenerated on Mon Oct 6 2014 07:15:23