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 |
数组中的列数。
rowCount : int |
数组中的行数。
series : Bar3DSeries |
该代理所连接的系列。
type : AbstractDataProxy.DataType |
代理类型。QAbstractDataProxy::DataType 值之一。
信号文档
当rowIndex 和columnIndex 指定位置上的项目发生变化时,将发出该信号。如果未调用 setItem() 就更改了数组中的项目,则需要发出该信号以更新图形。
注: 相应的处理程序是onItemChanged
。
seriesChanged(Bar3DSeries series) |
当series 更改为series 时,将发出此信号。
注: 相应的处理程序是onSeriesChanged
。
© 2025 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.