Obsolete Members for TableView

QML 타입 TableView의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

메서드

  • 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)

메서드 문서

[deprecated] Point cellAtPos(point position, bool includeSpacing)

이 메서드는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 메서드를 사용하지 말 것을 강력히 권장합니다.

대신 ` cellAtPosition`(점 위치)를 사용하십시오.


[deprecated] Point cellAtPos(real x, real y, bool includeSpacing)

이 메서드는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 메서드를 사용하지 않는 것을 강력히 권장합니다.

대신 ` cellAtPosition(real x, real y)`를 사용하십시오.


[deprecated] Item itemAtCell(int column, int row)

이 메서드는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 메서드를 사용하지 않는 것을 강력히 권장합니다.

대신 itemAtIndex(index(row, column))을 사용하십시오.


[since 6.4, deprecated] QModelIndex modelIndex(int row, int column)

이 메서드는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 메서드를 사용하지 않는 것을 강력히 권장합니다.

대신 ` index(int row, int column)`을 사용하십시오.

참고: Qt 6.4.0과 Qt 6.4.2 간의 API 호환성 변경으로인해 , ` row `와 ` column `의 순서가 반대로 지정되었습니다. ` modelIndex(column, row)` 순서를 사용해야 하는 경우, 환경 변수 ` QT_QUICK_TABLEVIEW_COMPAT_VERSION `를 6.4

이 방법은 Qt 6.4에서 도입되었습니다.


[deprecated] void positionViewAtCell(int column, int row, PositionMode mode, point offset, rect subRect)

이 메서드는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 메서드를 사용하지 않는 것이 좋습니다.

대신 ` 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.