Qt Qml Models experimental QML Types

该 QML 模块包含与数据模型相关的实验性 QML 类型。

要使用该模块中的类型,请使用以下代码行导入该模块:

import Qt.labs.qmlmodels

TableModel

封装了一个简单的表格模型

TableModelColumn

表示模型中的一个列

TreeModel

封装了一个简单的树模型

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.