BarDataProxy QML Type

三维条形图的数据代理。更多

Import Statement: import QtGraphs
In C++: QBarDataProxy
Inherits:

AbstractDataProxy

Inherited By:

ItemModelBarDataProxy

属性

信号

详细说明

该类型通过Qt Quick 2 处理数据行的添加、插入、更改和删除。

该类型不能实例化,但包含通过子类型公开的属性。

有关更完整的描述,请参见QBarDataProxy

另请参阅 ItemModelBarDataProxyQt 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)

rowIndexcolumnIndex 指定位置上的项目发生变化时,将发出该信号。如果未调用 setItem() 就更改了数组中的项目,则需要发出该信号以更新图形。

注: 相应的处理程序是onItemChanged


rowCountChanged(int count)

rowCount 变更为count 时,将发出该信号。

注: 相应的处理程序是onRowCountChanged


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.