Interface QtAbstractItemModel.OnDataChangedListener

Enclosing class:
QtAbstractItemModel

public static interface QtAbstractItemModel.OnDataChangedListener
Interface for a callback to be invoked when the data in an existing item changes.
Since:
6.8
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDataChanged(QtModelIndex topLeft, QtModelIndex bottomRight, int[] roles)
    Called when the data in an existing item changes.
  • Method Details

    • onDataChanged

      void onDataChanged(QtModelIndex topLeft, QtModelIndex bottomRight, int[] roles)
      Called when the data in an existing item changes.
      Parameters:
      topLeft - The top-left index of changed items
      bottomRight - The bottom-right index of changed items
      roles - Changed roles; Empty array indicates all roles