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)
  • 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(실수 x, 실수 y)를 사용하세요.


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

이 메서드는 더 이상 사용되지 않습니다. 새 코드에서 이 방법을 사용하지 않는 것이 좋습니다.

대신 itemAtIndex(index(행, 열)을 사용하세요.


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

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

대신 index(int 행, int 열)을 사용하세요.

참고: Qt 6.4.0과 Qt 6.4.2 사이의 API 호환성 변경으로 인해 rowcolumn 의 순서가 반대 순서로 지정되었습니다. 순서를 modelIndex(column, row) 로 지정하려면 환경 변수 QT_QUICK_TABLEVIEW_COMPAT_VERSION 를 다음과 같이 설정할 수 있습니다. 6.4

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


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

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

대신 positionViewAtIndex(index(행, 열), ...)를 사용하세요.


© 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.