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 TypeMethodDescriptionvoid
onDataChanged
(QtModelIndex topLeft, QtModelIndex bottomRight, int[] roles) Called when the data in an existing item changes.
-
Method Details
-
onDataChanged
Called when the data in an existing item changes.- Parameters:
topLeft
- The top-left index of changed itemsbottomRight
- The bottom-right index of changed itemsroles
- Changed roles; Empty array indicates all roles
-