BarDataProxy QML Type

The data proxy for a 3D bars graph. 更多...

import 语句: import QtGraphs
在 C++: QBarDataProxy
继承:

AbstractDataProxy

继承者:

ItemModelBarDataProxy

特性

信号

详细描述

This type handles adding, inserting, changing, and removing rows of data with Qt Quick 2.

This type cannot be instantiated, but contains properties that are exposed via subtypes.

For a more complete description, see QBarDataProxy .

另请参阅 ItemModelBarDataProxy and Qt Graphs Data Handling with 3D .

特性文档编制

colCount : int [read-only]

The number of columns in the array.

rowCount : int [read-only]

The number of rows in the array.

series : Bar3DSeries [read-only]

The series this proxy is attached to.

type : AbstractDataProxy . DataType [read-only]

The type of the proxy. One of the QAbstractDataProxy::DataType 值。

信号文档编制

colCountChanged ( int count )

此信号发射,当 colCount changes to count .

注意: 相应处理程序是 onColCountChanged .

itemChanged ( int rowIndex , int columnIndex )

This signal is emitted when the item at the position specified by rowIndex and columnIndex changes. If the item is changed in the array without calling setItem(), this signal needs to be emitted to update the graph.

注意: 相应处理程序是 onItemChanged .

rowCountChanged ( int count )

此信号发射,当 rowCount changes to count .

注意: 相应处理程序是 onRowCountChanged .

seriesChanged ( Bar3DSeries series )

此信号发射,当 series changes to series .

注意: 相应处理程序是 onSeriesChanged .