editor.widgets.complex.tree_view

Module Contents

class editor.widgets.complex.tree_view.TreeItemDelegate(view)[source]

Bases: PySide6.QtWidgets.QItemDelegate

sizeHint(option, index)[source]
updateEditorGeometry(editor, option, index)[source]
paint(painter, option, index)[source]
drawBackground(painter, rect, state, index)[source]
drawContent(painter, rect, index)[source]
drawBranchLines(painter, rect, index)[source]
drawBranchArrow(painter, rect, index)[source]
class editor.widgets.complex.tree_view.PingAnimPhase[source]

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

ZoomIn = 0[source]
ZoomOut = 2[source]
Idle = 3[source]
Fade = 4[source]
class editor.widgets.complex.tree_view.TreeItemPingOverlay(treeview)[source]

Bases: PySide6.QtWidgets.QWidget

InstanceList = [][source]
pingZoomDuration()[source]
pingIdleDuration()[source]
pingFadeDuration()[source]
pingZoomScale()[source]
pingAnimTickInterval()[source]
pingOutlineColor()[source]
pingOutlineWidth()[source]
pingOutlineRound()[source]
syncTreeViewRect()[source]
eventFilter(obj, evt)[source]
startPing(index)[source]
stopPing()[source]
static stopAll()[source]
tickPingAnim()[source]
paintEvent(event)[source]
class editor.widgets.complex.tree_view.TreeView(parent=None)[source]

Bases: PySide6.QtWidgets.QTreeView

treePaddingLeft()[source]
itemPaddingLeft()[source]
itemIconSize()[source]
itemHeight()[source]
branchPixmapSize()[source]
branchOpened()[source]
branchClosed()[source]
branchArrowOffset()[source]
customAnimated()[source]
customAnimDuration()[source]
customAnimTickInterval()[source]
dropIndicatorMargin()[source]
dropIndicatorColor()[source]
dropIndicatorWidth()[source]
drawBranchLine()[source]
branchLineFilterDepth()[source]
background()[source]
backgroundAlternate()[source]
backgroundSelected()[source]
backgroundSelectedUnfocused()[source]
backgroundHovered()[source]
useAlternatingBackground()[source]
updateViewFocused(focused)[source]
focusInEvent(evt)[source]
focusOutEvent(evt)[source]
testClickBranchArrow(evt, doubleClick)[source]
mousePressEvent(evt)[source]
mouseReleaseEvent(evt)[source]
mouseDoubleClickEvent(evt)[source]
mouseMoveEvent(evt)[source]
leaveEvent(evt)[source]
onScrollerValueChange(value)[source]
keyPressEvent(evt)[source]
copySelection()[source]
pasteSelection()[source]
duplicateSelection()[source]
event(evt)[source]
paintEvent(event)[source]
drawBranches(painter, rect, index)[source]
drawDropIndicator(painter)[source]
updateHoveredIndex(new)[source]
updateDropIndicatorRect(new)[source]
startDrag(supportedActions)[source]
dragEnterEvent(evt)[source]
dragLeaveEvent(evt)[source]
checkDropable(hovered, source)[source]
dragMoveEvent(evt)[source]
dropEvent(evt)[source]
toggleExpand(index, recursive)[source]
expandInstant(index, recursive)[source]
expandHovered()[source]
pingItem(index)[source]
editor.widgets.complex.tree_view.runTreeDemo()[source]