Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_gui_itemviews_qtreewidget.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
8for (int i = 0; i < 10; ++i)
9 items.append(new QTreeWidgetItem(static_cast<QTreeWidget *>(nullptr), QStringList(QString("item: %1").arg(i))));
Definition qlist.h:74
void append(parameter_type t)
Definition qlist.h:441
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
The QTreeWidgetItem class provides an item for use with the QTreeWidget convenience class.
Definition qtreewidget.h:23
The QTreeWidget class provides a tree view that uses a predefined tree model.
void insertTopLevelItems(int index, const QList< QTreeWidgetItem * > &items)
void setColumnCount(int columns)
SSL_CTX int(*) void arg)
QList< QTreeWidgetItem * > items
QTreeWidget * treeWidget
[0]