redvypr.widgets.gui_config_widgets.configQTreeWidget

class redvypr.widgets.gui_config_widgets.configQTreeWidget(*args: Any, **kwargs: Any)

Qtreewidget that display a configDict data structure

__init__(data={}, dataname='data')

Methods

__init__([data, dataname])

create_item(index, data, parent)

Creates recursively qtreewidgetitems.

create_qtree([editable])

Creates a new qtree from the configuration and replaces the data in the dictionary with a configdata obejct, that save the data but also the qtreeitem, making it possible to have a synced config dictionary from/with a qtreewidgetitem.

item_is_child(parent, child)

Checks if the item is a child already

reload_data(data)

resize_view()

seq_iter(obj)