BarDataProxy QML Type
三维条形图的数据代理。更多
| Import Statement: | import QtGraphs |
| In C++: | QBarDataProxy |
| Inherits: | |
| Inherited By: |
- 所有成员(包括继承成员)的列表
- BarDataProxy 是Qt Graphs QML Types for 3D 的一部分。
属性
信号
- colCountChanged(int count)
- itemChanged(int rowIndex, int columnIndex)
- rowCountChanged(int count)
- seriesChanged(Bar3DSeries series)
详细说明
该类型通过Qt Quick 2 处理数据行的添加、插入、更改和删除。
该类型不能实例化,但包含通过子类型公开的属性。
有关更完整的描述,请参见QBarDataProxy 。
另请参阅 ItemModelBarDataProxy 和Qt Graphs 3D 数据处理。
属性文档
colCount : int [read-only]
数组中的列数。
rowCount : int [read-only]
数组中的行数。
series : Bar3DSeries [read-only]
该代理所隶属的系列。
type : AbstractDataProxy.DataType [read-only]
代理类型。QAbstractDataProxy::DataType 值之一。
信号文档
colCountChanged(int count)
当colCount 更改为count 时会发出该信号。
注: 相应的处理程序是onColCountChanged 。
itemChanged(int rowIndex, int columnIndex)
当rowIndex 和columnIndex 所指定位置上的项目发生变化时,将发出该信号。如果数组中的项目在未调用 setItem() 的情况下发生变化,则需要发出此信号以更新图形。
注: 相应的处理程序是onItemChanged 。
rowCountChanged(int count)
当rowCount 更改为count 时会发出该信号。
注: 相应的处理程序是onRowCountChanged 。
seriesChanged(Bar3DSeries series)
当series 更改为series 时会发出该信号。
注: 相应的处理程序是onSeriesChanged 。
© 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.