KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QTreeView

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QTreeView

Class hierarchy: QTreeView » QAbstractItemView » QAbstractScrollArea » QFrame » QWidget » QObject

Public constructors

new QTreeViewnew(QWidget ptr parent = nullptr)Constructor QTreeView::QTreeView(QWidget *parent)

Public methods

[const]QTreeView ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidactivated(const QModelIndex index)Signal declaration for QTreeView::activated(const QModelIndex &index)
[const]boolallColumnsShowFocusMethod bool QTreeView::allColumnsShowFocus()
voidallColumnsShowFocus=(bool enable)Method void QTreeView::setAllColumnsShowFocus(bool enable)
[const]boolanimatedMethod bool QTreeView::isAnimated()
voidanimated=(bool enable)Method void QTreeView::setAnimated(bool enable)
[const]intautoExpandDelayMethod int QTreeView::autoExpandDelay()
voidautoExpandDelay=(int delay)Method void QTreeView::setAutoExpandDelay(int delay)
[signal]voidclicked(const QModelIndex index)Signal declaration for QTreeView::clicked(const QModelIndex &index)
voidcollapse(const QModelIndex index)Method void QTreeView::collapse(const QModelIndex &index)
voidcollapseAllMethod void QTreeView::collapseAll()
[signal]voidcollapsed(const QModelIndex index)Signal declaration for QTreeView::collapsed(const QModelIndex &index)
[const]intcolumnAt(int x)Method int QTreeView::columnAt(int x)
[const]intcolumnViewportPosition(int column)Method int QTreeView::columnViewportPosition(int column)
[const]intcolumnWidth(int column)Method int QTreeView::columnWidth(int column)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QTreeView::customContextMenuRequested(const QPoint &pos)
voiddataChanged(const QModelIndex topLeft,
const QModelIndex bottomRight,
int[] roles)
Virtual method void QTreeView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QTreeView::destroyed(QObject *)
voiddoItemsLayoutVirtual method void QTreeView::doItemsLayout()
[signal]voiddoubleClicked(const QModelIndex index)Signal declaration for QTreeView::doubleClicked(const QModelIndex &index)
voidemit_activated(const QModelIndex index)Emitter for signal void QTreeView::activated(const QModelIndex &index)
voidemit_clicked(const QModelIndex index)Emitter for signal void QTreeView::clicked(const QModelIndex &index)
voidemit_collapsed(const QModelIndex index)Emitter for signal void QTreeView::collapsed(const QModelIndex &index)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QTreeView::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QTreeView::destroyed(QObject *)
voidemit_doubleClicked(const QModelIndex index)Emitter for signal void QTreeView::doubleClicked(const QModelIndex &index)
voidemit_entered(const QModelIndex index)Emitter for signal void QTreeView::entered(const QModelIndex &index)
voidemit_expanded(const QModelIndex index)Emitter for signal void QTreeView::expanded(const QModelIndex &index)
voidemit_iconSizeChanged(const QSize size)Emitter for signal void QTreeView::iconSizeChanged(const QSize &size)
voidemit_objectNameChanged(string objectName)Emitter for signal void QTreeView::objectNameChanged(const QString &objectName)
voidemit_pressed(const QModelIndex index)Emitter for signal void QTreeView::pressed(const QModelIndex &index)
voidemit_viewportEnteredEmitter for signal void QTreeView::viewportEntered()
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QTreeView::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QTreeView::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QTreeView::windowTitleChanged(const QString &title)
[signal]voidentered(const QModelIndex index)Signal declaration for QTreeView::entered(const QModelIndex &index)
voidexpand(const QModelIndex index)Method void QTreeView::expand(const QModelIndex &index)
voidexpandAllMethod void QTreeView::expandAll()
voidexpandToDepth(int depth)Method void QTreeView::expandToDepth(int depth)
[signal]voidexpanded(const QModelIndex index)Signal declaration for QTreeView::expanded(const QModelIndex &index)
[const]boolexpandsOnDoubleClickMethod bool QTreeView::expandsOnDoubleClick()
voidexpandsOnDoubleClick=(bool enable)Method void QTreeView::setExpandsOnDoubleClick(bool enable)
[const]boolhasHeightForWidthVirtual method bool QTreeView::hasHeightForWidth()
[const]QHeaderView ptrheaderMethod QHeaderView *QTreeView::header()
voidheader=(QHeaderView ptr header)Method void QTreeView::setHeader(QHeaderView *header)
[const]boolheaderHiddenMethod bool QTreeView::isHeaderHidden()
voidheaderHidden=(bool hide)Method void QTreeView::setHeaderHidden(bool hide)
[const]intheightForWidth(int arg1)Virtual method int QTreeView::heightForWidth(int)
voidhideColumn(int column)Method void QTreeView::hideColumn(int column)
[signal]voidiconSizeChanged(const QSize size)Signal declaration for QTreeView::iconSizeChanged(const QSize &size)
[const]intindentationMethod int QTreeView::indentation()
voidindentation=(int i)Method void QTreeView::setIndentation(int i)
[const]QModelIndexindexAbove(const QModelIndex index)Method QModelIndex QTreeView::indexAbove(const QModelIndex &index)
[const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QTreeView::indexAt(const QPoint &p)
[const]QModelIndexindexBelow(const QModelIndex index)Method QModelIndex QTreeView::indexBelow(const QModelIndex &index)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QTreeView::inputMethodQuery(Qt::InputMethodQuery query)
[const]boolisAnimated?Method bool QTreeView::isAnimated()
[const]boolisColumnHidden?(int column)Method bool QTreeView::isColumnHidden(int column)
[const]boolisExpanded?(const QModelIndex index)Method bool QTreeView::isExpanded(const QModelIndex &index)
[const]boolisFirstColumnSpanned?(int row,
const QModelIndex parent)
Method bool QTreeView::isFirstColumnSpanned(int row, const QModelIndex &parent)
[const]boolisHeaderHidden?Method bool QTreeView::isHeaderHidden()
[const]boolisRowHidden?(int row,
const QModelIndex parent)
Method bool QTreeView::isRowHidden(int row, const QModelIndex &parent)
[const]boolisSortingEnabled?Method bool QTreeView::isSortingEnabled()
[const]boolitemsExpandableMethod bool QTreeView::itemsExpandable()
voiditemsExpandable=(bool enable)Method void QTreeView::setItemsExpandable(bool enable)
voidkeyboardSearch(string search)Virtual method void QTreeView::keyboardSearch(const QString &search)
[const]QSizeminimumSizeHintVirtual method QSize QTreeView::minimumSizeHint()
voidmodel=(QAbstractItemModel ptr model)Method void QTreeView::setModel(QAbstractItemModel *model)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QTreeView::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QTreeView::paintEngine()
[signal]voidpressed(const QModelIndex index)Signal declaration for QTreeView::pressed(const QModelIndex &index)
voidresetVirtual method void QTreeView::reset()
voidresetIndentationMethod void QTreeView::resetIndentation()
voidresizeColumnToContents(int column)Method void QTreeView::resizeColumnToContents(int column)
voidrootIndex=(const QModelIndex index)Method void QTreeView::setRootIndex(const QModelIndex &index)
[const]boolrootIsDecoratedMethod bool QTreeView::rootIsDecorated()
voidrootIsDecorated=(bool show)Method void QTreeView::setRootIsDecorated(bool show)
voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QTreeView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
voidselectAllVirtual method void QTreeView::selectAll()
voidselectionModel=(QItemSelectionModel ptr selectionModel)Method void QTreeView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetAllColumnsShowFocus(bool enable)Method void QTreeView::setAllColumnsShowFocus(bool enable)
voidsetAnimated(bool enable)Method void QTreeView::setAnimated(bool enable)
voidsetAutoExpandDelay(int delay)Method void QTreeView::setAutoExpandDelay(int delay)
voidsetColumnHidden(int column,
bool hide)
Method void QTreeView::setColumnHidden(int column, bool hide)
voidsetColumnWidth(int column,
int width)
Method void QTreeView::setColumnWidth(int column, int width)
voidsetExpanded(const QModelIndex index,
bool expand)
Method void QTreeView::setExpanded(const QModelIndex &index, bool expand)
voidsetExpandsOnDoubleClick(bool enable)Method void QTreeView::setExpandsOnDoubleClick(bool enable)
voidsetFirstColumnSpanned(int row,
const QModelIndex parent,
bool span)
Method void QTreeView::setFirstColumnSpanned(int row, const QModelIndex &parent, bool span)
voidsetHeader(QHeaderView ptr header)Method void QTreeView::setHeader(QHeaderView *header)
voidsetHeaderHidden(bool hide)Method void QTreeView::setHeaderHidden(bool hide)
voidsetIndentation(int i)Method void QTreeView::setIndentation(int i)
voidsetItemsExpandable(bool enable)Method void QTreeView::setItemsExpandable(bool enable)
voidsetModel(QAbstractItemModel ptr model)Virtual method void QTreeView::setModel(QAbstractItemModel *model)
voidsetRootIndex(const QModelIndex index)Virtual method void QTreeView::setRootIndex(const QModelIndex &index)
voidsetRootIsDecorated(bool show)Method void QTreeView::setRootIsDecorated(bool show)
voidsetRowHidden(int row,
const QModelIndex parent,
bool hide)
Method void QTreeView::setRowHidden(int row, const QModelIndex &parent, bool hide)
voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QTreeView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetSortingEnabled(bool enable)Method void QTreeView::setSortingEnabled(bool enable)
voidsetTreePosition(int logicalIndex)Method void QTreeView::setTreePosition(int logicalIndex)
voidsetUniformRowHeights(bool uniform)Method void QTreeView::setUniformRowHeights(bool uniform)
voidsetVisible(bool visible)Virtual method void QTreeView::setVisible(bool visible)
voidsetWordWrap(bool on)Method void QTreeView::setWordWrap(bool on)
voidsetupViewport(QWidget ptr viewport)Virtual method void QTreeView::setupViewport(QWidget *viewport)
voidshowColumn(int column)Method void QTreeView::showColumn(int column)
[const]QSizesizeHintVirtual method QSize QTreeView::sizeHint()
[const]intsizeHintForRow(int row)Virtual method int QTreeView::sizeHintForRow(int row)
voidsortByColumn(int column,
const Qt_SortOrder order)
Method void QTreeView::sortByColumn(int column, Qt::SortOrder order)
voidsortByColumn(int column)Method void QTreeView::sortByColumn(int column)
[const]boolsortingEnabledMethod bool QTreeView::isSortingEnabled()
voidsortingEnabled=(bool enable)Method void QTreeView::setSortingEnabled(bool enable)
[const]inttreePositionMethod int QTreeView::treePosition()
voidtreePosition=(int logicalIndex)Method void QTreeView::setTreePosition(int logicalIndex)
[const]booluniformRowHeightsMethod bool QTreeView::uniformRowHeights()
voiduniformRowHeights=(bool uniform)Method void QTreeView::setUniformRowHeights(bool uniform)
[signal]voidviewportEnteredSignal declaration for QTreeView::viewportEntered()
[const]QRectvisualRect(const QModelIndex index)Virtual method QRect QTreeView::visualRect(const QModelIndex &index)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QTreeView::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QTreeView::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QTreeView::windowTitleChanged(const QString &title)
[const]boolwordWrapMethod bool QTreeView::wordWrap()
voidwordWrap=(bool on)Method void QTreeView::setWordWrap(bool on)

Public static methods and constants

QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QTreeView::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QTreeView::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QTreeView::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr arg1)Virtual method void QTreeView::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr event)Virtual method void QTreeView::childEvent(QChildEvent *event)
voidcloseEditor(QWidget ptr editor,
const QAbstractItemDelegate_EndEditHint hint)
Virtual method void QTreeView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QTreeView::closeEvent(QCloseEvent *event)
voidcolumnCountChanged(int oldCount,
int newCount)
Method void QTreeView::columnCountChanged(int oldCount, int newCount)
voidcolumnMovedMethod void QTreeView::columnMoved()
voidcolumnResized(int column,
int oldSize,
int newSize)
Method void QTreeView::columnResized(int column, int oldSize, int newSize)
voidcommitData(QWidget ptr editor)Virtual method void QTreeView::commitData(QWidget *editor)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QTreeView::contextMenuEvent(QContextMenuEvent *)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTreeView::create(WId, bool initializeWindow, bool destroyOldWindow)
voidcurrentChanged(const QModelIndex current,
const QModelIndex previous)
Virtual method void QTreeView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
voidcustomEvent(QEvent ptr event)Virtual method void QTreeView::customEvent(QEvent *event)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTreeView::destroy(bool destroyWindow, bool destroySubWindows)
[const]QPointdirtyRegionOffsetMethod QPoint QTreeView::dirtyRegionOffset()
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QTreeView::disconnectNotify(const QMetaMethod &signal)
voiddoAutoScrollMethod void QTreeView::doAutoScroll()
voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QTreeView::dragEnterEvent(QDragEnterEvent *event)
voiddragLeaveEvent(QDragLeaveEvent ptr event)Virtual method void QTreeView::dragLeaveEvent(QDragLeaveEvent *event)
voiddragMoveEvent(QDragMoveEvent ptr event)Virtual method void QTreeView::dragMoveEvent(QDragMoveEvent *event)
[const]voiddrawBranches(QPainter ptr painter,
const QRect rect,
const QModelIndex index)
Virtual method void QTreeView::drawBranches(QPainter *painter, const QRect &rect, const QModelIndex &index)
voiddrawFrame(QPainter ptr arg1)Method void QTreeView::drawFrame(QPainter *)
[const]voiddrawRow(QPainter ptr painter,
const QStyleOptionViewItem options,
const QModelIndex index)
Virtual method void QTreeView::drawRow(QPainter *painter, const QStyleOptionViewItem &options, const QModelIndex &index)
[const]voiddrawTree(QPainter ptr painter,
const QRegion region)
Method void QTreeView::drawTree(QPainter *painter, const QRegion &region)
voiddropEvent(QDropEvent ptr event)Virtual method void QTreeView::dropEvent(QDropEvent *event)
[const]unsigned intdropIndicatorPositionMethod QAbstractItemView::DropIndicatorPosition QTreeView::dropIndicatorPosition()
booledit(const QModelIndex index,
const QAbstractItemView_EditTrigger trigger,
QEvent ptr event)
Virtual method bool QTreeView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)
voideditorDestroyed(QObject ptr editor)Virtual method void QTreeView::editorDestroyed(QObject *editor)
voidenterEvent(QEvent ptr event)Virtual method void QTreeView::enterEvent(QEvent *event)
boolevent(QEvent ptr event)Virtual method bool QTreeView::event(QEvent *event)
booleventFilter(QObject ptr object,
QEvent ptr event)
Virtual method bool QTreeView::eventFilter(QObject *object, QEvent *event)
voidexecuteDelayedItemsLayoutMethod void QTreeView::executeDelayedItemsLayout()
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QTreeView::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QTreeView::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QTreeView::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QTreeView::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QTreeView::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QTreeView::hideEvent(QHideEvent *event)
[const]inthorizontalOffsetVirtual method int QTreeView::horizontalOffset()
voidhorizontalScrollbarAction(int action)Virtual method void QTreeView::horizontalScrollbarAction(int action)
voidhorizontalScrollbarValueChanged(int value)Virtual method void QTreeView::horizontalScrollbarValueChanged(int value)
[const]inthorizontalStepsPerItemMethod int QTreeView::horizontalStepsPerItem()
[const]intindexRowSizeHint(const QModelIndex index)Method int QTreeView::indexRowSizeHint(const QModelIndex &index)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QTreeView::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionFrame ptr option)Method void QTreeView::initStyleOption(QStyleOptionFrame *option)
voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QTreeView::inputMethodEvent(QInputMethodEvent *event)
[const]boolisIndexHidden(const QModelIndex index)Virtual method bool QTreeView::isIndexHidden(const QModelIndex &index)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QTreeView::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QTreeView::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QTreeView::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr event)Virtual method void QTreeView::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QTreeView::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr event)Virtual method void QTreeView::mouseDoubleClickEvent(QMouseEvent *event)
voidmouseMoveEvent(QMouseEvent ptr event)Virtual method void QTreeView::mouseMoveEvent(QMouseEvent *event)
voidmousePressEvent(QMouseEvent ptr event)Virtual method void QTreeView::mousePressEvent(QMouseEvent *event)
voidmouseReleaseEvent(QMouseEvent ptr event)Virtual method void QTreeView::mouseReleaseEvent(QMouseEvent *event)
QModelIndexmoveCursor(unsigned int cursorAction,
Qt_QFlags_KeyboardModifier modifiers)
Virtual method QModelIndex QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QTreeView::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QTreeView::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr event)Virtual method void QTreeView::paintEvent(QPaintEvent *event)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTreeView::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTreeView::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QTreeView::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QTreeView::redirected(QPoint *offset)
voidreexpandMethod void QTreeView::reexpand()
voidresizeEvent(QResizeEvent ptr event)Virtual method void QTreeView::resizeEvent(QResizeEvent *event)
[const]introwHeight(const QModelIndex index)Method int QTreeView::rowHeight(const QModelIndex &index)
voidrowsAboutToBeRemoved(const QModelIndex parent,
int start,
int end)
Virtual method void QTreeView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
voidrowsInserted(const QModelIndex parent,
int start,
int end)
Virtual method void QTreeView::rowsInserted(const QModelIndex &parent, int start, int end)
voidrowsRemoved(const QModelIndex parent,
int first,
int last)
Method void QTreeView::rowsRemoved(const QModelIndex &parent, int first, int last)
voidscheduleDelayedItemsLayoutMethod void QTreeView::scheduleDelayedItemsLayout()
voidscrollContentsBy(int dx,
int dy)
Virtual method void QTreeView::scrollContentsBy(int dx, int dy)
voidscrollDirtyRegion(int dx,
int dy)
Method void QTreeView::scrollDirtyRegion(int dx, int dy)
[const]QModelIndex[]selectedIndexesVirtual method QList<QModelIndex> QTreeView::selectedIndexes()
voidselectionChanged(const QItemSelection selected,
const QItemSelection deselected)
Virtual method void QTreeView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
[const]QItemSelectionModel_QFlags_SelectionFlagselectionCommand(const QModelIndex index,
const QEvent ptr event)
Virtual method QFlags<QItemSelectionModel::SelectionFlag> QTreeView::selectionCommand(const QModelIndex &index, const QEvent *event)
[const]QObject ptrsenderMethod QObject *QTreeView::sender()
[const]intsenderSignalIndexMethod int QTreeView::senderSignalIndex()
voidsetDirtyRegion(const QRegion region)Method void QTreeView::setDirtyRegion(const QRegion &region)
voidsetHorizontalStepsPerItem(int steps)Method void QTreeView::setHorizontalStepsPerItem(int steps)
voidsetSelection(const QRect rect,
QItemSelectionModel_QFlags_SelectionFlag command)
Virtual method void QTreeView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> command)
voidsetState(unsigned int state)Method void QTreeView::setState(QAbstractItemView::State state)
voidsetVerticalStepsPerItem(int steps)Method void QTreeView::setVerticalStepsPerItem(int steps)
voidsetViewportMargins(int left,
int top,
int right,
int bottom)
Method void QTreeView::setViewportMargins(int left, int top, int right, int bottom)
voidsetViewportMargins(const QMargins margins)Method void QTreeView::setViewportMargins(const QMargins &margins)
[const]QPainter ptrsharedPainterVirtual method QPainter *QTreeView::sharedPainter()
voidshowEvent(QShowEvent ptr event)Virtual method void QTreeView::showEvent(QShowEvent *event)
[const]intsizeHintForColumn(int column)Virtual method int QTreeView::sizeHintForColumn(int column)
voidstartAutoScrollMethod void QTreeView::startAutoScroll()
voidstartDrag(Qt_QFlags_DropAction supportedActions)Virtual method void QTreeView::startDrag(QFlags<Qt::DropAction> supportedActions)
[const]unsigned intstateMethod QAbstractItemView::State QTreeView::state()
voidstopAutoScrollMethod void QTreeView::stopAutoScroll()
voidtabletEvent(QTabletEvent ptr event)Virtual method void QTreeView::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QTreeView::timerEvent(QTimerEvent *event)
voidupdateEditorDataVirtual method void QTreeView::updateEditorData()
voidupdateEditorGeometriesVirtual method void QTreeView::updateEditorGeometries()
voidupdateGeometriesVirtual method void QTreeView::updateGeometries()
voidupdateMicroFocusMethod void QTreeView::updateMicroFocus()
[const]intverticalOffsetVirtual method int QTreeView::verticalOffset()
voidverticalScrollbarAction(int action)Virtual method void QTreeView::verticalScrollbarAction(int action)
voidverticalScrollbarValueChanged(int value)Virtual method void QTreeView::verticalScrollbarValueChanged(int value)
[const]intverticalStepsPerItemMethod int QTreeView::verticalStepsPerItem()
[const]QStyleOptionViewItemviewOptionsVirtual method QStyleOptionViewItem QTreeView::viewOptions()
boolviewportEvent(QEvent ptr event)Virtual method bool QTreeView::viewportEvent(QEvent *event)
[const]QMarginsviewportMarginsMethod QMargins QTreeView::viewportMargins()
[const]QSizeviewportSizeHintVirtual method QSize QTreeView::viewportSizeHint()
[const]QRegionvisualRegionForSelection(const QItemSelection selection)Virtual method QRegion QTreeView::visualRegionForSelection(const QItemSelection &selection)
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QTreeView::wheelEvent(QWheelEvent *)

Detailed description

_const_cast

Signature: [const] QTreeView ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QTreeView::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

activated

Signature: [signal] void activated (const QModelIndex index)

Description: Signal declaration for QTreeView::activated(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'activated'. This is the getter.
The object exposes a writable attribute 'activated'. This is the setter.

allColumnsShowFocus

Signature: [const] bool allColumnsShowFocus

Description: Method bool QTreeView::allColumnsShowFocus()

Python specific notes:
The object exposes a readable attribute 'allColumnsShowFocus'. This is the getter.

allColumnsShowFocus=

Signature: void allColumnsShowFocus= (bool enable)

Description: Method void QTreeView::setAllColumnsShowFocus(bool enable)

Python specific notes:
The object exposes a writable attribute 'allColumnsShowFocus'. This is the setter.

animated

Signature: [const] bool animated

Description: Method bool QTreeView::isAnimated()

Python specific notes:
The object exposes a readable attribute 'animated'. This is the getter.

animated=

Signature: void animated= (bool enable)

Description: Method void QTreeView::setAnimated(bool enable)

Python specific notes:
The object exposes a writable attribute 'animated'. This is the setter.

autoExpandDelay

Signature: [const] int autoExpandDelay

Description: Method int QTreeView::autoExpandDelay()

Python specific notes:
The object exposes a readable attribute 'autoExpandDelay'. This is the getter.

autoExpandDelay=

Signature: void autoExpandDelay= (int delay)

Description: Method void QTreeView::setAutoExpandDelay(int delay)

Python specific notes:
The object exposes a writable attribute 'autoExpandDelay'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QTreeView::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QTreeView::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clicked

Signature: [signal] void clicked (const QModelIndex index)

Description: Signal declaration for QTreeView::clicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'clicked'. This is the getter.
The object exposes a writable attribute 'clicked'. This is the setter.

closeEditor

Signature: void closeEditor (QWidget ptr editor, const QAbstractItemDelegate_EndEditHint hint)

Description: Virtual method void QTreeView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QTreeView::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

collapse

Signature: void collapse (const QModelIndex index)

Description: Method void QTreeView::collapse(const QModelIndex &index)

collapseAll

Signature: void collapseAll

Description: Method void QTreeView::collapseAll()

collapsed

Signature: [signal] void collapsed (const QModelIndex index)

Description: Signal declaration for QTreeView::collapsed(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'collapsed'. This is the getter.
The object exposes a writable attribute 'collapsed'. This is the setter.

columnAt

Signature: [const] int columnAt (int x)

Description: Method int QTreeView::columnAt(int x)

columnCountChanged

Signature: void columnCountChanged (int oldCount, int newCount)

Description: Method void QTreeView::columnCountChanged(int oldCount, int newCount)

This method is protected and can only be called from inside a derived class.

columnMoved

Signature: void columnMoved

Description: Method void QTreeView::columnMoved()

This method is protected and can only be called from inside a derived class.

columnResized

Signature: void columnResized (int column, int oldSize, int newSize)

Description: Method void QTreeView::columnResized(int column, int oldSize, int newSize)

This method is protected and can only be called from inside a derived class.

columnViewportPosition

Signature: [const] int columnViewportPosition (int column)

Description: Method int QTreeView::columnViewportPosition(int column)

columnWidth

Signature: [const] int columnWidth (int column)

Description: Method int QTreeView::columnWidth(int column)

commitData

Signature: void commitData (QWidget ptr editor)

Description: Virtual method void QTreeView::commitData(QWidget *editor)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QTreeView::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTreeView::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

currentChanged

Signature: void currentChanged (const QModelIndex current, const QModelIndex previous)

Description: Virtual method void QTreeView::currentChanged(const QModelIndex &current, const QModelIndex &previous)

This method can be reimplemented in a derived class.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QTreeView::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QTreeView::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

dataChanged

Signature: void dataChanged (const QModelIndex topLeft, const QModelIndex bottomRight, int[] roles)

Description: Virtual method void QTreeView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTreeView::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QTreeView::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

dirtyRegionOffset

Signature: [const] QPoint dirtyRegionOffset

Description: Method QPoint QTreeView::dirtyRegionOffset()

This method is protected and can only be called from inside a derived class.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QTreeView::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doAutoScroll

Signature: void doAutoScroll

Description: Method void QTreeView::doAutoScroll()

This method is protected and can only be called from inside a derived class.

doItemsLayout

Signature: void doItemsLayout

Description: Virtual method void QTreeView::doItemsLayout()

This method can be reimplemented in a derived class.

doubleClicked

Signature: [signal] void doubleClicked (const QModelIndex index)

Description: Signal declaration for QTreeView::doubleClicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'doubleClicked'. This is the getter.
The object exposes a writable attribute 'doubleClicked'. This is the setter.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr event)

Description: Virtual method void QTreeView::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr event)

Description: Virtual method void QTreeView::dragLeaveEvent(QDragLeaveEvent *event)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr event)

Description: Virtual method void QTreeView::dragMoveEvent(QDragMoveEvent *event)

This method can be reimplemented in a derived class.

drawBranches

Signature: [const] void drawBranches (QPainter ptr painter, const QRect rect, const QModelIndex index)

Description: Virtual method void QTreeView::drawBranches(QPainter *painter, const QRect &rect, const QModelIndex &index)

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

Description: Method void QTreeView::drawFrame(QPainter *)

This method is protected and can only be called from inside a derived class.

drawRow

Signature: [const] void drawRow (QPainter ptr painter, const QStyleOptionViewItem options, const QModelIndex index)

Description: Virtual method void QTreeView::drawRow(QPainter *painter, const QStyleOptionViewItem &options, const QModelIndex &index)

This method can be reimplemented in a derived class.

drawTree

Signature: [const] void drawTree (QPainter ptr painter, const QRegion region)

Description: Method void QTreeView::drawTree(QPainter *painter, const QRegion &region)

This method is protected and can only be called from inside a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr event)

Description: Virtual method void QTreeView::dropEvent(QDropEvent *event)

This method can be reimplemented in a derived class.

dropIndicatorPosition

Signature: [const] unsigned int dropIndicatorPosition

Description: Method QAbstractItemView::DropIndicatorPosition QTreeView::dropIndicatorPosition()

This method is protected and can only be called from inside a derived class.

edit

Signature: bool edit (const QModelIndex index, const QAbstractItemView_EditTrigger trigger, QEvent ptr event)

Description: Virtual method bool QTreeView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)

This method can be reimplemented in a derived class.

editorDestroyed

Signature: void editorDestroyed (QObject ptr editor)

Description: Virtual method void QTreeView::editorDestroyed(QObject *editor)

This method can be reimplemented in a derived class.

emit_activated

Signature: void emit_activated (const QModelIndex index)

Description: Emitter for signal void QTreeView::activated(const QModelIndex &index)

Call this method to emit this signal.

emit_clicked

Signature: void emit_clicked (const QModelIndex index)

Description: Emitter for signal void QTreeView::clicked(const QModelIndex &index)

Call this method to emit this signal.

emit_collapsed

Signature: void emit_collapsed (const QModelIndex index)

Description: Emitter for signal void QTreeView::collapsed(const QModelIndex &index)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QTreeView::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QTreeView::destroyed(QObject *)

Call this method to emit this signal.

emit_doubleClicked

Signature: void emit_doubleClicked (const QModelIndex index)

Description: Emitter for signal void QTreeView::doubleClicked(const QModelIndex &index)

Call this method to emit this signal.

emit_entered

Signature: void emit_entered (const QModelIndex index)

Description: Emitter for signal void QTreeView::entered(const QModelIndex &index)

Call this method to emit this signal.

emit_expanded

Signature: void emit_expanded (const QModelIndex index)

Description: Emitter for signal void QTreeView::expanded(const QModelIndex &index)

Call this method to emit this signal.

emit_iconSizeChanged

Signature: void emit_iconSizeChanged (const QSize size)

Description: Emitter for signal void QTreeView::iconSizeChanged(const QSize &size)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QTreeView::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_pressed

Signature: void emit_pressed (const QModelIndex index)

Description: Emitter for signal void QTreeView::pressed(const QModelIndex &index)

Call this method to emit this signal.

emit_viewportEntered

Signature: void emit_viewportEntered

Description: Emitter for signal void QTreeView::viewportEntered()

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QTreeView::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QTreeView::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QTreeView::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QTreeView::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

entered

Signature: [signal] void entered (const QModelIndex index)

Description: Signal declaration for QTreeView::entered(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'entered'. This is the getter.
The object exposes a writable attribute 'entered'. This is the setter.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QTreeView::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr object, QEvent ptr event)

Description: Virtual method bool QTreeView::eventFilter(QObject *object, QEvent *event)

This method can be reimplemented in a derived class.

executeDelayedItemsLayout

Signature: void executeDelayedItemsLayout

Description: Method void QTreeView::executeDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

expand

Signature: void expand (const QModelIndex index)

Description: Method void QTreeView::expand(const QModelIndex &index)

expandAll

Signature: void expandAll

Description: Method void QTreeView::expandAll()

expandToDepth

Signature: void expandToDepth (int depth)

Description: Method void QTreeView::expandToDepth(int depth)

expanded

Signature: [signal] void expanded (const QModelIndex index)

Description: Signal declaration for QTreeView::expanded(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'expanded'. This is the getter.
The object exposes a writable attribute 'expanded'. This is the setter.

expandsOnDoubleClick

Signature: [const] bool expandsOnDoubleClick

Description: Method bool QTreeView::expandsOnDoubleClick()

Python specific notes:
The object exposes a readable attribute 'expandsOnDoubleClick'. This is the getter.

expandsOnDoubleClick=

Signature: void expandsOnDoubleClick= (bool enable)

Description: Method void QTreeView::setExpandsOnDoubleClick(bool enable)

Python specific notes:
The object exposes a writable attribute 'expandsOnDoubleClick'. This is the setter.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QTreeView::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QTreeView::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QTreeView::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QTreeView::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QTreeView::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QTreeView::hasHeightForWidth()

This method can be reimplemented in a derived class.

header

Signature: [const] QHeaderView ptr header

Description: Method QHeaderView *QTreeView::header()

Python specific notes:
The object exposes a readable attribute 'header'. This is the getter.

header=

Signature: void header= (QHeaderView ptr header)

Description: Method void QTreeView::setHeader(QHeaderView *header)

Python specific notes:
The object exposes a writable attribute 'header'. This is the setter.

headerHidden

Signature: [const] bool headerHidden

Description: Method bool QTreeView::isHeaderHidden()

Python specific notes:
The object exposes a readable attribute 'headerHidden'. This is the getter.

headerHidden=

Signature: void headerHidden= (bool hide)

Description: Method void QTreeView::setHeaderHidden(bool hide)

Python specific notes:
The object exposes a writable attribute 'headerHidden'. This is the setter.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QTreeView::heightForWidth(int)

This method can be reimplemented in a derived class.

hideColumn

Signature: void hideColumn (int column)

Description: Method void QTreeView::hideColumn(int column)

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QTreeView::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

horizontalOffset

Signature: [const] int horizontalOffset

Description: Virtual method int QTreeView::horizontalOffset()

This method can be reimplemented in a derived class.

horizontalScrollbarAction

Signature: void horizontalScrollbarAction (int action)

Description: Virtual method void QTreeView::horizontalScrollbarAction(int action)

This method can be reimplemented in a derived class.

horizontalScrollbarValueChanged

Signature: void horizontalScrollbarValueChanged (int value)

Description: Virtual method void QTreeView::horizontalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

horizontalStepsPerItem

Signature: [const] int horizontalStepsPerItem

Description: Method int QTreeView::horizontalStepsPerItem()

This method is protected and can only be called from inside a derived class.

iconSizeChanged

Signature: [signal] void iconSizeChanged (const QSize size)

Description: Signal declaration for QTreeView::iconSizeChanged(const QSize &size)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'iconSizeChanged'. This is the getter.
The object exposes a writable attribute 'iconSizeChanged'. This is the setter.

indentation

Signature: [const] int indentation

Description: Method int QTreeView::indentation()

Python specific notes:
The object exposes a readable attribute 'indentation'. This is the getter.

indentation=

Signature: void indentation= (int i)

Description: Method void QTreeView::setIndentation(int i)

Python specific notes:
The object exposes a writable attribute 'indentation'. This is the setter.

indexAbove

Signature: [const] QModelIndex indexAbove (const QModelIndex index)

Description: Method QModelIndex QTreeView::indexAbove(const QModelIndex &index)

indexAt

Signature: [const] QModelIndex indexAt (const QPoint p)

Description: Virtual method QModelIndex QTreeView::indexAt(const QPoint &p)

This method can be reimplemented in a derived class.

indexBelow

Signature: [const] QModelIndex indexBelow (const QModelIndex index)

Description: Method QModelIndex QTreeView::indexBelow(const QModelIndex &index)

indexRowSizeHint

Signature: [const] int indexRowSizeHint (const QModelIndex index)

Description: Method int QTreeView::indexRowSizeHint(const QModelIndex &index)

This method is protected and can only be called from inside a derived class.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QTreeView::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionFrame ptr option)

Description: Method void QTreeView::initStyleOption(QStyleOptionFrame *option)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QTreeView::inputMethodEvent(QInputMethodEvent *event)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery query)

Description: Virtual method QVariant QTreeView::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

isAnimated?

Signature: [const] bool isAnimated?

Description: Method bool QTreeView::isAnimated()

Python specific notes:
The object exposes a readable attribute 'animated'. This is the getter.

isColumnHidden?

Signature: [const] bool isColumnHidden? (int column)

Description: Method bool QTreeView::isColumnHidden(int column)

isExpanded?

Signature: [const] bool isExpanded? (const QModelIndex index)

Description: Method bool QTreeView::isExpanded(const QModelIndex &index)

isFirstColumnSpanned?

Signature: [const] bool isFirstColumnSpanned? (int row, const QModelIndex parent)

Description: Method bool QTreeView::isFirstColumnSpanned(int row, const QModelIndex &parent)

isHeaderHidden?

Signature: [const] bool isHeaderHidden?

Description: Method bool QTreeView::isHeaderHidden()

Python specific notes:
The object exposes a readable attribute 'headerHidden'. This is the getter.

isIndexHidden

Signature: [const] bool isIndexHidden (const QModelIndex index)

Description: Virtual method bool QTreeView::isIndexHidden(const QModelIndex &index)

This method can be reimplemented in a derived class.

isRowHidden?

Signature: [const] bool isRowHidden? (int row, const QModelIndex parent)

Description: Method bool QTreeView::isRowHidden(int row, const QModelIndex &parent)

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QTreeView::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

isSortingEnabled?

Signature: [const] bool isSortingEnabled?

Description: Method bool QTreeView::isSortingEnabled()

Python specific notes:
The object exposes a readable attribute 'sortingEnabled'. This is the getter.

itemsExpandable

Signature: [const] bool itemsExpandable

Description: Method bool QTreeView::itemsExpandable()

Python specific notes:
The object exposes a readable attribute 'itemsExpandable'. This is the getter.

itemsExpandable=

Signature: void itemsExpandable= (bool enable)

Description: Method void QTreeView::setItemsExpandable(bool enable)

Python specific notes:
The object exposes a writable attribute 'itemsExpandable'. This is the setter.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

Description: Virtual method void QTreeView::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QTreeView::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyboardSearch

Signature: void keyboardSearch (string search)

Description: Virtual method void QTreeView::keyboardSearch(const QString &search)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QTreeView::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QTreeView::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QTreeView::minimumSizeHint()

This method can be reimplemented in a derived class.

model=

Signature: void model= (QAbstractItemModel ptr model)

Description: Method void QTreeView::setModel(QAbstractItemModel *model)

This is a reimplementation of QAbstractItemView::setModel

Python specific notes:
The object exposes a writable attribute 'model'. This is the setter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

Description: Virtual method void QTreeView::mouseDoubleClickEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr event)

Description: Virtual method void QTreeView::mouseMoveEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

Description: Virtual method void QTreeView::mousePressEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr event)

Description: Virtual method void QTreeView::mouseReleaseEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

moveCursor

Signature: QModelIndex moveCursor (unsigned int cursorAction, Qt_QFlags_KeyboardModifier modifiers)

Description: Virtual method QModelIndex QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QTreeView::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QTreeView::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QTreeView new (QWidget ptr parent = nullptr)

Description: Constructor QTreeView::QTreeView(QWidget *parent)

This method creates an object of class QTreeView.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QTreeView::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QTreeView::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr event)

Description: Virtual method void QTreeView::paintEvent(QPaintEvent *event)

This method can be reimplemented in a derived class.

pressed

Signature: [signal] void pressed (const QModelIndex index)

Description: Signal declaration for QTreeView::pressed(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'pressed'. This is the getter.
The object exposes a writable attribute 'pressed'. This is the setter.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTreeView::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTreeView::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QTreeView::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QTreeView::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

reexpand

Signature: void reexpand

Description: Method void QTreeView::reexpand()

This method is protected and can only be called from inside a derived class.

reset

Signature: void reset

Description: Virtual method void QTreeView::reset()

This method can be reimplemented in a derived class.

resetIndentation

Signature: void resetIndentation

Description: Method void QTreeView::resetIndentation()

resizeColumnToContents

Signature: void resizeColumnToContents (int column)

Description: Method void QTreeView::resizeColumnToContents(int column)

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr event)

Description: Virtual method void QTreeView::resizeEvent(QResizeEvent *event)

This method can be reimplemented in a derived class.

rootIndex=

Signature: void rootIndex= (const QModelIndex index)

Description: Method void QTreeView::setRootIndex(const QModelIndex &index)

This is a reimplementation of QAbstractItemView::setRootIndex

Python specific notes:
The object exposes a writable attribute 'rootIndex'. This is the setter.

rootIsDecorated

Signature: [const] bool rootIsDecorated

Description: Method bool QTreeView::rootIsDecorated()

Python specific notes:
The object exposes a readable attribute 'rootIsDecorated'. This is the getter.

rootIsDecorated=

Signature: void rootIsDecorated= (bool show)

Description: Method void QTreeView::setRootIsDecorated(bool show)

Python specific notes:
The object exposes a writable attribute 'rootIsDecorated'. This is the setter.

rowHeight

Signature: [const] int rowHeight (const QModelIndex index)

Description: Method int QTreeView::rowHeight(const QModelIndex &index)

This method is protected and can only be called from inside a derived class.

rowsAboutToBeRemoved

Signature: void rowsAboutToBeRemoved (const QModelIndex parent, int start, int end)

Description: Virtual method void QTreeView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

rowsInserted

Signature: void rowsInserted (const QModelIndex parent, int start, int end)

Description: Virtual method void QTreeView::rowsInserted(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

rowsRemoved

Signature: void rowsRemoved (const QModelIndex parent, int first, int last)

Description: Method void QTreeView::rowsRemoved(const QModelIndex &parent, int first, int last)

This method is protected and can only be called from inside a derived class.

scheduleDelayedItemsLayout

Signature: void scheduleDelayedItemsLayout

Description: Method void QTreeView::scheduleDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

Description: Virtual method void QTreeView::scrollContentsBy(int dx, int dy)

This method can be reimplemented in a derived class.

scrollDirtyRegion

Signature: void scrollDirtyRegion (int dx, int dy)

Description: Method void QTreeView::scrollDirtyRegion(int dx, int dy)

This method is protected and can only be called from inside a derived class.

scrollTo

Signature: void scrollTo (const QModelIndex index, const QAbstractItemView_ScrollHint hint)

Description: Virtual method void QTreeView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)

This method can be reimplemented in a derived class.

selectAll

Signature: void selectAll

Description: Virtual method void QTreeView::selectAll()

This method can be reimplemented in a derived class.

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

Description: Virtual method QList<QModelIndex> QTreeView::selectedIndexes()

This method can be reimplemented in a derived class.

selectionChanged

Signature: void selectionChanged (const QItemSelection selected, const QItemSelection deselected)

Description: Virtual method void QTreeView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)

This method can be reimplemented in a derived class.

selectionCommand

Signature: [const] QItemSelectionModel_QFlags_SelectionFlag selectionCommand (const QModelIndex index, const QEvent ptr event)

Description: Virtual method QFlags<QItemSelectionModel::SelectionFlag> QTreeView::selectionCommand(const QModelIndex &index, const QEvent *event)

This method can be reimplemented in a derived class.

selectionModel=

Signature: void selectionModel= (QItemSelectionModel ptr selectionModel)

Description: Method void QTreeView::setSelectionModel(QItemSelectionModel *selectionModel)

This is a reimplementation of QAbstractItemView::setSelectionModel

Python specific notes:
The object exposes a writable attribute 'selectionModel'. This is the setter.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QTreeView::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QTreeView::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setAllColumnsShowFocus

Signature: void setAllColumnsShowFocus (bool enable)

Description: Method void QTreeView::setAllColumnsShowFocus(bool enable)

Python specific notes:
The object exposes a writable attribute 'allColumnsShowFocus'. This is the setter.

setAnimated

Signature: void setAnimated (bool enable)

Description: Method void QTreeView::setAnimated(bool enable)

Python specific notes:
The object exposes a writable attribute 'animated'. This is the setter.

setAutoExpandDelay

Signature: void setAutoExpandDelay (int delay)

Description: Method void QTreeView::setAutoExpandDelay(int delay)

Python specific notes:
The object exposes a writable attribute 'autoExpandDelay'. This is the setter.

setColumnHidden

Signature: void setColumnHidden (int column, bool hide)

Description: Method void QTreeView::setColumnHidden(int column, bool hide)

setColumnWidth

Signature: void setColumnWidth (int column, int width)

Description: Method void QTreeView::setColumnWidth(int column, int width)

setDirtyRegion

Signature: void setDirtyRegion (const QRegion region)

Description: Method void QTreeView::setDirtyRegion(const QRegion &region)

This method is protected and can only be called from inside a derived class.

setExpanded

Signature: void setExpanded (const QModelIndex index, bool expand)

Description: Method void QTreeView::setExpanded(const QModelIndex &index, bool expand)

setExpandsOnDoubleClick

Signature: void setExpandsOnDoubleClick (bool enable)

Description: Method void QTreeView::setExpandsOnDoubleClick(bool enable)

Python specific notes:
The object exposes a writable attribute 'expandsOnDoubleClick'. This is the setter.

setFirstColumnSpanned

Signature: void setFirstColumnSpanned (int row, const QModelIndex parent, bool span)

Description: Method void QTreeView::setFirstColumnSpanned(int row, const QModelIndex &parent, bool span)

setHeader

Signature: void setHeader (QHeaderView ptr header)

Description: Method void QTreeView::setHeader(QHeaderView *header)

Python specific notes:
The object exposes a writable attribute 'header'. This is the setter.

setHeaderHidden

Signature: void setHeaderHidden (bool hide)

Description: Method void QTreeView::setHeaderHidden(bool hide)

Python specific notes:
The object exposes a writable attribute 'headerHidden'. This is the setter.

setHorizontalStepsPerItem

Signature: void setHorizontalStepsPerItem (int steps)

Description: Method void QTreeView::setHorizontalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setIndentation

Signature: void setIndentation (int i)

Description: Method void QTreeView::setIndentation(int i)

Python specific notes:
The object exposes a writable attribute 'indentation'. This is the setter.

setItemsExpandable

Signature: void setItemsExpandable (bool enable)

Description: Method void QTreeView::setItemsExpandable(bool enable)

Python specific notes:
The object exposes a writable attribute 'itemsExpandable'. This is the setter.

setModel

Signature: void setModel (QAbstractItemModel ptr model)

Description: Virtual method void QTreeView::setModel(QAbstractItemModel *model)

This method can be reimplemented in a derived class.

setRootIndex

Signature: void setRootIndex (const QModelIndex index)

Description: Virtual method void QTreeView::setRootIndex(const QModelIndex &index)

This method can be reimplemented in a derived class.

setRootIsDecorated

Signature: void setRootIsDecorated (bool show)

Description: Method void QTreeView::setRootIsDecorated(bool show)

Python specific notes:
The object exposes a writable attribute 'rootIsDecorated'. This is the setter.

setRowHidden

Signature: void setRowHidden (int row, const QModelIndex parent, bool hide)

Description: Method void QTreeView::setRowHidden(int row, const QModelIndex &parent, bool hide)

setSelection

Signature: void setSelection (const QRect rect, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Virtual method void QTreeView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> command)

This method can be reimplemented in a derived class.

setSelectionModel

Signature: void setSelectionModel (QItemSelectionModel ptr selectionModel)

Description: Virtual method void QTreeView::setSelectionModel(QItemSelectionModel *selectionModel)

This method can be reimplemented in a derived class.

setSortingEnabled

Signature: void setSortingEnabled (bool enable)

Description: Method void QTreeView::setSortingEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'sortingEnabled'. This is the setter.

setState

Signature: void setState (unsigned int state)

Description: Method void QTreeView::setState(QAbstractItemView::State state)

This method is protected and can only be called from inside a derived class.

setTreePosition

Signature: void setTreePosition (int logicalIndex)

Description: Method void QTreeView::setTreePosition(int logicalIndex)

Python specific notes:
The object exposes a writable attribute 'treePosition'. This is the setter.

setUniformRowHeights

Signature: void setUniformRowHeights (bool uniform)

Description: Method void QTreeView::setUniformRowHeights(bool uniform)

Python specific notes:
The object exposes a writable attribute 'uniformRowHeights'. This is the setter.

setVerticalStepsPerItem

Signature: void setVerticalStepsPerItem (int steps)

Description: Method void QTreeView::setVerticalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setViewportMargins

(1) Signature: void setViewportMargins (int left, int top, int right, int bottom)

Description: Method void QTreeView::setViewportMargins(int left, int top, int right, int bottom)

This method is protected and can only be called from inside a derived class.

(2) Signature: void setViewportMargins (const QMargins margins)

Description: Method void QTreeView::setViewportMargins(const QMargins &margins)

This method is protected and can only be called from inside a derived class.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QTreeView::setVisible(bool visible)

This method can be reimplemented in a derived class.

setWordWrap

Signature: void setWordWrap (bool on)

Description: Method void QTreeView::setWordWrap(bool on)

Python specific notes:
The object exposes a writable attribute 'wordWrap'. This is the setter.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

Description: Virtual method void QTreeView::setupViewport(QWidget *viewport)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QTreeView::sharedPainter()

This method can be reimplemented in a derived class.

showColumn

Signature: void showColumn (int column)

Description: Method void QTreeView::showColumn(int column)

showEvent

Signature: void showEvent (QShowEvent ptr event)

Description: Virtual method void QTreeView::showEvent(QShowEvent *event)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QTreeView::sizeHint()

This method can be reimplemented in a derived class.

sizeHintForColumn

Signature: [const] int sizeHintForColumn (int column)

Description: Virtual method int QTreeView::sizeHintForColumn(int column)

This method can be reimplemented in a derived class.

sizeHintForRow

Signature: [const] int sizeHintForRow (int row)

Description: Virtual method int QTreeView::sizeHintForRow(int row)

This method can be reimplemented in a derived class.

sortByColumn

(1) Signature: void sortByColumn (int column, const Qt_SortOrder order)

Description: Method void QTreeView::sortByColumn(int column, Qt::SortOrder order)

(2) Signature: void sortByColumn (int column)

Description: Method void QTreeView::sortByColumn(int column)

sortingEnabled

Signature: [const] bool sortingEnabled

Description: Method bool QTreeView::isSortingEnabled()

Python specific notes:
The object exposes a readable attribute 'sortingEnabled'. This is the getter.

sortingEnabled=

Signature: void sortingEnabled= (bool enable)

Description: Method void QTreeView::setSortingEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'sortingEnabled'. This is the setter.

startAutoScroll

Signature: void startAutoScroll

Description: Method void QTreeView::startAutoScroll()

This method is protected and can only be called from inside a derived class.

startDrag

Signature: void startDrag (Qt_QFlags_DropAction supportedActions)

Description: Virtual method void QTreeView::startDrag(QFlags<Qt::DropAction> supportedActions)

This method can be reimplemented in a derived class.

state

Signature: [const] unsigned int state

Description: Method QAbstractItemView::State QTreeView::state()

This method is protected and can only be called from inside a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

stopAutoScroll

Signature: void stopAutoScroll

Description: Method void QTreeView::stopAutoScroll()

This method is protected and can only be called from inside a derived class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QTreeView::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QTreeView::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QTreeView::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QTreeView::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

treePosition

Signature: [const] int treePosition

Description: Method int QTreeView::treePosition()

Python specific notes:
The object exposes a readable attribute 'treePosition'. This is the getter.

treePosition=

Signature: void treePosition= (int logicalIndex)

Description: Method void QTreeView::setTreePosition(int logicalIndex)

Python specific notes:
The object exposes a writable attribute 'treePosition'. This is the setter.

uniformRowHeights

Signature: [const] bool uniformRowHeights

Description: Method bool QTreeView::uniformRowHeights()

Python specific notes:
The object exposes a readable attribute 'uniformRowHeights'. This is the getter.

uniformRowHeights=

Signature: void uniformRowHeights= (bool uniform)

Description: Method void QTreeView::setUniformRowHeights(bool uniform)

Python specific notes:
The object exposes a writable attribute 'uniformRowHeights'. This is the setter.

updateEditorData

Signature: void updateEditorData

Description: Virtual method void QTreeView::updateEditorData()

This method can be reimplemented in a derived class.

updateEditorGeometries

Signature: void updateEditorGeometries

Description: Virtual method void QTreeView::updateEditorGeometries()

This method can be reimplemented in a derived class.

updateGeometries

Signature: void updateGeometries

Description: Virtual method void QTreeView::updateGeometries()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QTreeView::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

verticalOffset

Signature: [const] int verticalOffset

Description: Virtual method int QTreeView::verticalOffset()

This method can be reimplemented in a derived class.

verticalScrollbarAction

Signature: void verticalScrollbarAction (int action)

Description: Virtual method void QTreeView::verticalScrollbarAction(int action)

This method can be reimplemented in a derived class.

verticalScrollbarValueChanged

Signature: void verticalScrollbarValueChanged (int value)

Description: Virtual method void QTreeView::verticalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

verticalStepsPerItem

Signature: [const] int verticalStepsPerItem

Description: Method int QTreeView::verticalStepsPerItem()

This method is protected and can only be called from inside a derived class.

viewOptions

Signature: [const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QTreeView::viewOptions()

This method can be reimplemented in a derived class.

viewportEntered

Signature: [signal] void viewportEntered

Description: Signal declaration for QTreeView::viewportEntered()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'viewportEntered'. This is the getter.
The object exposes a writable attribute 'viewportEntered'. This is the setter.

viewportEvent

Signature: bool viewportEvent (QEvent ptr event)

Description: Virtual method bool QTreeView::viewportEvent(QEvent *event)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QTreeView::viewportMargins()

This method is protected and can only be called from inside a derived class.

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QTreeView::viewportSizeHint()

This method can be reimplemented in a derived class.

visualRect

Signature: [const] QRect visualRect (const QModelIndex index)

Description: Virtual method QRect QTreeView::visualRect(const QModelIndex &index)

This method can be reimplemented in a derived class.

visualRegionForSelection

Signature: [const] QRegion visualRegionForSelection (const QItemSelection selection)

Description: Virtual method QRegion QTreeView::visualRegionForSelection(const QItemSelection &selection)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QTreeView::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QTreeView::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QTreeView::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QTreeView::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.

wordWrap

Signature: [const] bool wordWrap

Description: Method bool QTreeView::wordWrap()

Python specific notes:
The object exposes a readable attribute 'wordWrap'. This is the getter.

wordWrap=

Signature: void wordWrap= (bool on)

Description: Method void QTreeView::setWordWrap(bool on)

Python specific notes:
The object exposes a writable attribute 'wordWrap'. This is the setter.