Sortable Tree Widgets
=====================

Sortable tree widgets are tree widgets that provide additional functionality on
top of what the underlying :py:class:`QtWidgets.QTreeWidget` class provides,
notably for dragging, dropping, and sorting of tree widget items.

The classes listed here are all derived from
:py:class:`QT4Widgets.SortableTreeWidget`.

.. contents:: :local:


UI4.Widgets.AttributeHistoryTreeWidget
--------------------------------------

.. autoclass:: UI4.Widgets.AttributeHistoryTreeWidget()

    **Code example**::

        attributeHistoryTreeWidget = UI4.Widgets.AttributeHistoryTreeWidget()
        attributeHistoryTreeWidget.initializeHistory('/root/world/cam/camera', 'geometry.fov',
                                                     NodegraphAPI.GetNode('AttributeSet'))
        attributeHistoryTreeWidget.resize(400, 100)
        attributeHistoryTreeWidget.show()
        attributeHistoryTreeWidget.getNodeHistory()

    :kat:example_screenshot:`AttributeHistoryTreeWidget`