KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QTreeWidget

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QTreeWidget

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

Public constructors

new QTreeWidgetnew(QWidget ptr parent = 0)Constructor QTreeWidget::QTreeWidget(QWidget *parent)

Public methods

[const]QTreeWidget 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 QTreeWidget::activated(const QModelIndex &index)
voidaddTopLevelItem(QTreeWidgetItem ptr item)Method void QTreeWidget::addTopLevelItem(QTreeWidgetItem *item)
voidaddTopLevelItems(QTreeWidgetItem ptr[] items)Method void QTreeWidget::addTopLevelItems(const QList<QTreeWidgetItem*> &items)
voidclearMethod void QTreeWidget::clear()
[signal]voidclicked(const QModelIndex index)Signal declaration for QTreeWidget::clicked(const QModelIndex &index)
voidclosePersistentEditor(QTreeWidgetItem ptr item,
int column = 0)
Method void QTreeWidget::closePersistentEditor(QTreeWidgetItem *item, int column)
voidcollapseItem(const QTreeWidgetItem ptr item)Method void QTreeWidget::collapseItem(const QTreeWidgetItem *item)
[signal]voidcollapsed(const QModelIndex index)Signal declaration for QTreeWidget::collapsed(const QModelIndex &index)
[const]intcolumnCountMethod int QTreeWidget::columnCount()
voidcolumnCount=(int columns)Method void QTreeWidget::setColumnCount(int columns)
[const]intcurrentColumnMethod int QTreeWidget::currentColumn()
[const]QTreeWidgetItem ptrcurrentItemMethod QTreeWidgetItem *QTreeWidget::currentItem()
voidcurrentItem=(QTreeWidgetItem ptr item)Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item)
[signal]voidcurrentItemChanged(QTreeWidgetItem ptr current,
QTreeWidgetItem ptr previous)
Signal declaration for QTreeWidget::currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QTreeWidget::customContextMenuRequested(const QPoint &pos)
voiddataChanged(const QModelIndex topLeft,
const QModelIndex bottomRight)
Virtual method void QTreeWidget::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QTreeWidget::destroyed(QObject *)
voiddoItemsLayoutVirtual method void QTreeWidget::doItemsLayout()
[signal]voiddoubleClicked(const QModelIndex index)Signal declaration for QTreeWidget::doubleClicked(const QModelIndex &index)
voideditItem(QTreeWidgetItem ptr item,
int column = 0)
Method void QTreeWidget::editItem(QTreeWidgetItem *item, int column)
voidemit_activated(const QModelIndex index)Emitter for signal void QTreeWidget::activated(const QModelIndex &index)
voidemit_clicked(const QModelIndex index)Emitter for signal void QTreeWidget::clicked(const QModelIndex &index)
voidemit_collapsed(const QModelIndex index)Emitter for signal void QTreeWidget::collapsed(const QModelIndex &index)
voidemit_currentItemChanged(QTreeWidgetItem ptr current,
QTreeWidgetItem ptr previous)
Emitter for signal void QTreeWidget::currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QTreeWidget::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QTreeWidget::destroyed(QObject *)
voidemit_doubleClicked(const QModelIndex index)Emitter for signal void QTreeWidget::doubleClicked(const QModelIndex &index)
voidemit_entered(const QModelIndex index)Emitter for signal void QTreeWidget::entered(const QModelIndex &index)
voidemit_expanded(const QModelIndex index)Emitter for signal void QTreeWidget::expanded(const QModelIndex &index)
voidemit_itemActivated(QTreeWidgetItem ptr item,
int column)
Emitter for signal void QTreeWidget::itemActivated(QTreeWidgetItem *item, int column)
voidemit_itemChanged(QTreeWidgetItem ptr item,
int column)
Emitter for signal void QTreeWidget::itemChanged(QTreeWidgetItem *item, int column)
voidemit_itemClicked(QTreeWidgetItem ptr item,
int column)
Emitter for signal void QTreeWidget::itemClicked(QTreeWidgetItem *item, int column)
voidemit_itemCollapsed(QTreeWidgetItem ptr item)Emitter for signal void QTreeWidget::itemCollapsed(QTreeWidgetItem *item)
voidemit_itemDoubleClicked(QTreeWidgetItem ptr item,
int column)
Emitter for signal void QTreeWidget::itemDoubleClicked(QTreeWidgetItem *item, int column)
voidemit_itemEntered(QTreeWidgetItem ptr item,
int column)
Emitter for signal void QTreeWidget::itemEntered(QTreeWidgetItem *item, int column)
voidemit_itemExpanded(QTreeWidgetItem ptr item)Emitter for signal void QTreeWidget::itemExpanded(QTreeWidgetItem *item)
voidemit_itemPressed(QTreeWidgetItem ptr item,
int column)
Emitter for signal void QTreeWidget::itemPressed(QTreeWidgetItem *item, int column)
voidemit_itemSelectionChangedEmitter for signal void QTreeWidget::itemSelectionChanged()
voidemit_pressed(const QModelIndex index)Emitter for signal void QTreeWidget::pressed(const QModelIndex &index)
voidemit_viewportEnteredEmitter for signal void QTreeWidget::viewportEntered()
[signal]voidentered(const QModelIndex index)Signal declaration for QTreeWidget::entered(const QModelIndex &index)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QTreeWidget::eventFilter(QObject *, QEvent *)
voidexpandItem(const QTreeWidgetItem ptr item)Method void QTreeWidget::expandItem(const QTreeWidgetItem *item)
[signal]voidexpanded(const QModelIndex index)Signal declaration for QTreeWidget::expanded(const QModelIndex &index)
[const]QTreeWidgetItem ptr[]findItems(string text,
Qt_QFlags_MatchFlag flags,
int column = 0)
Method QList<QTreeWidgetItem*> QTreeWidget::findItems(const QString &text, QFlags<Qt::MatchFlag> flags, int column)
[const]QTreeWidgetItem ptrheaderItemMethod QTreeWidgetItem *QTreeWidget::headerItem()
voidheaderItem=(QTreeWidgetItem ptr item)Method void QTreeWidget::setHeaderItem(QTreeWidgetItem *item)
[const]intheightForWidth(int arg1)Virtual method int QTreeWidget::heightForWidth(int)
[const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QTreeWidget::indexAt(const QPoint &p)
intindexOfTopLevelItem(QTreeWidgetItem ptr item)Method int QTreeWidget::indexOfTopLevelItem(QTreeWidgetItem *item)
[const]intindexOfTopLevelItem(QTreeWidgetItem ptr item)Method int QTreeWidget::indexOfTopLevelItem(QTreeWidgetItem *item)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query)
voidinsertTopLevelItem(int index,
QTreeWidgetItem ptr item)
Method void QTreeWidget::insertTopLevelItem(int index, QTreeWidgetItem *item)
voidinsertTopLevelItems(int index,
QTreeWidgetItem ptr[] items)
Method void QTreeWidget::insertTopLevelItems(int index, const QList<QTreeWidgetItem*> &items)
[const]QTreeWidgetItem ptrinvisibleRootItemMethod QTreeWidgetItem *QTreeWidget::invisibleRootItem()
[const]boolisFirstItemColumnSpanned?(const QTreeWidgetItem ptr item)Method bool QTreeWidget::isFirstItemColumnSpanned(const QTreeWidgetItem *item)
[const]boolisItemExpanded?(const QTreeWidgetItem ptr item)Method bool QTreeWidget::isItemExpanded(const QTreeWidgetItem *item)
[const]boolisItemHidden?(const QTreeWidgetItem ptr item)Method bool QTreeWidget::isItemHidden(const QTreeWidgetItem *item)
[const]boolisItemSelected?(const QTreeWidgetItem ptr item)Method bool QTreeWidget::isItemSelected(const QTreeWidgetItem *item)
[const]boolisSortingEnabled?Method bool QTreeWidget::isSortingEnabled()
[const]QTreeWidgetItem ptritemAbove(const QTreeWidgetItem ptr item)Method QTreeWidgetItem *QTreeWidget::itemAbove(const QTreeWidgetItem *item)
[signal]voiditemActivated(QTreeWidgetItem ptr item,
int column)
Signal declaration for QTreeWidget::itemActivated(QTreeWidgetItem *item, int column)
[const]QTreeWidgetItem ptritemAt(const QPoint p)Method QTreeWidgetItem *QTreeWidget::itemAt(const QPoint &p)
[const]QTreeWidgetItem ptritemAt(int x,
int y)
Method QTreeWidgetItem *QTreeWidget::itemAt(int x, int y)
[const]QTreeWidgetItem ptritemBelow(const QTreeWidgetItem ptr item)Method QTreeWidgetItem *QTreeWidget::itemBelow(const QTreeWidgetItem *item)
[signal]voiditemChanged(QTreeWidgetItem ptr item,
int column)
Signal declaration for QTreeWidget::itemChanged(QTreeWidgetItem *item, int column)
[signal]voiditemClicked(QTreeWidgetItem ptr item,
int column)
Signal declaration for QTreeWidget::itemClicked(QTreeWidgetItem *item, int column)
[signal]voiditemCollapsed(QTreeWidgetItem ptr item)Signal declaration for QTreeWidget::itemCollapsed(QTreeWidgetItem *item)
[signal]voiditemDoubleClicked(QTreeWidgetItem ptr item,
int column)
Signal declaration for QTreeWidget::itemDoubleClicked(QTreeWidgetItem *item, int column)
[signal]voiditemEntered(QTreeWidgetItem ptr item,
int column)
Signal declaration for QTreeWidget::itemEntered(QTreeWidgetItem *item, int column)
[signal]voiditemExpanded(QTreeWidgetItem ptr item)Signal declaration for QTreeWidget::itemExpanded(QTreeWidgetItem *item)
[signal]voiditemPressed(QTreeWidgetItem ptr item,
int column)
Signal declaration for QTreeWidget::itemPressed(QTreeWidgetItem *item, int column)
[signal]voiditemSelectionChangedSignal declaration for QTreeWidget::itemSelectionChanged()
[const]QWidget ptritemWidget(QTreeWidgetItem ptr item,
int column)
Method QWidget *QTreeWidget::itemWidget(QTreeWidgetItem *item, int column)
voidkeyboardSearch(string search)Virtual method void QTreeWidget::keyboardSearch(const QString &search)
[const]QSizeminimumSizeHintVirtual method QSize QTreeWidget::minimumSizeHint()
voidopenPersistentEditor(QTreeWidgetItem ptr item,
int column = 0)
Method void QTreeWidget::openPersistentEditor(QTreeWidgetItem *item, int column)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QTreeWidget::paintEngine()
[signal]voidpressed(const QModelIndex index)Signal declaration for QTreeWidget::pressed(const QModelIndex &index)
voidremoveItemWidget(QTreeWidgetItem ptr item,
int column)
Method void QTreeWidget::removeItemWidget(QTreeWidgetItem *item, int column)
voidresetVirtual method void QTreeWidget::reset()
voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QTreeWidget::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
voidscrollToItem(const QTreeWidgetItem ptr item,
const QAbstractItemView_ScrollHint hint = QAbstractItemView::EnsureVisible)
Method void QTreeWidget::scrollToItem(const QTreeWidgetItem *item, QAbstractItemView::ScrollHint hint)
voidselectAllVirtual method void QTreeWidget::selectAll()
[const]QTreeWidgetItem ptr[]selectedItemsMethod QList<QTreeWidgetItem*> QTreeWidget::selectedItems()
voidselectionModel=(QItemSelectionModel ptr selectionModel)Method void QTreeWidget::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetColumnCount(int columns)Method void QTreeWidget::setColumnCount(int columns)
voidsetCurrentItem(QTreeWidgetItem ptr item)Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item)
voidsetCurrentItem(QTreeWidgetItem ptr item,
int column)
Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item, int column)
voidsetCurrentItem(QTreeWidgetItem ptr item,
int column,
QItemSelectionModel_QFlags_SelectionFlag command)
Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item, int column, QFlags<QItemSelectionModel::SelectionFlag> command)
voidsetFirstItemColumnSpanned(const QTreeWidgetItem ptr item,
bool span)
Method void QTreeWidget::setFirstItemColumnSpanned(const QTreeWidgetItem *item, bool span)
voidsetHeaderItem(QTreeWidgetItem ptr item)Method void QTreeWidget::setHeaderItem(QTreeWidgetItem *item)
voidsetHeaderLabel(string label)Method void QTreeWidget::setHeaderLabel(const QString &label)
voidsetHeaderLabels(string[] labels)Method void QTreeWidget::setHeaderLabels(const QStringList &labels)
voidsetItemExpanded(const QTreeWidgetItem ptr item,
bool expand)
Method void QTreeWidget::setItemExpanded(const QTreeWidgetItem *item, bool expand)
voidsetItemHidden(const QTreeWidgetItem ptr item,
bool hide)
Method void QTreeWidget::setItemHidden(const QTreeWidgetItem *item, bool hide)
voidsetItemSelected(const QTreeWidgetItem ptr item,
bool select)
Method void QTreeWidget::setItemSelected(const QTreeWidgetItem *item, bool select)
voidsetItemWidget(QTreeWidgetItem ptr item,
int column,
QWidget ptr widget)
Method void QTreeWidget::setItemWidget(QTreeWidgetItem *item, int column, QWidget *widget)
voidsetRootIndex(const QModelIndex index)Virtual method void QTreeWidget::setRootIndex(const QModelIndex &index)
voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QTreeWidget::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetSortingEnabled(bool enable)Method void QTreeWidget::setSortingEnabled(bool enable)
voidsetVisible(bool visible)Virtual method void QTreeWidget::setVisible(bool visible)
[const]QSizesizeHintVirtual method QSize QTreeWidget::sizeHint()
[const]intsizeHintForRow(int row)Virtual method int QTreeWidget::sizeHintForRow(int row)
[const]intsortColumnMethod int QTreeWidget::sortColumn()
voidsortItems(int column,
const Qt_SortOrder order)
Method void QTreeWidget::sortItems(int column, Qt::SortOrder order)
[const]boolsortingEnabledMethod bool QTreeWidget::isSortingEnabled()
voidsortingEnabled=(bool enable)Method void QTreeWidget::setSortingEnabled(bool enable)
new QTreeWidgetItem ptrtakeTopLevelItem(int index)Method QTreeWidgetItem *QTreeWidget::takeTopLevelItem(int index)
[const]QTreeWidgetItem ptrtopLevelItem(int index)Method QTreeWidgetItem *QTreeWidget::topLevelItem(int index)
[const]inttopLevelItemCountMethod int QTreeWidget::topLevelItemCount()
[signal]voidviewportEnteredSignal declaration for QTreeWidget::viewportEntered()
[const]QRectvisualItemRect(const QTreeWidgetItem ptr item)Method QRect QTreeWidget::visualItemRect(const QTreeWidgetItem *item)
[const]QRectvisualRect(const QModelIndex index)Virtual method QRect QTreeWidget::visualRect(const QModelIndex &index)

Public static methods and constants

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

Protected methods (static, non-static and constructors)

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

Detailed description

_const_cast

Signature: [const] QTreeWidget 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 arg1)

Description: Virtual method void QTreeWidget::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

activated

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

Description: Signal declaration for QTreeWidget::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.

addTopLevelItem

Signature: void addTopLevelItem (QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::addTopLevelItem(QTreeWidgetItem *item)

addTopLevelItems

Signature: void addTopLevelItems (QTreeWidgetItem ptr[] items)

Description: Method void QTreeWidget::addTopLevelItems(const QList<QTreeWidgetItem*> &items)

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QTreeWidget::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QTreeWidget::clear()

clicked

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

Description: Signal declaration for QTreeWidget::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 QTreeWidget::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

Description: Virtual method void QTreeWidget::closeEvent(QCloseEvent *)

This method can be reimplemented in a derived class.

closePersistentEditor

Signature: void closePersistentEditor (QTreeWidgetItem ptr item, int column = 0)

Description: Method void QTreeWidget::closePersistentEditor(QTreeWidgetItem *item, int column)

collapseItem

Signature: void collapseItem (const QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::collapseItem(const QTreeWidgetItem *item)

collapsed

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

Description: Signal declaration for QTreeWidget::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.

columnCount

Signature: [const] int columnCount

Description: Method int QTreeWidget::columnCount()

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

columnCount=

Signature: void columnCount= (int columns)

Description: Method void QTreeWidget::setColumnCount(int columns)

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

columnCountChanged

Signature: void columnCountChanged (int oldCount, int newCount)

Description: Method void QTreeWidget::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 QTreeWidget::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 QTreeWidget::columnResized(int column, int oldSize, int newSize)

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

commitData

Signature: void commitData (QWidget ptr editor)

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

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

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

This method can be reimplemented in a derived class.

currentChanged

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

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

This method can be reimplemented in a derived class.

currentColumn

Signature: [const] int currentColumn

Description: Method int QTreeWidget::currentColumn()

currentItem

Signature: [const] QTreeWidgetItem ptr currentItem

Description: Method QTreeWidgetItem *QTreeWidget::currentItem()

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

currentItem=

Signature: void currentItem= (QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item)

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

currentItemChanged

Signature: [signal] void currentItemChanged (QTreeWidgetItem ptr current, QTreeWidgetItem ptr previous)

Description: Signal declaration for QTreeWidget::currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)

You can bind a procedure to this signal.

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

customContextMenuRequested

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

Description: Signal declaration for QTreeWidget::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 arg1)

Description: Virtual method void QTreeWidget::customEvent(QEvent *)

This method can be reimplemented in a derived class.

dataChanged

Signature: void dataChanged (const QModelIndex topLeft, const QModelIndex bottomRight)

Description: Virtual method void QTreeWidget::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)

This method can be reimplemented in a derived class.

destroyed

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

Description: Signal declaration for QTreeWidget::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 QTreeWidget::dirtyRegionOffset()

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

disconnectNotify

Signature: void disconnectNotify (string signal)

Description: Virtual method void QTreeWidget::disconnectNotify(const char *signal)

This method can be reimplemented in a derived class.

doAutoScroll

Signature: void doAutoScroll

Description: Method void QTreeWidget::doAutoScroll()

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

doItemsLayout

Signature: void doItemsLayout

Description: Virtual method void QTreeWidget::doItemsLayout()

This method can be reimplemented in a derived class.

doubleClicked

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

Description: Signal declaration for QTreeWidget::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 QTreeWidget::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr event)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr event)

Description: Virtual method void QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::dropEvent(QDropEvent *event)

This method can be reimplemented in a derived class.

dropIndicatorPosition

Signature: [const] unsigned int dropIndicatorPosition

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

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

dropMimeData

Signature: bool dropMimeData (QTreeWidgetItem ptr parent, int index, const QMimeData ptr data, const Qt_DropAction action)

Description: Virtual method bool QTreeWidget::dropMimeData(QTreeWidgetItem *parent, int index, const QMimeData *data, Qt::DropAction action)

This method can be reimplemented in a derived class.

edit

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

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

This method can be reimplemented in a derived class.

editItem

Signature: void editItem (QTreeWidgetItem ptr item, int column = 0)

Description: Method void QTreeWidget::editItem(QTreeWidgetItem *item, int column)

editorDestroyed

Signature: void editorDestroyed (QObject ptr editor)

Description: Virtual method void QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::collapsed(const QModelIndex &index)

Call this method to emit this signal.

emit_currentItemChanged

Signature: void emit_currentItemChanged (QTreeWidgetItem ptr current, QTreeWidgetItem ptr previous)

Description: Emitter for signal void QTreeWidget::currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

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

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

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

Call this method to emit this signal.

emit_doubleClicked

Signature: void emit_doubleClicked (const QModelIndex index)

Description: Emitter for signal void QTreeWidget::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 QTreeWidget::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 QTreeWidget::expanded(const QModelIndex &index)

Call this method to emit this signal.

emit_itemActivated

Signature: void emit_itemActivated (QTreeWidgetItem ptr item, int column)

Description: Emitter for signal void QTreeWidget::itemActivated(QTreeWidgetItem *item, int column)

Call this method to emit this signal.

emit_itemChanged

Signature: void emit_itemChanged (QTreeWidgetItem ptr item, int column)

Description: Emitter for signal void QTreeWidget::itemChanged(QTreeWidgetItem *item, int column)

Call this method to emit this signal.

emit_itemClicked

Signature: void emit_itemClicked (QTreeWidgetItem ptr item, int column)

Description: Emitter for signal void QTreeWidget::itemClicked(QTreeWidgetItem *item, int column)

Call this method to emit this signal.

emit_itemCollapsed

Signature: void emit_itemCollapsed (QTreeWidgetItem ptr item)

Description: Emitter for signal void QTreeWidget::itemCollapsed(QTreeWidgetItem *item)

Call this method to emit this signal.

emit_itemDoubleClicked

Signature: void emit_itemDoubleClicked (QTreeWidgetItem ptr item, int column)

Description: Emitter for signal void QTreeWidget::itemDoubleClicked(QTreeWidgetItem *item, int column)

Call this method to emit this signal.

emit_itemEntered

Signature: void emit_itemEntered (QTreeWidgetItem ptr item, int column)

Description: Emitter for signal void QTreeWidget::itemEntered(QTreeWidgetItem *item, int column)

Call this method to emit this signal.

emit_itemExpanded

Signature: void emit_itemExpanded (QTreeWidgetItem ptr item)

Description: Emitter for signal void QTreeWidget::itemExpanded(QTreeWidgetItem *item)

Call this method to emit this signal.

emit_itemPressed

Signature: void emit_itemPressed (QTreeWidgetItem ptr item, int column)

Description: Emitter for signal void QTreeWidget::itemPressed(QTreeWidgetItem *item, int column)

Call this method to emit this signal.

emit_itemSelectionChanged

Signature: void emit_itemSelectionChanged

Description: Emitter for signal void QTreeWidget::itemSelectionChanged()

Call this method to emit this signal.

emit_pressed

Signature: void emit_pressed (const QModelIndex index)

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

Call this method to emit this signal.

emit_viewportEntered

Signature: void emit_viewportEntered

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

Call this method to emit this signal.

enabledChange

Signature: void enabledChange (bool arg1)

Description: Virtual method void QTreeWidget::enabledChange(bool)

This method can be reimplemented in a derived class.

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

Description: Virtual method void QTreeWidget::enterEvent(QEvent *)

This method can be reimplemented in a derived class.

entered

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

Description: Signal declaration for QTreeWidget::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 e)

Description: Virtual method bool QTreeWidget::event(QEvent *e)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QTreeWidget::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

executeDelayedItemsLayout

Signature: void executeDelayedItemsLayout

Description: Method void QTreeWidget::executeDelayedItemsLayout()

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

expandItem

Signature: void expandItem (const QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::expandItem(const QTreeWidgetItem *item)

expanded

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

Description: Signal declaration for QTreeWidget::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.

findItems

Signature: [const] QTreeWidgetItem ptr[] findItems (string text, Qt_QFlags_MatchFlag flags, int column = 0)

Description: Method QList<QTreeWidgetItem*> QTreeWidget::findItems(const QString &text, QFlags<Qt::MatchFlag> flags, int column)

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QTreeWidget::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 QTreeWidget::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QTreeWidget::focusPreviousChild()

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

fontChange

Signature: void fontChange (const QFont arg1)

Description: Virtual method void QTreeWidget::fontChange(const QFont &)

This method can be reimplemented in a derived class.

headerItem

Signature: [const] QTreeWidgetItem ptr headerItem

Description: Method QTreeWidgetItem *QTreeWidget::headerItem()

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

headerItem=

Signature: void headerItem= (QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::setHeaderItem(QTreeWidgetItem *item)

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

heightForWidth

Signature: [const] int heightForWidth (int arg1)

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

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

Description: Virtual method void QTreeWidget::hideEvent(QHideEvent *)

This method can be reimplemented in a derived class.

horizontalOffset

Signature: [const] int horizontalOffset

Description: Virtual method int QTreeWidget::horizontalOffset()

This method can be reimplemented in a derived class.

horizontalScrollbarAction

Signature: void horizontalScrollbarAction (int action)

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

This method can be reimplemented in a derived class.

horizontalScrollbarValueChanged

Signature: void horizontalScrollbarValueChanged (int value)

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

This method can be reimplemented in a derived class.

horizontalStepsPerItem

Signature: [const] int horizontalStepsPerItem

Description: Method int QTreeWidget::horizontalStepsPerItem()

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

indexAt

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

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

This method can be reimplemented in a derived class.

indexFromItem

Signature: [const] QModelIndex indexFromItem (QTreeWidgetItem ptr item, int column = 0)

Description: Method QModelIndex QTreeWidget::indexFromItem(QTreeWidgetItem *item, int column)

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

indexOfTopLevelItem

(1) Signature: int indexOfTopLevelItem (QTreeWidgetItem ptr item)

Description: Method int QTreeWidget::indexOfTopLevelItem(QTreeWidgetItem *item)

(2) Signature: [const] int indexOfTopLevelItem (QTreeWidgetItem ptr item)

Description: Method int QTreeWidget::indexOfTopLevelItem(QTreeWidgetItem *item)

indexRowSizeHint

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

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

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 QTreeWidget::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 QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

insertTopLevelItem

Signature: void insertTopLevelItem (int index, QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::insertTopLevelItem(int index, QTreeWidgetItem *item)

insertTopLevelItems

Signature: void insertTopLevelItems (int index, QTreeWidgetItem ptr[] items)

Description: Method void QTreeWidget::insertTopLevelItems(int index, const QList<QTreeWidgetItem*> &items)

invisibleRootItem

Signature: [const] QTreeWidgetItem ptr invisibleRootItem

Description: Method QTreeWidgetItem *QTreeWidget::invisibleRootItem()

isFirstItemColumnSpanned?

Signature: [const] bool isFirstItemColumnSpanned? (const QTreeWidgetItem ptr item)

Description: Method bool QTreeWidget::isFirstItemColumnSpanned(const QTreeWidgetItem *item)

isIndexHidden

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

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

This method can be reimplemented in a derived class.

isItemExpanded?

Signature: [const] bool isItemExpanded? (const QTreeWidgetItem ptr item)

Description: Method bool QTreeWidget::isItemExpanded(const QTreeWidgetItem *item)

isItemHidden?

Signature: [const] bool isItemHidden? (const QTreeWidgetItem ptr item)

Description: Method bool QTreeWidget::isItemHidden(const QTreeWidgetItem *item)

isItemSelected?

Signature: [const] bool isItemSelected? (const QTreeWidgetItem ptr item)

Description: Method bool QTreeWidget::isItemSelected(const QTreeWidgetItem *item)

isSortingEnabled?

Signature: [const] bool isSortingEnabled?

Description: Method bool QTreeWidget::isSortingEnabled()

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

itemAbove

Signature: [const] QTreeWidgetItem ptr itemAbove (const QTreeWidgetItem ptr item)

Description: Method QTreeWidgetItem *QTreeWidget::itemAbove(const QTreeWidgetItem *item)

itemActivated

Signature: [signal] void itemActivated (QTreeWidgetItem ptr item, int column)

Description: Signal declaration for QTreeWidget::itemActivated(QTreeWidgetItem *item, int column)

You can bind a procedure to this signal.

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

itemAt

(1) Signature: [const] QTreeWidgetItem ptr itemAt (const QPoint p)

Description: Method QTreeWidgetItem *QTreeWidget::itemAt(const QPoint &p)

(2) Signature: [const] QTreeWidgetItem ptr itemAt (int x, int y)

Description: Method QTreeWidgetItem *QTreeWidget::itemAt(int x, int y)

itemBelow

Signature: [const] QTreeWidgetItem ptr itemBelow (const QTreeWidgetItem ptr item)

Description: Method QTreeWidgetItem *QTreeWidget::itemBelow(const QTreeWidgetItem *item)

itemChanged

Signature: [signal] void itemChanged (QTreeWidgetItem ptr item, int column)

Description: Signal declaration for QTreeWidget::itemChanged(QTreeWidgetItem *item, int column)

You can bind a procedure to this signal.

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

itemClicked

Signature: [signal] void itemClicked (QTreeWidgetItem ptr item, int column)

Description: Signal declaration for QTreeWidget::itemClicked(QTreeWidgetItem *item, int column)

You can bind a procedure to this signal.

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

itemCollapsed

Signature: [signal] void itemCollapsed (QTreeWidgetItem ptr item)

Description: Signal declaration for QTreeWidget::itemCollapsed(QTreeWidgetItem *item)

You can bind a procedure to this signal.

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

itemDoubleClicked

Signature: [signal] void itemDoubleClicked (QTreeWidgetItem ptr item, int column)

Description: Signal declaration for QTreeWidget::itemDoubleClicked(QTreeWidgetItem *item, int column)

You can bind a procedure to this signal.

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

itemEntered

Signature: [signal] void itemEntered (QTreeWidgetItem ptr item, int column)

Description: Signal declaration for QTreeWidget::itemEntered(QTreeWidgetItem *item, int column)

You can bind a procedure to this signal.

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

itemExpanded

Signature: [signal] void itemExpanded (QTreeWidgetItem ptr item)

Description: Signal declaration for QTreeWidget::itemExpanded(QTreeWidgetItem *item)

You can bind a procedure to this signal.

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

itemFromIndex

Signature: [const] QTreeWidgetItem ptr itemFromIndex (const QModelIndex index)

Description: Method QTreeWidgetItem *QTreeWidget::itemFromIndex(const QModelIndex &index)

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

itemPressed

Signature: [signal] void itemPressed (QTreeWidgetItem ptr item, int column)

Description: Signal declaration for QTreeWidget::itemPressed(QTreeWidgetItem *item, int column)

You can bind a procedure to this signal.

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

itemSelectionChanged

Signature: [signal] void itemSelectionChanged

Description: Signal declaration for QTreeWidget::itemSelectionChanged()

You can bind a procedure to this signal.

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

itemWidget

Signature: [const] QWidget ptr itemWidget (QTreeWidgetItem ptr item, int column)

Description: Method QWidget *QTreeWidget::itemWidget(QTreeWidgetItem *item, int column)

items

Signature: [const] QTreeWidgetItem ptr[] items (const QMimeData ptr data)

Description: Method QList<QTreeWidgetItem*> QTreeWidget::items(const QMimeData *data)

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

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr arg1)

Description: Virtual method void QTreeWidget::keyReleaseEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyboardSearch

Signature: void keyboardSearch (string search)

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

This method can be reimplemented in a derived class.

languageChange

Signature: void languageChange

Description: Virtual method void QTreeWidget::languageChange()

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

Description: Virtual method void QTreeWidget::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

metric

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

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

This method can be reimplemented in a derived class.

mimeData

Signature: [const] QMimeData ptr mimeData ([] items)

Description: Virtual method QMimeData *QTreeWidget::mimeData(const QList<QTreeWidgetItem*> items)

This method can be reimplemented in a derived class.

mimeTypes

Signature: [const] string[] mimeTypes

Description: Virtual method QStringList QTreeWidget::mimeTypes()

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QTreeWidget::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr event)

Description: Virtual method void QTreeWidget::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 QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

Description: Virtual method void QTreeWidget::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

new

Signature: [static] new QTreeWidget new (QWidget ptr parent = 0)

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

This method creates an object of class QTreeWidget.

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

openPersistentEditor

Signature: void openPersistentEditor (QTreeWidgetItem ptr item, int column = 0)

Description: Method void QTreeWidget::openPersistentEditor(QTreeWidgetItem *item, int column)

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

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

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr event)

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

This method can be reimplemented in a derived class.

paletteChange

Signature: void paletteChange (const QPalette arg1)

Description: Virtual method void QTreeWidget::paletteChange(const QPalette &)

This method can be reimplemented in a derived class.

pressed

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

Description: Signal declaration for QTreeWidget::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 arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTreeWidget::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 QTreeWidget::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 QTreeWidget::receivers(const char *signal)

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

reexpand

Signature: void reexpand

Description: Method void QTreeWidget::reexpand()

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

removeItemWidget

Signature: void removeItemWidget (QTreeWidgetItem ptr item, int column)

Description: Method void QTreeWidget::removeItemWidget(QTreeWidgetItem *item, int column)

reset

Signature: void reset

Description: Virtual method void QTreeWidget::reset()

This method can be reimplemented in a derived class.

resetInputContext

Signature: void resetInputContext

Description: Method void QTreeWidget::resetInputContext()

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

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr event)

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

This method can be reimplemented in a derived class.

rowHeight

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

Description: Method int QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)

This method can be reimplemented in a derived class.

scrollToItem

Signature: void scrollToItem (const QTreeWidgetItem ptr item, const QAbstractItemView_ScrollHint hint = QAbstractItemView::EnsureVisible)

Description: Method void QTreeWidget::scrollToItem(const QTreeWidgetItem *item, QAbstractItemView::ScrollHint hint)

selectAll

Signature: void selectAll

Description: Virtual method void QTreeWidget::selectAll()

This method can be reimplemented in a derived class.

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

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

This method can be reimplemented in a derived class.

selectedItems

Signature: [const] QTreeWidgetItem ptr[] selectedItems

Description: Method QList<QTreeWidgetItem*> QTreeWidget::selectedItems()

selectionChanged

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

Description: Virtual method void QTreeWidget::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> QTreeWidget::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 QTreeWidget::setSelectionModel(QItemSelectionModel *selectionModel)

This is a reimplementation of QTreeView::setSelectionModel

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

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QTreeWidget::sender()

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

setColumnCount

Signature: void setColumnCount (int columns)

Description: Method void QTreeWidget::setColumnCount(int columns)

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

setCurrentItem

(1) Signature: void setCurrentItem (QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item)

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

(2) Signature: void setCurrentItem (QTreeWidgetItem ptr item, int column)

Description: Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item, int column)

(3) Signature: void setCurrentItem (QTreeWidgetItem ptr item, int column, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Method void QTreeWidget::setCurrentItem(QTreeWidgetItem *item, int column, QFlags<QItemSelectionModel::SelectionFlag> command)

setDirtyRegion

Signature: void setDirtyRegion (const QRegion region)

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

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

setFirstItemColumnSpanned

Signature: void setFirstItemColumnSpanned (const QTreeWidgetItem ptr item, bool span)

Description: Method void QTreeWidget::setFirstItemColumnSpanned(const QTreeWidgetItem *item, bool span)

setHeaderItem

Signature: void setHeaderItem (QTreeWidgetItem ptr item)

Description: Method void QTreeWidget::setHeaderItem(QTreeWidgetItem *item)

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

setHeaderLabel

Signature: void setHeaderLabel (string label)

Description: Method void QTreeWidget::setHeaderLabel(const QString &label)

setHeaderLabels

Signature: void setHeaderLabels (string[] labels)

Description: Method void QTreeWidget::setHeaderLabels(const QStringList &labels)

setHorizontalStepsPerItem

Signature: void setHorizontalStepsPerItem (int steps)

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

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

setItemExpanded

Signature: void setItemExpanded (const QTreeWidgetItem ptr item, bool expand)

Description: Method void QTreeWidget::setItemExpanded(const QTreeWidgetItem *item, bool expand)

setItemHidden

Signature: void setItemHidden (const QTreeWidgetItem ptr item, bool hide)

Description: Method void QTreeWidget::setItemHidden(const QTreeWidgetItem *item, bool hide)

setItemSelected

Signature: void setItemSelected (const QTreeWidgetItem ptr item, bool select)

Description: Method void QTreeWidget::setItemSelected(const QTreeWidgetItem *item, bool select)

setItemWidget

Signature: void setItemWidget (QTreeWidgetItem ptr item, int column, QWidget ptr widget)

Description: Method void QTreeWidget::setItemWidget(QTreeWidgetItem *item, int column, QWidget *widget)

setRootIndex

Signature: void setRootIndex (const QModelIndex index)

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

This method can be reimplemented in a derived class.

setSelection

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

Description: Virtual method void QTreeWidget::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 QTreeWidget::setSelectionModel(QItemSelectionModel *selectionModel)

This method can be reimplemented in a derived class.

setSortingEnabled

Signature: void setSortingEnabled (bool enable)

Description: Method void QTreeWidget::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 QTreeWidget::setState(QAbstractItemView::State state)

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

setVerticalStepsPerItem

Signature: void setVerticalStepsPerItem (int steps)

Description: Method void QTreeWidget::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 QTreeWidget::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 QTreeWidget::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 QTreeWidget::setVisible(bool visible)

This method can be reimplemented in a derived class.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

Description: Method void QTreeWidget::setupViewport(QWidget *viewport)

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

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

Description: Virtual method void QTreeWidget::showEvent(QShowEvent *)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QTreeWidget::sizeHint()

This method can be reimplemented in a derived class.

sizeHintForColumn

Signature: [const] int sizeHintForColumn (int column)

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

This method can be reimplemented in a derived class.

sizeHintForRow

Signature: [const] int sizeHintForRow (int row)

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

This method can be reimplemented in a derived class.

sortColumn

Signature: [const] int sortColumn

Description: Method int QTreeWidget::sortColumn()

sortItems

Signature: void sortItems (int column, const Qt_SortOrder order)

Description: Method void QTreeWidget::sortItems(int column, Qt::SortOrder order)

sortingEnabled

Signature: [const] bool sortingEnabled

Description: Method bool QTreeWidget::isSortingEnabled()

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

sortingEnabled=

Signature: void sortingEnabled= (bool enable)

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

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

startAutoScroll

Signature: void startAutoScroll

Description: Method void QTreeWidget::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 QTreeWidget::startDrag(QFlags<Qt::DropAction> supportedActions)

This method can be reimplemented in a derived class.

state

Signature: [const] unsigned int state

Description: Method QAbstractItemView::State QTreeWidget::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 QTreeWidget::stopAutoScroll()

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

styleChange

Signature: void styleChange (QStyle arg1)

Description: Virtual method void QTreeWidget::styleChange(QStyle &)

This method can be reimplemented in a derived class.

supportedDropActions

Signature: [const] Qt_QFlags_DropAction supportedDropActions

Description: Virtual method QFlags<Qt::DropAction> QTreeWidget::supportedDropActions()

This method can be reimplemented in a derived class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr arg1)

Description: Virtual method void QTreeWidget::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

takeTopLevelItem

Signature: new QTreeWidgetItem ptr takeTopLevelItem (int index)

Description: Method QTreeWidgetItem *QTreeWidget::takeTopLevelItem(int index)

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

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

This method can be reimplemented in a derived class.

topLevelItem

Signature: [const] QTreeWidgetItem ptr topLevelItem (int index)

Description: Method QTreeWidgetItem *QTreeWidget::topLevelItem(int index)

topLevelItemCount

Signature: [const] int topLevelItemCount

Description: Method int QTreeWidget::topLevelItemCount()

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

tr

(1) Signature: [static] string tr (string s, string c = 0)

Description: Static method QString QTreeWidget::tr(const char *s, const char *c)

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

(2) Signature: [static] string tr (string s, string c, int n)

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

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

trUtf8

(1) Signature: [static] string trUtf8 (string s, string c = 0)

Description: Static method QString QTreeWidget::trUtf8(const char *s, const char *c)

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

(2) Signature: [static] string trUtf8 (string s, string c, int n)

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

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

updateEditorData

Signature: void updateEditorData

Description: Virtual method void QTreeWidget::updateEditorData()

This method can be reimplemented in a derived class.

updateEditorGeometries

Signature: void updateEditorGeometries

Description: Virtual method void QTreeWidget::updateEditorGeometries()

This method can be reimplemented in a derived class.

updateGeometries

Signature: void updateGeometries

Description: Virtual method void QTreeWidget::updateGeometries()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QTreeWidget::updateMicroFocus()

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

verticalOffset

Signature: [const] int verticalOffset

Description: Virtual method int QTreeWidget::verticalOffset()

This method can be reimplemented in a derived class.

verticalScrollbarAction

Signature: void verticalScrollbarAction (int action)

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

This method can be reimplemented in a derived class.

verticalScrollbarValueChanged

Signature: void verticalScrollbarValueChanged (int value)

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

This method can be reimplemented in a derived class.

verticalStepsPerItem

Signature: [const] int verticalStepsPerItem

Description: Method int QTreeWidget::verticalStepsPerItem()

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

viewOptions

Signature: [const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QTreeWidget::viewOptions()

This method can be reimplemented in a derived class.

viewportEntered

Signature: [signal] void viewportEntered

Description: Signal declaration for QTreeWidget::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 QTreeWidget::viewportEvent(QEvent *event)

This method can be reimplemented in a derived class.

visualItemRect

Signature: [const] QRect visualItemRect (const QTreeWidgetItem ptr item)

Description: Method QRect QTreeWidget::visualItemRect(const QTreeWidgetItem *item)

visualRect

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

Description: Virtual method QRect QTreeWidget::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 QTreeWidget::visualRegionForSelection(const QItemSelection &selection)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

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

This method can be reimplemented in a derived class.

windowActivationChange

Signature: void windowActivationChange (bool arg1)

Description: Virtual method void QTreeWidget::windowActivationChange(bool)

This method can be reimplemented in a derived class.