The following members of QML type TableView 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(弃用)
(弃用)
(弃用)
(弃用)
(弃用)
This method is deprecated. We strongly advise against using it in new code.
使用 cellAtPosition (point position) instead.
This method is deprecated. We strongly advise against using it in new code.
使用 cellAtPosition (real x, real y) instead.
This method is deprecated. We strongly advise against using it in new code.
使用 itemAtIndex(index (row, column)) instead.
This method is deprecated. We strongly advise against using it in new code.
使用 index (int row, int column) instead.
注意:
Because of an API incompatible change between Qt 6.4.0 and Qt 6.4.2, the order of
row
and
column
was specified in the opposite order. If you rely on the order to be
modelIndex(column, row)
, you can set the environment variable
QT_QUICK_TABLEVIEW_COMPAT_VERSION
to
6.4
This method was introduced in Qt 6.4.
positionViewAtCell ( int column , int row , PositionMode mode , point offset , rect subRect ) |
This method is deprecated. We strongly advise against using it in new code.
使用 positionViewAtIndex(index (row, column), ...) instead.