本页内容

QRangeModelAdapter::ColumnIterator Struct

struct QRangeModelAdapter::ColumnIterator

提供了一个基于模型行中各列的 STL 风格非 const 迭代器。更多内容...

该结构体处于技术预览阶段,内容可能会有变动。

该结构体于 Qt 6.11 中引入。

公共函数

详细描述

该迭代器模拟std::random_access_iterator 。解引用该迭代器将返回一个DataReference 包装器,该包装器指向模型中被指针指向的项所对应的值。

成员函数文档

[default] ColumnIterator::~ColumnIterator()

销毁ColumnIterator 的实例。

© 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.