Obsolete Members for TableView
Los siguientes miembros del tipo TableView de QML están obsoletos. Se mantienen para que el código fuente antiguo siga funcionando. Recomendamos encarecidamente no utilizarlos en código nuevo.
Métodos
- Point cellAtPos(point position, bool includeSpacing)
(deprecated) - Point cellAtPos(real x, real y, bool includeSpacing)
(deprecated) - Item itemAtCell(int column, int row)
(deprecated) - QModelIndex modelIndex(int row, int column)
(since 6.4, deprecated) - void positionViewAtCell(int column, int row, PositionMode mode, point offset, rect subRect)
(deprecated)
Documentación de métodos
[deprecated] Point cellAtPos(point position, bool includeSpacing)
Este método está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Utiliza en su lugar ` cellAtPosition` (posición puntual).
[deprecated] Point cellAtPos(real x, real y, bool includeSpacing)
Este método está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Utiliza en su lugar ` cellAtPosition(real x, real y)`.
[deprecated] Item itemAtCell(int column, int row)
Este método está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Utiliza en su lugar ` itemAtIndex(index(row, column))`.
[since 6.4, deprecated] QModelIndex modelIndex(int row, int column)
Este método está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Utiliza en su lugar index(int row, int column).
Nota: Debido a un cambio incompatible con la API entre Qt 6.4.0 y Qt 6.4.2, el orden de ` row ` y ` column ` se especificó en orden inverso. Si necesitas que el orden sea ` modelIndex(column, row)`, puedes establecer la variable de entorno ` QT_QUICK_TABLEVIEW_COMPAT_VERSION ` en 6.4
Este método se introdujo en Qt 6.4.
[deprecated] void positionViewAtCell(int column, int row, PositionMode mode, point offset, rect subRect)
Este método está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Utiliza en su lugar ` positionViewAtIndex(index(row, column), ...)`.
© 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.