mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
16 lines
358 B
Python
16 lines
358 B
Python
from . import QtCore
|
|
from . import DeselectableTreeView
|
|
|
|
|
|
class AssetView(DeselectableTreeView):
|
|
"""Item view.
|
|
|
|
This implements a context menu.
|
|
|
|
"""
|
|
|
|
def __init__(self):
|
|
super(AssetView, self).__init__()
|
|
self.setIndentation(15)
|
|
self.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
|
|
self.setHeaderHidden(True)
|