Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QTreeWidgetItemPrivate Class Reference

#include <qtreewidget_p.h>

+ Collaboration diagram for QTreeWidgetItemPrivate:

Public Member Functions

 QTreeWidgetItemPrivate (QTreeWidgetItem *item)
 
void propagateDisabled (QTreeWidgetItem *item)
 
void updateHiddenStatus (QTreeWidgetItem *item, bool inserting)
 
void sortChildren (int column, Qt::SortOrder order, bool climb)
 

Public Attributes

QTreeWidgetItemq
 
QVariantList display
 
uint disabled: 1
 
uint selected: 1
 
uint hidden: 1
 
int rowGuess
 
QTreeWidgetItem::ChildIndicatorPolicy policy
 

Detailed Description

Definition at line 151 of file qtreewidget_p.h.

Constructor & Destructor Documentation

◆ QTreeWidgetItemPrivate()

QTreeWidgetItemPrivate::QTreeWidgetItemPrivate ( QTreeWidgetItem item)
inline

Definition at line 154 of file qtreewidget_p.h.

Member Function Documentation

◆ propagateDisabled()

void QTreeWidgetItemPrivate::propagateDisabled ( QTreeWidgetItem item)

Definition at line 1691 of file qtreewidget.cpp.

References child, i, QList< T >::isEmpty(), item, Qt::ItemIsEnabled, parent, QStack< T >::pop(), QStack< T >::push(), and Q_ASSERT.

Referenced by QTreeWidgetItem::insertChild(), QTreeWidgetItem::insertChildren(), QTreeWidgetItem::takeChild(), and QTreeWidgetItem::takeChildren().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sortChildren()

void QTreeWidgetItemPrivate::sortChildren ( int  column,
Qt::SortOrder  order,
bool  climb 
)

Definition at line 2141 of file qtreewidget.cpp.

References QSet< T >::begin(), QSet< T >::end(), it, and model.

+ Here is the call graph for this function:

◆ updateHiddenStatus()

void QTreeWidgetItemPrivate::updateHiddenStatus ( QTreeWidgetItem item,
bool  inserting 
)

Definition at line 1671 of file qtreewidget.cpp.

References child, i, QAbstractTableModel::index(), QList< T >::isEmpty(), item, model, parent, QStack< T >::pop(), and QStack< T >::push().

Referenced by QTreeWidgetItem::insertChild(), QTreeWidgetItem::insertChildren(), and QTreeWidgetItem::takeChild().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ disabled

uint QTreeWidgetItemPrivate::disabled

Definition at line 162 of file qtreewidget_p.h.

Referenced by QTreeWidgetItem::setFlags().

◆ display

◆ hidden

uint QTreeWidgetItemPrivate::hidden

Definition at line 164 of file qtreewidget_p.h.

Referenced by QTreeWidgetItem::setHidden().

◆ policy

◆ q

QTreeWidgetItem* QTreeWidgetItemPrivate::q

Definition at line 160 of file qtreewidget_p.h.

◆ rowGuess

int QTreeWidgetItemPrivate::rowGuess

Definition at line 165 of file qtreewidget_p.h.

Referenced by QTreeModel::index().

◆ selected

uint QTreeWidgetItemPrivate::selected

Definition at line 163 of file qtreewidget_p.h.

Referenced by QTreeWidgetItem::isSelected(), and QTreeWidgetItem::setSelected().


The documentation for this class was generated from the following files: