lyse.__main__.TreeView

class lyse.__main__.TreeView(*args)[source]

Bases: PyQt5.QtWidgets.QTreeView

__init__(*args)[source]

Methods

__init__(*args)

acceptDrops(self)

accessibleDescription(self)

accessibleName(self)

actionEvent(self, a0)

actions(self)

activateWindow(self)

addAction(self, action)

addActions(self, actions)

addScrollBarWidget(self, widget, alignment)

adjustSize(self)

allColumnsShowFocus(self)

alternatingRowColors(self)

autoExpandDelay(self)

autoFillBackground(self)

autoScrollMargin(self)

backgroundRole(self)

baseSize(self)

blockSignals(self, b)

changeEvent(self, a0)

childAt(-> QWidget)

childEvent(self, a0)

children(self)

childrenRect(self)

childrenRegion(self)

clearFocus(self)

clearMask(self)

clearSelection(self)

close(self)

closeEditor(self, editor, hint)

closeEvent(self, a0)

closePersistentEditor(self, index)

collapse(self, index)

collapseAll(self)

colorCount(self)

columnAt(self, x)

columnCountChanged(self, oldCount, newCount)

columnMoved(self)

columnResized(self, column, oldSize, newSize)

columnViewportPosition(self, column)

columnWidth(self, column)

commitData(self, editor)

connectNotify(self, signal)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, a0)

contextMenuPolicy(self)

cornerWidget(self)

create(self[, window, initializeWindow, ...])

createWindowContainer(window[, parent, flags])

currentChanged(self, current, previous)

currentIndex(self)

cursor(self)

customEvent(self, a0)

dataChanged(self, topLeft, bottomRight[, roles])

defaultDropAction(self)

deleteLater(self)

depth(self)

destroy(self[, destroyWindow, destroySubWindows])

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

dirtyRegionOffset(self)

disconnect(-> bool)

disconnectNotify(self, signal)

dragDropMode(self)

dragDropOverwriteMode(self)

dragEnabled(self)

dragEnterEvent(self, e)

dragLeaveEvent(self, e)

dragMoveEvent(self, event)

drawBranches(self, painter, rect, index)

drawFrame(self, a0)

drawRow(self, painter, options, index)

drawTree(self, painter, region)

dropEvent(self, e)

dropIndicatorPosition(self)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

edit()

editTriggers(self)

editorDestroyed(self, editor)

effectiveWinId(self)

ensurePolished(self)

enterEvent(self, a0)

event(self, event)

eventFilter(self, object, event)

executeDelayedItemsLayout(self)

expand(self, index)

expandAll(self)

expandRecursively(self, index[, depth])

expandToDepth(self, depth)

expandsOnDoubleClick(self)

find(a0)

findChild(-> QObject)

findChildren(...)

focusInEvent(self, e)

focusNextChild(self)

focusNextPrevChild(self, next)

focusOutEvent(self, e)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontInfo(self)

fontMetrics(self)

foregroundRole(self)

frameGeometry(self)

frameRect(self)

frameShadow(self)

frameShape(self)

frameSize(self)

frameStyle(self)

frameWidth(self)

geometry(self)

getContentsMargins(self)

grab(self[, rectangle])

grabGesture(self, type[, flags])

grabKeyboard(self)

grabMouse()

grabShortcut(self, key[, context])

graphicsEffect(self)

graphicsProxyWidget(self)

hasAutoScroll(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

header(self)

height(self)

heightForWidth(self, a0)

heightMM(self)

hide(self)

hideColumn(self, column)

hideEvent(self, a0)

horizontalOffset(self)

horizontalScrollBar(self)

horizontalScrollBarPolicy(self)

horizontalScrollMode(self)

horizontalScrollbarAction(self, action)

horizontalScrollbarValueChanged(self, value)

iconSize(self)

indentation(self)

indexAbove(self, index)

indexAt(self, p)

indexBelow(self, index)

indexRowSizeHint(self, index)

indexWidget(self, index)

inherits(self, classname)

initPainter(self, painter)

initStyleOption(self, option)

inputMethodEvent(self, event)

inputMethodHints(self)

inputMethodQuery(self, query)

insertAction(self, before, action)

insertActions(self, before, actions)

installEventFilter(self, a0)

isActiveWindow(self)

isAncestorOf(self, child)

isAnimated(self)

isColumnHidden(self, column)

isEnabled(self)

isEnabledTo(self, a0)

isExpanded(self, index)

isFirstColumnSpanned(self, row, parent)

isFullScreen(self)

isHeaderHidden(self)

isHidden(self)

isIndexHidden(self, index)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isPersistentEditorOpen(self, index)

isRightToLeft(self)

isRowHidden(self, row, parent)

isSignalConnected(self, signal)

isSortingEnabled(self)

isVisible(self)

isVisibleTo(self, a0)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

itemDelegate(-> QAbstractItemDelegate)

itemDelegateForColumn(self, column)

itemDelegateForRow(self, row)

itemsExpandable(self)

keyPressEvent(self, event)

keyReleaseEvent(self, a0)

keyboardGrabber()

keyboardSearch(self, search)

killTimer(self, id)

layout(self)

layoutDirection(self)

leaveEvent(self, a0)

lineWidth(self)

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

mapFrom(self, a0, a1)

mapFromGlobal(self, a0)

mapFromParent(self, a0)

mapTo(self, a0, a1)

mapToGlobal(self, a0)

mapToParent(self, a0)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumViewportSize(self)

maximumWidth(self)

metaObject(self)

metric(self, a0)

midLineWidth(self)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

model(self)

mouseDoubleClickEvent(self, e)

mouseGrabber()

mouseMoveEvent(self, event)

mousePressEvent(self, e)

mouseReleaseEvent(self, event)

move()

moveCursor(self, cursorAction, modifiers)

moveEvent(self, a0)

moveToThread(self, thread)

nativeEvent(self, eventType, message)

nativeParentWidget(self)

nextInFocusChain(self)

normalGeometry(self)

objectName(self)

openPersistentEditor(self, index)

overrideWindowFlags(self, type)

overrideWindowState(self, state)

paintEngine(self)

paintEvent(self, e)

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

physicalDpiX(self)

physicalDpiY(self)

pos(self)

previousInFocusChain(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

raise_(self)

receivers(self, signal)

rect(self)

reexpand(self)

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, id)

removeAction(self, action)

removeEventFilter(self, a0)

render(, sourceRegion, flags, ...)

repaint(-> None  -> None)

reset(self)

resetHorizontalScrollMode(self)

resetIndentation(self)

resetVerticalScrollMode(self)

resize()

resizeColumnToContents(self, column)

resizeEvent(self, e)

restoreGeometry(self, geometry)

rootIndex(self)

rootIsDecorated(self)

rowHeight(self, index)

rowsAboutToBeRemoved(self, parent, start, end)

rowsInserted(self, parent, start, end)

rowsRemoved(self, parent, first, last)

saveGeometry(self)

scheduleDelayedItemsLayout(self)

screen(self)

scroll()

scrollBarWidgets(self, alignment)

scrollContentsBy(self, dx, dy)

scrollDirtyRegion(self, dx, dy)

scrollTo(self, index[, hint])

scrollToBottom(self)

scrollToTop(self)

selectAll(self)

selectedIndexes(self)

selectionBehavior(self)

selectionChanged(self, selected, deselected)

selectionCommand(self, index[, event])

selectionMode(self)

selectionModel(self)

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, on)

setAccessibleDescription(self, description)

setAccessibleName(self, name)

setAllColumnsShowFocus(self, enable)

setAlternatingRowColors(self, enable)

setAnimated(self, enable)

setAttribute(self, attribute[, on])

setAutoExpandDelay(self, delay)

setAutoFillBackground(self, enabled)

setAutoScroll(self, enable)

setAutoScrollMargin(self, margin)

setBackgroundRole(self, a0)

setBaseSize()

setColumnHidden(self, column, hide)

setColumnWidth(self, column, width)

setContentsMargins()

setContextMenuPolicy(self, policy)

setCornerWidget(self, widget)

setCurrentIndex(self, index)

setCursor(self, a0)

setDefaultDropAction(self, dropAction)

setDirtyRegion(self, region)

setDisabled(self, a0)

setDragDropMode(self, behavior)

setDragDropOverwriteMode(self, overwrite)

setDragEnabled(self, enable)

setDropIndicatorShown(self, enable)

setEditTriggers(self, triggers)

setEnabled(self, a0)

setExpanded(self, index, expand)

setExpandsOnDoubleClick(self, enable)

setFirstColumnSpanned(self, row, parent, span)

setFixedHeight(self, h)

setFixedSize()

setFixedWidth(self, w)

setFocus()

setFocusPolicy(self, policy)

setFocusProxy(self, a0)

setFont(self, a0)

setForegroundRole(self, a0)

setFrameRect(self, a0)

setFrameShadow(self, a0)

setFrameShape(self, a0)

setFrameStyle(self, a0)

setGeometry()

setGraphicsEffect(self, effect)

setHeader(self, header)

setHeaderHidden(self, hide)

setHidden(self, hidden)

setHorizontalScrollBar(self, scrollbar)

setHorizontalScrollBarPolicy(self, a0)

setHorizontalScrollMode(self, mode)

setIconSize(self, size)

setIndentation(self, i)

setIndexWidget(self, index, widget)

setInputMethodHints(self, hints)

setItemDelegate(self, delegate)

setItemDelegateForColumn(self, column, delegate)

setItemDelegateForRow(self, row, delegate)

setItemsExpandable(self, enable)

setLayout(self, a0)

setLayoutDirection(self, direction)

setLineWidth(self, a0)

setLocale(self, locale)

setMask()

setMaximumHeight(self, maxh)

setMaximumSize()

setMaximumWidth(self, maxw)

setMidLineWidth(self, a0)

setMinimumHeight(self, minh)

setMinimumSize()

setMinimumWidth(self, minw)

setModel(self, model)

setMouseTracking(self, enable)

setObjectName(self, name)

setPalette(self, a0)

setParent()

setProperty(self, name, value)

setRootIndex(self, index)

setRootIsDecorated(self, show)

setRowHidden(self, row, parent, hide)

setSelection(self, rect, command)

setSelectionBehavior(self, behavior)

setSelectionMode(self, mode)

setSelectionModel(self, selectionModel)

setShortcutAutoRepeat(self, id[, enabled])

setShortcutEnabled(self, id[, enabled])

setSizeAdjustPolicy(self, policy)

setSizeIncrement()

setSizePolicy()

setSortingEnabled(self, enable)

setState(self, state)

setStatusTip(self, a0)

setStyle(self, a0)

setStyleSheet(self, styleSheet)

setTabKeyNavigation(self, enable)

setTabOrder(a0, a1)

setTabletTracking(self, enable)

setTextElideMode(self, mode)

setToolTip(self, a0)

setToolTipDuration(self, msec)

setTreePosition(self, logicalIndex)

setUniformRowHeights(self, uniform)

setUpdatesEnabled(self, enable)

setVerticalScrollBar(self, scrollbar)

setVerticalScrollBarPolicy(self, a0)

setVerticalScrollMode(self, mode)

setViewport(self, widget)

setViewportMargins()

setVisible(self, visible)

setWhatsThis(self, a0)

setWindowFilePath(self, filePath)

setWindowFlag(self, a0[, on])

setWindowFlags(self, type)

setWindowIcon(self, icon)

setWindowIconText(self, a0)

setWindowModality(self, windowModality)

setWindowModified(self, a0)

setWindowOpacity(self, level)

setWindowRole(self, a0)

setWindowState(self, state)

setWindowTitle(self, a0)

setWordWrap(self, on)

setupViewport(self, viewport)

sharedPainter(self)

show(self)

showColumn(self, column)

showDropIndicator(self)

showEvent(self, a0)

showFullScreen(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

signalsBlocked(self)

size(self)

sizeAdjustPolicy(self)

sizeHint(self)

sizeHintForColumn(self, column)

sizeHintForIndex(self, index)

sizeHintForRow(self, row)

sizeIncrement(self)

sizePolicy(self)

sortByColumn(self, column, order)

stackUnder(self, a0)

startDrag(self, supportedActions)

startTimer(self, interval[, timerType])

state(self)

statusTip(self)

style(self)

styleSheet(self)

tabKeyNavigation(self)

tabletEvent(self, a0)

testAttribute(self, attribute)

textElideMode(self)

thread(self)

timerEvent(self, event)

toolTip(self)

toolTipDuration(self)

tr(self, sourceText[, disambiguation, n])

treePosition(self)

underMouse(self)

ungrabGesture(self, type)

uniformRowHeights(self)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update()

updateEditorData(self)

updateEditorGeometries(self)

updateGeometries(self)

updateGeometry(self)

updateMicroFocus(self)

updatesEnabled(self)

verticalOffset(self)

verticalScrollBar(self)

verticalScrollBarPolicy(self)

verticalScrollMode(self)

verticalScrollbarAction(self, action)

verticalScrollbarValueChanged(self, value)

viewOptions(self)

viewport(self)

viewportEvent(self, event)

viewportMargins(self)

viewportSizeHint(self)

visibleRegion(self)

visualRect(self, index)

visualRegionForSelection(self, selection)

whatsThis(self)

wheelEvent(self, a0)

width(self)

widthMM(self)

winId(self)

window(self)

windowFilePath(self)

windowFlags(self)

windowHandle(self)

windowIcon(self)

windowIconText(self)

windowModality(self)

windowOpacity(self)

windowRole(self)

windowState(self)

windowTitle(self)

windowType(self)

wordWrap(self)

x(self)

y(self)

Attributes

AboveItem

AdjustIgnored

AdjustToContents

AdjustToContentsOnFirstShow

AllEditTriggers

AnimatingState

AnyKeyPressed

BelowItem

Box

CollapsingState

ContiguousSelection

CurrentChanged

DoubleClicked

DragDrop

DragOnly

DragSelectingState

DraggingState

DrawChildren

DrawWindowBackground

DropOnly

EditKeyPressed

EditingState

EnsureVisible

ExpandingState

ExtendedSelection

HLine

IgnoreMask

InternalMove

MoveDown

MoveEnd

MoveHome

MoveLeft

MoveNext

MovePageDown

MovePageUp

MovePrevious

MoveRight

MoveUp

MultiSelection

NoDragDrop

NoEditTriggers

NoFrame

NoSelection

NoState

OnItem

OnViewport

Panel

PdmDepth

PdmDevicePixelRatio

PdmDevicePixelRatioScaled

PdmDpiX

PdmDpiY

PdmHeight

PdmHeightMM

PdmNumColors

PdmPhysicalDpiX

PdmPhysicalDpiY

PdmWidth

PdmWidthMM

Plain

PositionAtBottom

PositionAtCenter

PositionAtTop

Raised

ScrollPerItem

ScrollPerPixel

SelectColumns

SelectItems

SelectRows

SelectedClicked

Shadow_Mask

Shape_Mask

SingleSelection

StyledPanel

Sunken

VLine

WinPanel

activated

QModelIndex) [signal]

clicked

QModelIndex) [signal]

collapsed

QModelIndex) [signal]

customContextMenuRequested

QPoint) [signal]

destroyed

typing.Optional[QObject] = None) [signal]

doubleClicked

QModelIndex) [signal]

doubleLeftClicked

A QTreeView that emits a custom signal leftClicked(index) after a left click on a valid index, and doubleLeftClicked(index) (in addition) on double click.

entered

QModelIndex) [signal]

expanded

QModelIndex) [signal]

iconSizeChanged

QSize) [signal]

leftClicked

objectNameChanged

str) [signal]

pressed

QModelIndex) [signal]

staticMetaObject

viewportEntered

viewportEntered(self) [signal]

windowIconChanged

QIcon) [signal]

windowIconTextChanged

str) [signal]

windowTitleChanged

str) [signal]

doubleLeftClicked

A QTreeView that emits a custom signal leftClicked(index) after a left click on a valid index, and doubleLeftClicked(index) (in addition) on double click.

leaveEvent(self, a0: QEvent)[source]
leftClicked
mouseDoubleClickEvent(self, e: QMouseEvent)[source]
mousePressEvent(self, e: QMouseEvent)[source]
mouseReleaseEvent(self, event: QMouseEvent)[source]