Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_gui_itemviews_qtreewidget.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Functions

treeWidget setColumnCount (1)
 
 for (int i=0;i< 10;++i) items.append(new QTreeWidgetItem(static_cast< QTreeWidget * >(nullptr)
 [13]
 
 QStringList (QString("item: %1").arg(i))))
 
treeWidget insertTopLevelItems (0, items)
 

Variables

QTreeWidgettreeWidget = new QTreeWidget()
 [0]
 
QList< QTreeWidgetItem * > items
 

Function Documentation

◆ for()

for ( )
new

[13]

[3]

[14]

[4]

[13]

[4]

Definition at line 53 of file doc_src_containers.cpp.

◆ insertTopLevelItems()

treeWidget insertTopLevelItems ( 0 ,
items  )

◆ QStringList()

QStringList ( QString("item: %1").arg(i) )

◆ setColumnCount()

treeWidget setColumnCount ( 1 )

Variable Documentation

◆ items

QList< QTreeWidgetItem * > items

Definition at line 7 of file src_gui_itemviews_qtreewidget.cpp.

◆ treeWidget

QTreeWidget * treeWidget = new QTreeWidget()

[0]

Definition at line 5 of file src_gui_itemviews_qtreewidget.cpp.