PythonQt.Qt.QTreeView
QTreeView
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description

A QTreeView implements a tree representation of items from a model. This class is used
to provide standard hierarchical lists that were previously provided by the QListView
class, but using the more flexible approach provided by Qt's model/view architecture.
The QTreeView class is one of the Model/View Classes and is part of Qt's model/view framework.
QTreeView implements the interfaces defined by the QAbstractItemView class to allow it to display data provided by models derived from the QAbstractItemModel class.
It is simple to construct a tree view displaying data from a model. In the following example, the contents of a directory are supplied by a QFileSystemModel and displayed as a tree:
QFileSystemModel *model = new QFileSystemModel;
model->setRootPath(QDir::currentPath());
QTreeView *tree = new QTreeView(splitter);
tree->setModel(model);
The model/view architecture ensures that the contents of the tree view are updated as the model changes.
Items that have children can be in an expanded (children are visible) or collapsed (children are hidden) state. When this state changes a collapsed() or expanded() signal is emitted with the model index of the relevant item.
The amount of indentation used to indicate levels of hierarchy is controlled by the indentation property.
Headers in tree views are constructed using the
QHeaderView class and can be
hidden using header()->hide(). Note that each header is configured with its
stretchLastSection
property set to true, ensuring that the view does not waste any of the space assigned to
it for its header. If this value is set to true, this property will override the resize
mode set on the last section in the header.
By default, all columns in a tree view are movable except the first. To disable movement of these columns, use QHeaderView's setSectionsMovable() function. For more information about rearranging sections, see Moving Header Sections.
Key Bindings
QTreeView supports a set of key bindings that enable the user to navigate in the view and interact with the contents of items:
| Key | Action |
|---|---|
| Up | Moves the cursor to the item in the same column on the previous row. If the parent of the current item has no more rows to navigate to, the cursor moves to the relevant item in the last row of the sibling that precedes the parent. |
| Down | Moves the cursor to the item in the same column on the next row. If the parent of the current item has no more rows to navigate to, the cursor moves to the relevant item in the first row of the sibling that follows the parent. |
| Left | Hides the children of the current item (if present) by collapsing a branch. |
| Minus | Same as Left. |
| Right | Reveals the children of the current item (if present) by expanding a branch. |
| Plus | Same as Right. |
| Asterisk | Expands the current item and all its children (if present). |
| PageUp | Moves the cursor up one page. |
| PageDown | Moves the cursor down one page. |
| Home | Moves the cursor to an item in the same column of the first row of the first top-level item in the model. |
| End | Moves the cursor to an item in the same column of the last row of the last top-level item in the model. |
| F2 | In editable models, this opens the current item for editing. The Escape key can be used to cancel the editing process and revert any changes to the data displayed. |
Improving Performance
It is possible to give the view hints about the data it is handling in order to improve its performance when displaying large numbers of items. One approach that can be taken for views that are intended to display items with equal heights is to set the uniformRowHeights property to true.
Source: https://doc.qt.io/archives/qt-5.15/qtreeview.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
AboveItem |
attribute | Any |
(shared captured text) |
AdjustIgnored |
attribute | Any |
(shared captured text) |
AdjustToContents |
attribute | Any |
(shared captured text) |
AdjustToContentsOnFirstShow |
attribute | Any |
(shared captured text) |
AllEditTriggers |
attribute | Any |
(shared captured text) |
AnimatingState |
attribute | Any |
(shared captured text) |
AnyKeyPressed |
attribute | Any |
(shared captured text) |
BelowItem |
attribute | Any |
(shared captured text) |
Box |
attribute | Any |
(shared captured text) |
CollapsingState |
attribute | Any |
(shared captured text) |
ContiguousSelection |
attribute | Any |
(shared captured text) |
CurrentChanged |
attribute | Any |
(shared captured text) |
CursorAction |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
DoubleClicked |
attribute | Any |
(shared captured text) |
DragDrop |
attribute | Any |
(shared captured text) |
DragDropMode |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
DragOnly |
attribute | Any |
(shared captured text) |
DragSelectingState |
attribute | Any |
(shared captured text) |
DraggingState |
attribute | Any |
(shared captured text) |
DrawChildren |
attribute | Any |
(shared captured text) |
DrawWindowBackground |
attribute | Any |
(shared captured text) |
DropIndicatorPosition |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
DropOnly |
attribute | Any |
(shared captured text) |
EditKeyPressed |
attribute | Any |
(shared captured text) |
EditTrigger |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
EditTriggers |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
EditingState |
attribute | Any |
(shared captured text) |
EnsureVisible |
attribute | Any |
(shared captured text) |
ExpandingState |
attribute | Any |
(shared captured text) |
ExtendedSelection |
attribute | Any |
(shared captured text) |
HLine |
attribute | Any |
(shared captured text) |
IgnoreMask |
attribute | Any |
(shared captured text) |
InternalMove |
attribute | Any |
(shared captured text) |
MoveDown |
attribute | Any |
(shared captured text) |
MoveEnd |
attribute | Any |
(shared captured text) |
MoveHome |
attribute | Any |
(shared captured text) |
MoveLeft |
attribute | Any |
(shared captured text) |
MoveNext |
attribute | Any |
(shared captured text) |
MovePageDown |
attribute | Any |
(shared captured text) |
MovePageUp |
attribute | Any |
(shared captured text) |
MovePrevious |
attribute | Any |
(shared captured text) |
MoveRight |
attribute | Any |
(shared captured text) |
MoveUp |
attribute | Any |
(shared captured text) |
MultiSelection |
attribute | Any |
(shared captured text) |
NoDragDrop |
attribute | Any |
(shared captured text) |
NoEditTriggers |
attribute | Any |
(shared captured text) |
NoFrame |
attribute | Any |
(shared captured text) |
NoSelection |
attribute | Any |
(shared captured text) |
NoState |
attribute | Any |
(shared captured text) |
OnItem |
attribute | Any |
(shared captured text) |
OnViewport |
attribute | Any |
(shared captured text) |
PaintDeviceMetric |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Panel |
attribute | Any |
(shared captured text) |
PdmDepth |
attribute | Any |
(shared captured text) |
PdmDevicePixelRatio |
attribute | Any |
(shared captured text) |
PdmDevicePixelRatioScaled |
attribute | Any |
(shared captured text) |
PdmDpiX |
attribute | Any |
(shared captured text) |
PdmDpiY |
attribute | Any |
(shared captured text) |
PdmHeight |
attribute | Any |
(shared captured text) |
PdmHeightMM |
attribute | Any |
(shared captured text) |
PdmNumColors |
attribute | Any |
(shared captured text) |
PdmPhysicalDpiX |
attribute | Any |
(shared captured text) |
PdmPhysicalDpiY |
attribute | Any |
(shared captured text) |
PdmWidth |
attribute | Any |
(shared captured text) |
PdmWidthMM |
attribute | Any |
(shared captured text) |
Plain |
attribute | Any |
(shared captured text) |
PositionAtBottom |
attribute | Any |
(shared captured text) |
PositionAtCenter |
attribute | Any |
(shared captured text) |
PositionAtTop |
attribute | Any |
(shared captured text) |
Raised |
attribute | Any |
(shared captured text) |
RenderFlag |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
RenderFlags |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
ScrollHint |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
ScrollMode |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
ScrollPerItem |
attribute | Any |
(shared captured text) |
ScrollPerPixel |
attribute | Any |
(shared captured text) |
SelectColumns |
attribute | Any |
(shared captured text) |
SelectItems |
attribute | Any |
(shared captured text) |
SelectRows |
attribute | Any |
(shared captured text) |
SelectedClicked |
attribute | Any |
(shared captured text) |
SelectionBehavior |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
SelectionMode |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Shadow |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Shadow_Mask |
attribute | Any |
(shared captured text) |
Shape |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Shape_Mask |
attribute | Any |
(shared captured text) |
SingleSelection |
attribute | Any |
(shared captured text) |
SizeAdjustPolicy |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
State |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
StyleMask |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
StyledPanel |
attribute | Any |
(shared captured text) |
Sunken |
attribute | Any |
(shared captured text) |
VLine |
attribute | Any |
(shared captured text) |
WinPanel |
attribute | Any |
(shared captured text) |
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
acceptDrops |
attribute | Any |
(shared captured text) |
accessibleDescription |
attribute | Any |
(shared captured text) |
accessibleName |
attribute | Any |
(shared captured text) |
actionEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
actions |
function | (self) -> tuple |
X.actions() -> tuple (shared captured text) |
activateWindow |
function | (self) -> Any |
(shared captured text) |
activated |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.activated; argument details are not documented. |
addAction |
function | (self, action: Any) -> Any |
(shared captured text) |
addActions |
function | (self, actions: Any) -> Any |
(shared captured text) |
addScrollBarWidget |
function | (self, widget: Any, alignment: Any) -> Any |
X.addScrollBarWidget(widget, alignment) (shared captured text) |
adjustSize |
function | (self) -> Any |
(shared captured text) |
allColumnsShowFocus |
attribute | bool |
This property holds whether items should show keyboard focus using all columns (shared captured text) |
alternatingRowColors |
attribute | Any |
(shared captured text) |
animated |
attribute | Any |
This property holds whether animations are enabled (shared captured text) |
autoExpandDelay |
attribute | int |
This property holds the delay time before items in a tree are opened during a drag and drop operation. (shared captured text) |
autoFillBackground |
attribute | Any |
(shared captured text) |
autoScroll |
attribute | Any |
(shared captured text) |
autoScrollMargin |
attribute | Any |
(shared captured text) |
backgroundRole |
function | (self) -> Any |
(shared captured text) |
backingStore |
function | (self) -> Any |
X.backingStore() -> PythonQt.QtGui.QBackingStore (shared captured text) |
baseSize |
attribute | QSize |
(shared captured text) |
blockSignals |
function | (self, b: Any) -> bool |
X.blockSignals(b) -> bool (shared captured text) |
changeEvent |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
childAt |
function | (self, x: Any, y: Any) -> Any |
X.childAt(x, y) -> PythonQt.QtGui.QWidget (shared captured text) |
childEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
children |
function | (self) -> tuple |
X.children() -> tuple (shared captured text) |
childrenRect |
attribute | QRect |
(shared captured text) |
childrenRegion |
attribute | QRegion |
(shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
clearFocus |
function | (self) -> Any |
(shared captured text) |
clearMask |
function | (self) -> Any |
(shared captured text) |
clearSelection |
function | (self) -> Any |
(shared captured text) |
clicked |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.clicked; argument details are not documented. |
close |
function | (self) -> bool |
X.close() -> bool (shared captured text) |
closeEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
closePersistentEditor |
function | (self, index: Any) -> Any |
(shared captured text) |
collapse |
function | (self, index: Any) -> None |
Collapses the model item specified by the index. (shared captured text) |
collapseAll |
function | (self) -> None |
Collapses all expanded items. (shared captured text) |
collapsed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.collapsed; argument details are not documented. |
colorCount |
function | (self) -> int |
X.colorCount() -> int (shared captured text) |
columnAt |
function | (self, x: int) -> int |
X.columnAt(x) -> int (shared captured text) |
columnViewportPosition |
function | (self, column: int) -> int |
X.columnViewportPosition(column) -> int (shared captured text) |
columnWidth |
function | (self, column: int) -> int |
X.columnWidth(column) -> int (shared captured text) |
connect |
function | (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool |
X.connect(signal, receiver, slot, type) -> bool (shared captured text) |
contentsMargins |
function | (self) -> Any |
X.contentsMargins() -> PythonQt.QtGui.QMargins (shared captured text) |
contentsRect |
function | (self) -> Any |
X.contentsRect() -> PythonQt.QtCore.QRect (shared captured text) |
contextMenuEvent |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
contextMenuPolicy |
attribute | Any |
(shared captured text) |
cornerWidget |
function | (self) -> Any |
X.cornerWidget() -> PythonQt.QtGui.QWidget (shared captured text) |
createWinId |
function | (self) -> Any |
(shared captured text) |
createWindowContainer |
function | (self, window: Any, parent: Any, arg2: flags) -> Any |
X.createWindowContainer(window, parent, flags) -> PythonQt.QtGui.QWidget (shared captured text) |
currentIndex |
function | (self) -> Any |
X.currentIndex() -> PythonQt.QtCore.QModelIndex (shared captured text) |
cursor |
attribute | QCursor |
(shared captured text) |
customContextMenuRequested |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.customContextMenuRequested; argument details are not documented. |
customEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
defaultDropAction |
attribute | Any |
(shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
deleteLater |
function | (self) -> Any |
(shared captured text) |
depth |
function | (self) -> int |
X.depth() -> int (shared captured text) |
destroy |
function | (self, destroyWindow: Any, destroySubWindows: Any) -> Any |
X.destroy(destroyWindow, destroySubWindows) (shared captured text) |
destroyed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.destroyed; argument details are not documented. |
devType |
function | (self) -> int |
X.devType() -> int (shared captured text) |
devicePixelRatio |
function | (self) -> int |
X.devicePixelRatio() -> int (shared captured text) |
devicePixelRatioF |
function | (self) -> float |
X.devicePixelRatioF() -> float (shared captured text) |
devicePixelRatioFScale |
function | (self) -> float |
X.devicePixelRatioFScale() -> float (shared captured text) |
dirtyRegionOffset |
function | (self) -> Any |
X.dirtyRegionOffset() -> PythonQt.QtCore.QPoint (shared captured text) |
disconnect |
function | (self, signal: Any, receiver: Any, slot: Any) -> bool |
X.disconnect(signal, receiver, slot) -> bool (shared captured text) |
doAutoScroll |
function | (self) -> Any |
(shared captured text) |
doItemsLayout |
function | (self) -> None |
(shared captured text) |
doubleClicked |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.doubleClicked; argument details are not documented. |
dragDropMode |
attribute | Any |
(shared captured text) |
dragDropOverwriteMode |
attribute | Any |
(shared captured text) |
dragEnabled |
attribute | Any |
(shared captured text) |
dragEnterEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dragLeaveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dragMoveEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractItemView::dragMoveEvent](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#dragMoveEvent)(QDragMoveEvent *event). (shared captured text) |
drawBranches |
function | (self, painter: Any, rect: Any, index: Any) -> None |
X.drawBranches(painter, rect, index) (shared captured text) |
drawFrame |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
drawRow |
function | (self, painter: Any, options: Any, index: Any) -> None |
X.drawRow(painter, options, index) (shared captured text) |
drawTree |
function | (self, painter: Any, region: Any) -> None |
X.drawTree(painter, region) (shared captured text) |
dropEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dropIndicatorPosition |
function | (self) -> int |
X.dropIndicatorPosition() -> int (shared captured text) |
dumpObjectInfo |
function | (self) -> Any |
(shared captured text) |
dumpObjectTree |
function | (self) -> Any |
(shared captured text) |
dynamicPropertyNames |
function | (self) -> Any |
(shared captured text) |
edit |
function | (self, index: Any, trigger: Any, event: Any) -> bool |
X.edit(index, trigger, event) -> bool (shared captured text) |
editTriggers |
attribute | Any |
(shared captured text) |
effectiveWinId |
function | (self) -> int |
X.effectiveWinId() -> int (shared captured text) |
enabled |
attribute | Any |
(shared captured text) |
ensurePolished |
function | (self) -> Any |
(shared captured text) |
enterEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
entered |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.entered; argument details are not documented. |
event |
function | (self, event: Any) -> bool |
X.event(event) -> bool (shared captured text) |
eventFilter |
function | (self, arg__1: Any, arg__2: Any) -> bool |
X.eventFilter(arg__1, arg__2) -> bool (shared captured text) |
executeDelayedItemsLayout |
function | (self) -> Any |
(shared captured text) |
expand |
function | (self, index: Any) -> None |
Expands the model item specified by the index. (shared captured text) |
expandAll |
function | (self) -> None |
Expands all expandable items. (shared captured text) |
expandRecursively |
function | (self, index: Any, depth: int) -> None |
X.expandRecursively(index, depth) (shared captured text) |
expandToDepth |
function | (self, depth: int) -> None |
Expands all expandable items to the given depth. (shared captured text) |
expanded |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.expanded; argument details are not documented. |
expandsOnDoubleClick |
attribute | bool |
This property holds whether the items can be expanded by double-clicking. (shared captured text) |
findChild |
function | (self, type: Any, name: Any) -> Any |
X.findChild(type, name) -> PythonQt.private.QObject (shared captured text) |
findChildren |
function | (self, type: Any, name: Any) -> tuple |
X.findChildren(type, name) -> tuple (shared captured text) |
focus |
attribute | Any |
(shared captured text) |
focusInEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
focusNextChild |
function | (self) -> bool |
X.focusNextChild() -> bool (shared captured text) |
focusNextPrevChild |
function | (self, next: Any) -> bool |
X.focusNextPrevChild(next) -> bool (shared captured text) |
focusOutEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
focusPolicy |
attribute | Any |
(shared captured text) |
focusPreviousChild |
function | (self) -> bool |
X.focusPreviousChild() -> bool (shared captured text) |
focusProxy |
function | (self) -> Any |
X.focusProxy() -> PythonQt.QtGui.QWidget (shared captured text) |
focusWidget |
function | (self) -> Any |
X.focusWidget() -> PythonQt.QtGui.QWidget (shared captured text) |
font |
attribute | QFont |
(shared captured text) |
fontInfo |
function | (self) -> Any |
X.fontInfo() -> PythonQt.QtGui.QFontInfo (shared captured text) |
fontMetrics |
function | (self) -> Any |
X.fontMetrics() -> PythonQt.QtGui.QFontMetrics (shared captured text) |
foregroundRole |
function | (self) -> Any |
(shared captured text) |
frameGeometry |
attribute | QRect |
(shared captured text) |
frameRect |
attribute | QRect |
(shared captured text) |
frameShadow |
attribute | Any |
(shared captured text) |
frameShape |
attribute | Any |
(shared captured text) |
frameSize |
attribute | QSize |
(shared captured text) |
frameStyle |
function | (self) -> int |
X.frameStyle() -> int (shared captured text) |
frameWidth |
attribute | Any |
(shared captured text) |
fullScreen |
attribute | Any |
(shared captured text) |
geometry |
attribute | QRect |
(shared captured text) |
grab |
function | (self, rectangle: Any) -> Any |
X.grab(rectangle) -> PythonQt.QtGui.QPixmap (shared captured text) |
grabGesture |
function | (self, type: Any, arg1: flags) -> Any |
X.grabGesture(type, flags) (shared captured text) |
grabKeyboard |
function | (self) -> Any |
(shared captured text) |
grabMouse |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
grabShortcut |
function | (self, key: Any, context: Any) -> int |
X.grabShortcut(key, context) -> int (shared captured text) |
graphicsEffect |
function | (self) -> Any |
X.graphicsEffect() -> PythonQt.QtGui.QGraphicsEffect (shared captured text) |
graphicsProxyWidget |
function | (self) -> Any |
X.graphicsProxyWidget() -> PythonQt.QtGui.QGraphicsProxyWidget (shared captured text) |
hasAutoScroll |
function | (self) -> bool |
X.hasAutoScroll() -> bool (shared captured text) |
hasFocus |
function | (self) -> bool |
X.hasFocus() -> bool (shared captured text) |
hasHeightForWidth |
function | (self) -> bool |
X.hasHeightForWidth() -> bool (shared captured text) |
hasMouseTracking |
function | (self) -> bool |
X.hasMouseTracking() -> bool (shared captured text) |
header |
function | (self) -> Any |
X.header() -> PythonQt.QtGui.QHeaderView (shared captured text) |
headerHidden |
attribute | Any |
This property holds whether the header is shown or not. (shared captured text) |
height |
attribute | Any |
(shared captured text) |
heightForWidth |
function | (self, arg__1: Any) -> int |
X.heightForWidth(arg__1) -> int (shared captured text) |
heightMM |
function | (self) -> int |
X.heightMM() -> int (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
hide |
function | (self) -> Any |
(shared captured text) |
hideColumn |
function | (self, column: int) -> None |
Hides the column given. (shared captured text) |
hideEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
horizontalOffset |
function | (self) -> int |
X.horizontalOffset() -> int (shared captured text) |
horizontalScrollBar |
function | (self) -> Any |
X.horizontalScrollBar() -> PythonQt.QtGui.QScrollBar (shared captured text) |
horizontalScrollBarPolicy |
attribute | Any |
(shared captured text) |
horizontalScrollMode |
attribute | Any |
(shared captured text) |
iconSize |
attribute | QSize |
(shared captured text) |
iconSizeChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.iconSizeChanged; argument details are not documented. |
indentation |
attribute | int |
Indentation of the items in the tree view. (shared captured text) |
indexAbove |
function | (self, index: Any) -> Any |
X.indexAbove(index) -> PythonQt.QtCore.QModelIndex (shared captured text) |
indexAt |
function | (self, p: Any) -> Any |
X.indexAt(p) -> PythonQt.QtCore.QModelIndex (shared captured text) |
indexBelow |
function | (self, index: Any) -> Any |
X.indexBelow(index) -> PythonQt.QtCore.QModelIndex (shared captured text) |
indexRowSizeHint |
function | (self, index: Any) -> int |
X.indexRowSizeHint(index) -> int (shared captured text) |
indexWidget |
function | (self, index: Any) -> Any |
X.indexWidget(index) -> PythonQt.QtGui.QWidget (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
initPainter |
function | (self, painter: Any) -> Any |
(shared captured text) |
initStyleOption |
function | (self, option: Any) -> Any |
(shared captured text) |
inputMethodEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
inputMethodHints |
attribute | Any |
(shared captured text) |
inputMethodQuery |
function | (self, query: Any) -> Any |
X.inputMethodQuery(query) -> object (shared captured text) |
insertAction |
function | (self, before: Any, action: Any) -> Any |
X.insertAction(before, action) (shared captured text) |
insertActions |
function | (self, before: Any, actions: Any) -> Any |
X.insertActions(before, actions) (shared captured text) |
installEventFilter |
function | (self, filterObj: Any) -> Any |
(shared captured text) |
isActiveWindow |
attribute | Any |
(shared captured text) |
isAncestorOf |
function | (self, child: Any) -> bool |
X.isAncestorOf(child) -> bool (shared captured text) |
isAnimated |
function | (self) -> bool |
X.isAnimated() -> bool (shared captured text) |
isColumnHidden |
function | (self, column: int) -> bool |
X.isColumnHidden(column) -> bool (shared captured text) |
isEnabled |
function | (self) -> bool |
X.isEnabled() -> bool (shared captured text) |
isEnabledTo |
function | (self, arg__1: Any) -> bool |
X.isEnabledTo(arg__1) -> bool (shared captured text) |
isExpanded |
function | (self, index: Any) -> bool |
X.isExpanded(index) -> bool (shared captured text) |
isFirstColumnSpanned |
function | (self, row: int, parent: Any) -> bool |
X.isFirstColumnSpanned(row, parent) -> bool (shared captured text) |
isFullScreen |
function | (self) -> bool |
X.isFullScreen() -> bool (shared captured text) |
isHeaderHidden |
function | (self) -> bool |
X.isHeaderHidden() -> bool (shared captured text) |
isHidden |
function | (self) -> bool |
X.isHidden() -> bool (shared captured text) |
isIndexHidden |
function | (self, index: Any) -> bool |
X.isIndexHidden(index) -> bool (shared captured text) |
isLeftToRight |
function | (self) -> bool |
X.isLeftToRight() -> bool (shared captured text) |
isMaximized |
function | (self) -> bool |
X.isMaximized() -> bool (shared captured text) |
isMinimized |
function | (self) -> bool |
X.isMinimized() -> bool (shared captured text) |
isModal |
function | (self) -> bool |
X.isModal() -> bool (shared captured text) |
isRightToLeft |
function | (self) -> bool |
X.isRightToLeft() -> bool (shared captured text) |
isRowHidden |
function | (self, row: int, parent: Any) -> bool |
X.isRowHidden(row, parent) -> bool (shared captured text) |
isSignalConnected |
function | (self, signal: Any) -> bool |
X.isSignalConnected(signal) -> bool (shared captured text) |
isSortingEnabled |
function | (self) -> bool |
X.isSortingEnabled() -> bool (shared captured text) |
isVisible |
function | (self) -> bool |
X.isVisible() -> bool (shared captured text) |
isVisibleTo |
function | (self, arg__1: Any) -> bool |
X.isVisibleTo(arg__1) -> bool (shared captured text) |
isWidgetType |
function | (self) -> bool |
X.isWidgetType() -> bool (shared captured text) |
isWindow |
function | (self) -> bool |
X.isWindow() -> bool (shared captured text) |
isWindowModified |
function | (self) -> bool |
X.isWindowModified() -> bool (shared captured text) |
isWindowType |
function | (self) -> bool |
X.isWindowType() -> bool (shared captured text) |
itemDelegate |
function | (self, index: Any) -> Any |
X.itemDelegate(index) -> PythonQt.QtGui.QAbstractItemDelegate (shared captured text) |
itemDelegateForColumn |
function | (self, column: Any) -> Any |
X.itemDelegateForColumn(column) -> PythonQt.QtGui.QAbstractItemDelegate (shared captured text) |
itemDelegateForRow |
function | (self, row: Any) -> Any |
X.itemDelegateForRow(row) -> PythonQt.QtGui.QAbstractItemDelegate (shared captured text) |
itemsExpandable |
attribute | bool |
This property holds whether the items are expandable by the user. (shared captured text) |
keyPressEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractItemView::keyPressEvent](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#keyPressEvent)(QKeyEvent *event). (shared captured text) |
keyReleaseEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
keyboardGrabber |
function | (self) -> Any |
X.keyboardGrabber() -> PythonQt.QtGui.QWidget (shared captured text) |
keyboardSearch |
function | (self, search: str) -> None |
Reimplements: [QAbstractItemView::keyboardSearch](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#keyboardSearch)(const QString \&search). (shared captured text) |
killTimer |
function | (self, id: Any) -> Any |
(shared captured text) |
layout |
function | (self) -> Any |
X.layout() -> PythonQt.QtGui.QLayout (shared captured text) |
layoutDirection |
attribute | Any |
(shared captured text) |
leaveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
lineWidth |
attribute | Any |
(shared captured text) |
locale |
attribute | QLocale |
(shared captured text) |
logicalDpiX |
function | (self) -> int |
X.logicalDpiX() -> int (shared captured text) |
logicalDpiY |
function | (self) -> int |
X.logicalDpiY() -> int (shared captured text) |
lower |
function | (self) -> Any |
(shared captured text) |
mapFrom |
function | (self, arg__1: Any, arg__2: Any) -> Any |
X.mapFrom(arg__1, arg__2) -> PythonQt.QtCore.QPoint (shared captured text) |
mapFromGlobal |
function | (self, arg__1: Any) -> Any |
X.mapFromGlobal(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mapFromParent |
function | (self, arg__1: Any) -> Any |
X.mapFromParent(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mapTo |
function | (self, arg__1: Any, arg__2: Any) -> Any |
X.mapTo(arg__1, arg__2) -> PythonQt.QtCore.QPoint (shared captured text) |
mapToGlobal |
function | (self, arg__1: Any) -> Any |
X.mapToGlobal(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mapToParent |
function | (self, arg__1: Any) -> Any |
X.mapToParent(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mask |
function | (self) -> Any |
X.mask() -> PythonQt.QtGui.QRegion (shared captured text) |
maximized |
attribute | Any |
(shared captured text) |
maximumHeight |
attribute | Any |
(shared captured text) |
maximumSize |
attribute | QSize |
(shared captured text) |
maximumViewportSize |
function | (self) -> Any |
X.maximumViewportSize() -> PythonQt.QtCore.QSize (shared captured text) |
maximumWidth |
attribute | Any |
(shared captured text) |
metaObject |
function | (self) -> Any |
X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text) |
metric |
function | (self, arg__1: Any) -> int |
X.metric(arg__1) -> int (shared captured text) |
midLineWidth |
attribute | Any |
(shared captured text) |
minimized |
attribute | Any |
(shared captured text) |
minimumHeight |
attribute | Any |
(shared captured text) |
minimumSize |
attribute | QSize |
(shared captured text) |
minimumSizeHint |
attribute | QSize |
(shared captured text) |
minimumWidth |
attribute | Any |
(shared captured text) |
modal |
attribute | Any |
(shared captured text) |
model |
function | (self) -> Any |
X.model() -> PythonQt.QtCore.QAbstractItemModel (shared captured text) |
mouseDoubleClickEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractItemView::mouseDoubleClickEvent](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#mouseDoubleClickEvent)(QMouseEvent *event). (shared captured text) |
mouseGrabber |
function | (self) -> Any |
X.mouseGrabber() -> PythonQt.QtGui.QWidget (shared captured text) |
mouseMoveEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractItemView::mouseMoveEvent](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#mouseMoveEvent)(QMouseEvent *event). (shared captured text) |
mousePressEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractItemView::mousePressEvent](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#mousePressEvent)(QMouseEvent *event). (shared captured text) |
mouseReleaseEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractItemView::mouseReleaseEvent](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#mouseReleaseEvent)(QMouseEvent *event). (shared captured text) |
mouseTracking |
attribute | Any |
(shared captured text) |
move |
function | (self, x: Any, y: Any) -> Any |
X.move(x, y) (shared captured text) |
moveCursor |
function | (self, cursorAction: Any, modifiers: Any) -> Any |
X.moveCursor(cursorAction, modifiers) -> PythonQt.QtCore.QModelIndex (shared captured text) |
moveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
moveToThread |
function | (self, thread: Any) -> Any |
(shared captured text) |
nativeEvent |
function | (self, eventType: Any, message: Any, result: Any) -> bool |
X.nativeEvent(eventType, message, result) -> bool (shared captured text) |
nativeParentWidget |
function | (self) -> Any |
X.nativeParentWidget() -> PythonQt.QtGui.QWidget (shared captured text) |
nextInFocusChain |
function | (self) -> Any |
X.nextInFocusChain() -> PythonQt.QtGui.QWidget (shared captured text) |
normalGeometry |
attribute | QRect |
(shared captured text) |
objectName |
attribute | Any |
(shared captured text) |
objectNameChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.objectNameChanged; argument details are not documented. |
openPersistentEditor |
function | (self, index: Any) -> Any |
(shared captured text) |
overrideWindowFlags |
function | (self, type: Any) -> Any |
(shared captured text) |
overrideWindowState |
function | (self, state: Any) -> Any |
(shared captured text) |
paintEngine |
function | (self) -> Any |
X.paintEngine() -> PythonQt.QtGui.QPaintEngine (shared captured text) |
paintEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractScrollArea::paintEvent](https://doc.qt.io/archives/qt-5.15/qabstractscrollarea.html#paintEvent)(QPaintEvent *event). (shared captured text) |
paintingActive |
function | (self) -> bool |
X.paintingActive() -> bool (shared captured text) |
palette |
attribute | QPalette |
(shared captured text) |
parent |
function | (self) -> Any |
X.parent() -> PythonQt.private.QObject (shared captured text) |
parentWidget |
function | (self) -> Any |
X.parentWidget() -> PythonQt.QtGui.QWidget (shared captured text) |
physicalDpiX |
function | (self) -> int |
X.physicalDpiX() -> int (shared captured text) |
physicalDpiY |
function | (self) -> int |
X.physicalDpiY() -> int (shared captured text) |
pos |
attribute | QPoint |
(shared captured text) |
pressed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.pressed; argument details are not documented. |
previousInFocusChain |
function | (self) -> Any |
X.previousInFocusChain() -> PythonQt.QtGui.QWidget (shared captured text) |
property |
function | (self, name: Any) -> Any |
X.property(name) -> object (shared captured text) |
raise_ |
function | (self) -> Any |
Native spelling: raise; access it through getattr on the native object. (shared captured text) |
rect |
attribute | QRect |
(shared captured text) |
redirected |
function | (self, offset: Any) -> Any |
X.redirected(offset) -> PythonQt.QtGui.QPaintDevice (shared captured text) |
releaseKeyboard |
function | (self) -> Any |
(shared captured text) |
releaseMouse |
function | (self) -> Any |
(shared captured text) |
releaseShortcut |
function | (self, id: Any) -> Any |
(shared captured text) |
removeAction |
function | (self, action: Any) -> Any |
(shared captured text) |
removeEventFilter |
function | (self, obj: Any) -> Any |
(shared captured text) |
render |
function | (self, target: Any, targetOffset: Any, sourceRegion: Any, renderFlags: Any) -> Any |
X.render(target, targetOffset, sourceRegion, renderFlags) (shared captured text) |
repaint |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.repaint(x, y, w, h) (shared captured text) |
reset |
function | (self) -> None |
Reimplements: [QAbstractItemView::reset](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#reset)(). (shared captured text) |
resetIndentation |
function | (self) -> None |
(shared captured text) |
resize |
function | (self, w: Any, h: Any) -> Any |
X.resize(w, h) (shared captured text) |
resizeColumnToContents |
function | (self, column: int) -> None |
Resizes the column given to the size of its contents. (shared captured text) |
resizeEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
restoreGeometry |
function | (self, geometry: Any) -> bool |
X.restoreGeometry(geometry) -> bool (shared captured text) |
rootIndex |
function | (self) -> Any |
X.rootIndex() -> PythonQt.QtCore.QModelIndex (shared captured text) |
rootIsDecorated |
attribute | bool |
This property holds whether to show controls for expanding and collapsing top-level items (shared captured text) |
rowHeight |
function | (self, index: Any) -> int |
X.rowHeight(index) -> int (shared captured text) |
saveGeometry |
function | (self) -> Any |
X.saveGeometry() -> PythonQt.QtCore.QByteArray (shared captured text) |
scheduleDelayedItemsLayout |
function | (self) -> Any |
(shared captured text) |
scroll |
function | (self, dx: Any, dy: Any, arg__3: Any) -> Any |
X.scroll(dx, dy, arg__3) (shared captured text) |
scrollBarWidgets |
function | (self, alignment: Any) -> tuple |
X.scrollBarWidgets(alignment) -> tuple (shared captured text) |
scrollContentsBy |
function | (self, dx: int, dy: int) -> None |
X.scrollContentsBy(dx, dy) (shared captured text) |
scrollDirtyRegion |
function | (self, dx: Any, dy: Any) -> Any |
X.scrollDirtyRegion(dx, dy) (shared captured text) |
scrollTo |
function | (self, index: Any, hint: Any) -> None |
X.scrollTo(index, hint) (shared captured text) |
scrollToBottom |
function | (self) -> Any |
(shared captured text) |
scrollToTop |
function | (self) -> Any |
(shared captured text) |
selectAll |
function | (self) -> None |
Reimplements: [QAbstractItemView::selectAll](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#selectAll)(). (shared captured text) |
selectedIndexes |
function | (self) -> tuple |
X.selectedIndexes() -> tuple (shared captured text) |
selectionBehavior |
attribute | Any |
(shared captured text) |
selectionCommand |
function | (self, index: Any, event: Any) -> Any |
X.selectionCommand(index, event) (shared captured text) |
selectionMode |
attribute | Any |
(shared captured text) |
selectionModel |
function | (self) -> Any |
X.selectionModel() -> PythonQt.QtGui.QItemSelectionModel (shared captured text) |
sender |
function | (self) -> Any |
X.sender() -> PythonQt.private.QObject (shared captured text) |
senderSignalIndex |
function | (self) -> int |
X.senderSignalIndex() -> int (shared captured text) |
setAcceptDrops |
function | (self, on: Any) -> Any |
(shared captured text) |
setAccessibleDescription |
function | (self, description: Any) -> Any |
(shared captured text) |
setAccessibleName |
function | (self, name: Any) -> Any |
(shared captured text) |
setAllColumnsShowFocus |
function | (self, enable: bool) -> None |
(shared captured text) |
setAlternatingRowColors |
function | (self, enable: Any) -> Any |
(shared captured text) |
setAnimated |
function | (self, enable: bool) -> None |
(shared captured text) |
setAttribute |
function | (self, arg__1: Any, on: Any) -> Any |
X.setAttribute(arg__1, on) (shared captured text) |
setAutoExpandDelay |
function | (self, delay: int) -> None |
(shared captured text) |
setAutoFillBackground |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setAutoScroll |
function | (self, enable: Any) -> Any |
(shared captured text) |
setAutoScrollMargin |
function | (self, margin: Any) -> Any |
(shared captured text) |
setBackgroundRole |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setBaseSize |
function | (self, basew: Any, baseh: Any) -> Any |
X.setBaseSize(basew, baseh) (shared captured text) |
setColumnHidden |
function | (self, column: int, hide: bool) -> None |
X.setColumnHidden(column, hide) (shared captured text) |
setColumnWidth |
function | (self, column: int, width: int) -> None |
X.setColumnWidth(column, width) (shared captured text) |
setContentsMargins |
function | (self, left: Any, top: Any, right: Any, bottom: Any) -> Any |
X.setContentsMargins(left, top, right, bottom) (shared captured text) |
setContextMenuPolicy |
function | (self, policy: Any) -> Any |
(shared captured text) |
setCornerWidget |
function | (self, widget: Any) -> Any |
(shared captured text) |
setCurrentIndex |
function | (self, index: Any) -> Any |
(shared captured text) |
setCursor |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setDefaultDropAction |
function | (self, dropAction: Any) -> Any |
(shared captured text) |
setDirtyRegion |
function | (self, region: Any) -> Any |
(shared captured text) |
setDisabled |
function | (self, a: Any) -> Any |
(shared captured text) |
setDragDropMode |
function | (self, behavior: Any) -> Any |
(shared captured text) |
setDragDropOverwriteMode |
function | (self, overwrite: Any) -> Any |
(shared captured text) |
setDragEnabled |
function | (self, enable: Any) -> Any |
(shared captured text) |
setDropIndicatorShown |
function | (self, enable: Any) -> Any |
(shared captured text) |
setEditTriggers |
function | (self, triggers: Any) -> Any |
(shared captured text) |
setEnabled |
function | (self, a: Any) -> Any |
(shared captured text) |
setExpanded |
function | (self, index: Any, expand: bool) -> None |
X.setExpanded(index, expand) (shared captured text) |
setExpandsOnDoubleClick |
function | (self, enable: bool) -> None |
(shared captured text) |
setFirstColumnSpanned |
function | (self, row: int, parent: Any, span: bool) -> None |
X.setFirstColumnSpanned(row, parent, span) (shared captured text) |
setFixedHeight |
function | (self, h: Any) -> Any |
(shared captured text) |
setFixedSize |
function | (self, w: Any, h: Any) -> Any |
X.setFixedSize(w, h) (shared captured text) |
setFixedWidth |
function | (self, w: Any) -> Any |
(shared captured text) |
setFocus |
function | (self, reason: Any) -> Any |
(shared captured text) |
setFocusPolicy |
function | (self, policy: Any) -> Any |
(shared captured text) |
setFocusProxy |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setFont |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setForegroundRole |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setFrameRect |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setFrameShadow |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setFrameShape |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setFrameStyle |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setGeometry |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.setGeometry(x, y, w, h) (shared captured text) |
setGraphicsEffect |
function | (self, effect: Any) -> Any |
(shared captured text) |
setHeader |
function | (self, header: Any) -> None |
Sets the header for the tree view, to the given header. (shared captured text) |
setHeaderHidden |
function | (self, hide: bool) -> None |
(shared captured text) |
setHidden |
function | (self, hidden: Any) -> Any |
(shared captured text) |
setHorizontalScrollBar |
function | (self, scrollbar: Any) -> Any |
(shared captured text) |
setHorizontalScrollBarPolicy |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setHorizontalScrollMode |
function | (self, mode: Any) -> Any |
(shared captured text) |
setIconSize |
function | (self, size: Any) -> Any |
(shared captured text) |
setIndentation |
function | (self, i: int) -> None |
(shared captured text) |
setIndexWidget |
function | (self, index: Any, widget: Any) -> Any |
X.setIndexWidget(index, widget) (shared captured text) |
setInputMethodHints |
function | (self, hints: Any) -> Any |
(shared captured text) |
setItemDelegate |
function | (self, delegate: Any) -> Any |
(shared captured text) |
setItemDelegateForColumn |
function | (self, column: Any, delegate: Any) -> Any |
X.setItemDelegateForColumn(column, delegate) (shared captured text) |
setItemDelegateForRow |
function | (self, row: Any, delegate: Any) -> Any |
X.setItemDelegateForRow(row, delegate) (shared captured text) |
setItemsExpandable |
function | (self, enable: bool) -> None |
(shared captured text) |
setLayout |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setLayoutDirection |
function | (self, direction: Any) -> Any |
(shared captured text) |
setLineWidth |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setLocale |
function | (self, locale: Any) -> Any |
(shared captured text) |
setMask |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setMaximumHeight |
function | (self, maxh: Any) -> Any |
(shared captured text) |
setMaximumSize |
function | (self, maxw: Any, maxh: Any) -> Any |
X.setMaximumSize(maxw, maxh) (shared captured text) |
setMaximumWidth |
function | (self, maxw: Any) -> Any |
(shared captured text) |
setMidLineWidth |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setMinimumHeight |
function | (self, minh: Any) -> Any |
(shared captured text) |
setMinimumSize |
function | (self, minw: Any, minh: Any) -> Any |
X.setMinimumSize(minw, minh) (shared captured text) |
setMinimumWidth |
function | (self, minw: Any) -> Any |
(shared captured text) |
setModel |
function | (self, model: Any) -> None |
Reimplements: [QAbstractItemView::setModel](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#setModel)(QAbstractItemModel *model). (shared captured text) |
setMouseTracking |
function | (self, enable: Any) -> Any |
(shared captured text) |
setObjectName |
function | (self, name: Any) -> Any |
(shared captured text) |
setPalette |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setParent |
function | (self, parent: Any, f: Any) -> Any |
X.setParent(parent, f) (shared captured text) |
setProperty |
function | (self, name: Any, value: Any) -> bool |
X.setProperty(name, value) -> bool (shared captured text) |
setRootIndex |
function | (self, index: Any) -> None |
Reimplements: [QAbstractItemView::setRootIndex](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#setRootIndex)(const QModelIndex \&index). (shared captured text) |
setRootIsDecorated |
function | (self, show: bool) -> None |
(shared captured text) |
setRowHidden |
function | (self, row: int, parent: Any, hide: bool) -> None |
X.setRowHidden(row, parent, hide) (shared captured text) |
setSelection |
function | (self, rect: Any, command: Any) -> None |
X.setSelection(rect, command) (shared captured text) |
setSelectionBehavior |
function | (self, behavior: Any) -> Any |
(shared captured text) |
setSelectionMode |
function | (self, mode: Any) -> Any |
(shared captured text) |
setSelectionModel |
function | (self, selectionModel: Any) -> None |
Reimplements: [QAbstractItemView::setSelectionModel](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#setSelectionModel)(QItemSelectionModel *selectionModel). (shared captured text) |
setShortcutAutoRepeat |
function | (self, id: Any, enable: Any) -> Any |
X.setShortcutAutoRepeat(id, enable) (shared captured text) |
setShortcutEnabled |
function | (self, id: Any, enable: Any) -> Any |
X.setShortcutEnabled(id, enable) (shared captured text) |
setSizeAdjustPolicy |
function | (self, policy: Any) -> Any |
(shared captured text) |
setSizeIncrement |
function | (self, w: Any, h: Any) -> Any |
X.setSizeIncrement(w, h) (shared captured text) |
setSizePolicy |
function | (self, horizontal: Any, vertical: Any) -> Any |
X.setSizePolicy(horizontal, vertical) (shared captured text) |
setSortingEnabled |
function | (self, enable: bool) -> None |
(shared captured text) |
setState |
function | (self, state: Any) -> Any |
(shared captured text) |
setStatusTip |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setStyle |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setStyleSheet |
function | (self, styleSheet: Any) -> Any |
(shared captured text) |
setTabKeyNavigation |
function | (self, enable: Any) -> Any |
(shared captured text) |
setTabOrder |
function | (self, arg__1: Any, arg__2: Any) -> Any |
X.setTabOrder(arg__1, arg__2) (shared captured text) |
setTextElideMode |
function | (self, mode: Any) -> Any |
(shared captured text) |
setToolTip |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setToolTipDuration |
function | (self, msec: Any) -> Any |
(shared captured text) |
setTreePosition |
function | (self, logicalIndex: int) -> None |
This specifies that the tree structure should be placed at logical index index. (shared captured text) |
setUniformRowHeights |
function | (self, uniform: bool) -> None |
(shared captured text) |
setUpdatesEnabled |
function | (self, enable: Any) -> Any |
(shared captured text) |
setVerticalScrollBar |
function | (self, scrollbar: Any) -> Any |
(shared captured text) |
setVerticalScrollBarPolicy |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setVerticalScrollMode |
function | (self, mode: Any) -> Any |
(shared captured text) |
setViewport |
function | (self, widget: Any) -> Any |
(shared captured text) |
setViewportMargins |
function | (self, left: Any, top: Any, right: Any, bottom: Any) -> Any |
X.setViewportMargins(left, top, right, bottom) (shared captured text) |
setVisible |
function | (self, visible: Any) -> Any |
(shared captured text) |
setWhatsThis |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setWindowFilePath |
function | (self, filePath: Any) -> Any |
(shared captured text) |
setWindowFlags |
function | (self, type: Any) -> Any |
(shared captured text) |
setWindowIcon |
function | (self, icon: Any) -> Any |
(shared captured text) |
setWindowIconText |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setWindowModality |
function | (self, windowModality: Any) -> Any |
(shared captured text) |
setWindowModified |
function | (self, a: Any) -> Any |
(shared captured text) |
setWindowOpacity |
function | (self, level: Any) -> Any |
(shared captured text) |
setWindowRole |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setWindowState |
function | (self, state: Any) -> Any |
(shared captured text) |
setWindowTitle |
function | (self, a: Any) -> Any |
(shared captured text) |
setWordWrap |
function | (self, on: bool) -> None |
(shared captured text) |
setupViewport |
function | (self, viewport: Any) -> Any |
(shared captured text) |
sharedPainter |
function | (self) -> Any |
X.sharedPainter() -> PythonQt.QtGui.QPainter (shared captured text) |
show |
function | (self) -> Any |
(shared captured text) |
showColumn |
function | (self, column: int) -> None |
Shows the given column in the tree view. (shared captured text) |
showDropIndicator |
attribute | Any |
(shared captured text) |
showEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
showFullScreen |
function | (self) -> Any |
(shared captured text) |
showMaximized |
function | (self) -> Any |
(shared captured text) |
showMinimized |
function | (self) -> Any |
(shared captured text) |
showNormal |
function | (self) -> Any |
(shared captured text) |
signalsBlocked |
function | (self) -> bool |
X.signalsBlocked() -> bool (shared captured text) |
size |
attribute | QSize |
(shared captured text) |
sizeAdjustPolicy |
attribute | Any |
(shared captured text) |
sizeHint |
attribute | QSize |
(shared captured text) |
sizeHintForColumn |
function | (self, column: int) -> int |
X.sizeHintForColumn(column) -> int (shared captured text) |
sizeHintForIndex |
function | (self, index: Any) -> Any |
X.sizeHintForIndex(index) -> PythonQt.QtCore.QSize (shared captured text) |
sizeHintForRow |
function | (self, row: Any) -> int |
X.sizeHintForRow(row) -> int (shared captured text) |
sizeIncrement |
attribute | QSize |
(shared captured text) |
sizePolicy |
attribute | QSizePolicy |
(shared captured text) |
sortByColumn |
function | (self, column: int, order: Any) -> None |
X.sortByColumn(column, order) (shared captured text) |
sortingEnabled |
attribute | Any |
This property holds whether sorting is enabled (shared captured text) |
stackUnder |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
startAutoScroll |
function | (self) -> Any |
(shared captured text) |
startDrag |
function | (self, supportedActions: Any) -> Any |
(shared captured text) |
startTimer |
function | (self, interval: Any, timerType: Any) -> int |
X.startTimer(interval, timerType) -> int (shared captured text) |
state |
function | (self) -> int |
X.state() -> int (shared captured text) |
statusTip |
attribute | Any |
(shared captured text) |
stopAutoScroll |
function | (self) -> Any |
(shared captured text) |
style |
function | (self) -> Any |
X.style() -> PythonQt.QtGui.QStyle (shared captured text) |
styleSheet |
attribute | Any |
(shared captured text) |
tabKeyNavigation |
attribute | Any |
(shared captured text) |
tabletEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
tabletTracking |
attribute | Any |
(shared captured text) |
testAttribute |
function | (self, arg__1: Any) -> bool |
X.testAttribute(arg__1) -> bool (shared captured text) |
textElideMode |
attribute | Any |
(shared captured text) |
thread |
function | (self) -> Any |
(shared captured text) |
timerEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractItemView::timerEvent](https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#timerEvent)(QTimerEvent *event). (shared captured text) |
toolTip |
attribute | Any |
(shared captured text) |
toolTipDuration |
attribute | Any |
(shared captured text) |
tr |
function | (self, text: Any, ambig: Any, n: Any) -> str |
X.tr(text, ambig, n) -> str (shared captured text) |
treePosition |
function | (self) -> int |
X.treePosition() -> int (shared captured text) |
underMouse |
function | (self) -> bool |
X.underMouse() -> bool (shared captured text) |
ungrabGesture |
function | (self, type: Any) -> Any |
(shared captured text) |
uniformRowHeights |
attribute | bool |
This property holds whether all items in the treeview have the same height (shared captured text) |
unsetCursor |
function | (self) -> Any |
(shared captured text) |
unsetLayoutDirection |
function | (self) -> Any |
(shared captured text) |
unsetLocale |
function | (self) -> Any |
(shared captured text) |
update |
function | (self, theWrappedObject: Any, x: Any, y: Any, w: Any, h: Any) -> Any |
X.update(theWrappedObject, x, y, w, h) (shared captured text) |
updateGeometry |
function | (self) -> Any |
(shared captured text) |
updatesEnabled |
attribute | Any |
(shared captured text) |
verticalOffset |
function | (self) -> int |
X.verticalOffset() -> int (shared captured text) |
verticalScrollBar |
function | (self) -> Any |
X.verticalScrollBar() -> PythonQt.QtGui.QScrollBar (shared captured text) |
verticalScrollBarPolicy |
attribute | Any |
(shared captured text) |
verticalScrollMode |
attribute | Any |
(shared captured text) |
viewOptions |
function | (self) -> Any |
X.viewOptions() -> PythonQt.QtGui.QStyleOptionViewItem (shared captured text) |
viewport |
function | (self) -> Any |
X.viewport() -> PythonQt.QtGui.QWidget (shared captured text) |
viewportEntered |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.viewportEntered; argument details are not documented. |
viewportEvent |
function | (self, event: Any) -> bool |
X.viewportEvent(event) -> bool (shared captured text) |
viewportMargins |
function | (self) -> Any |
X.viewportMargins() -> PythonQt.QtGui.QMargins (shared captured text) |
viewportSizeHint |
function | (self) -> Any |
X.viewportSizeHint() -> PythonQt.QtCore.QSize (shared captured text) |
visible |
attribute | Any |
(shared captured text) |
visibleRegion |
function | (self) -> Any |
X.visibleRegion() -> PythonQt.QtGui.QRegion (shared captured text) |
visualRect |
function | (self, index: Any) -> Any |
X.visualRect(index) -> PythonQt.QtCore.QRect (shared captured text) |
visualRegionForSelection |
function | (self, selection: Any) -> Any |
X.visualRegionForSelection(selection) -> PythonQt.QtGui.QRegion (shared captured text) |
whatsThis |
attribute | Any |
(shared captured text) |
wheelEvent |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
width |
attribute | Any |
(shared captured text) |
widthMM |
function | (self) -> int |
X.widthMM() -> int (shared captured text) |
winId |
function | (self) -> int |
X.winId() -> int (shared captured text) |
window |
function | (self) -> Any |
X.window() -> PythonQt.QtGui.QWidget (shared captured text) |
windowFilePath |
attribute | Any |
(shared captured text) |
windowFlags |
function | (self) -> Any |
(shared captured text) |
windowHandle |
function | (self) -> Any |
X.windowHandle() -> PythonQt.QtGui.QWindow (shared captured text) |
windowIcon |
attribute | QIcon |
(shared captured text) |
windowIconChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.windowIconChanged; argument details are not documented. |
windowIconText |
attribute | Any |
(shared captured text) |
windowIconTextChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.windowIconTextChanged; argument details are not documented. |
windowModality |
attribute | Any |
(shared captured text) |
windowModified |
attribute | Any |
(shared captured text) |
windowOpacity |
attribute | Any |
(shared captured text) |
windowRole |
function | (self) -> str |
X.windowRole() -> str (shared captured text) |
windowState |
function | (self) -> Any |
(shared captured text) |
windowTitle |
attribute | Any |
(shared captured text) |
windowTitleChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QTreeView.windowTitleChanged; argument details are not documented. |
windowType |
function | (self) -> Any |
(shared captured text) |
wordWrap |
attribute | bool |
This property holds the item text word-wrapping policy (shared captured text) |
x |
attribute | Any |
(shared captured text) |
y |
attribute | Any |
(shared captured text) |