TreeViewMixin
Base classes
Name | Children | Inherits |
---|---|---|
AbstractItemViewMixin prettyqt.widgets.abstractitemview |
Subclasses
Class | Module | Description |
---|---|---|
TreeView | prettyqt.widgets.treeview | |
TreeWidgetMixin |
prettyqt.widgets.treewidget | |
HelpContentWidget | prettyqt.qthelp.helpcontentwidget |
⋔ Inheritance diagram
graph TD
1473296343728["widgets.TreeViewMixin"]
1473293692144["widgets.AbstractItemViewMixin"]
1473293679456["widgets.AbstractScrollAreaMixin"]
1473293662864["widgets.FrameMixin"]
1473293688240["widgets.WidgetMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473245548480["gui.PaintDeviceMixin"]
1473293692144 --> 1473296343728
1473293679456 --> 1473293692144
1473293662864 --> 1473293679456
1473293688240 --> 1473293662864
1473299815024 --> 1473293688240
140713234304496 --> 1473299815024
1473245548480 --> 1473293688240
140713234304496 --> 1473245548480
🛈 DocStrings
Bases: AbstractItemViewMixin
Source code in prettyqt\widgets\treeview.py
set_expanded(index: core.ModelIndex | Iterable[core.ModelIndex], expanded: bool = True)
Set expaned state of an index or an Iterable of indexes.
Source code in prettyqt\widgets\treeview.py
set_sorting_enabled(enabled: bool, do_sort: bool = False)
Hack to avoid direct sort when setting sorting enabled.