tik_manager4.ui.widgets.switch_tree =================================== .. py:module:: tik_manager4.ui.widgets.switch_tree .. autoapi-nested-parse:: Switch Tree Widget and Item for managing visibilities of widgets. Attributes ---------- .. autoapisummary:: tik_manager4.ui.widgets.switch_tree.LOG Classes ------- .. autoapisummary:: tik_manager4.ui.widgets.switch_tree.SwitchTreeItem tik_manager4.ui.widgets.switch_tree.SwitchTreeWidget Module Contents --------------- .. py:class:: SwitchTreeItem(*args, content=None, permission_level=0, **kwargs) Bases: :py:obj:`tik_manager4.ui.Qt.QtWidgets.QTreeWidgetItem` Custom QTreeWidgetItem which holds and switch visibility of the content widgets. .. py:method:: delete_content() Delete the content widget .. py:property:: content Return the content widget .. py:class:: SwitchTreeWidget(*args, user=None, **kwargs) Bases: :py:obj:`tik_manager4.ui.Qt.QtWidgets.QTreeWidget` Custom QtreeWidget which holds and switch visibility of the content widgets. .. py:method:: clear() Reset the tree widget. .. py:method:: switch_content(item) Switch the content widget. .. py:data:: LOG