tik_manager4.ui.widgets.switch_tree

Switch Tree Widget and Item for managing visibilities of widgets.

Attributes

LOG

Classes

SwitchTreeItem

Custom QTreeWidgetItem which holds and switch visibility of the content widgets.

SwitchTreeWidget

Custom QtreeWidget which holds and switch visibility of the content widgets.

Module Contents

class SwitchTreeItem(*args, content=None, permission_level=0, **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QTreeWidgetItem

Custom QTreeWidgetItem which holds and switch visibility of the content widgets.

delete_content()

Delete the content widget

property content
Return the content widget
class SwitchTreeWidget(*args, user=None, **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QTreeWidget

Custom QtreeWidget which holds and switch visibility of the content widgets.

clear()

Reset the tree widget.

switch_content(item)

Switch the content widget.

LOG