TreeModel#
- class hdf5view.models.TreeModel(hdf)#
Bases:
QStandardItemModel
Tree model showing the structure of the HDF5 file.
Attributes
Methods
TreeModel.add_node
(parent_item, name, node)Return a tree item describing a node.
TreeModel.handle_collapsed
(index)Update the icon when collapsing a group.
TreeModel.handle_expanded
(index)Dynamically populate the treeview.