ProtectedconstructorSnap HiddenReadonlyisWhether the underlying native model object has been destroyed.
ReadonlyonSignal fired when the model's overall layout or contents change.
ReadonlyonSignal fired when data in a contiguous range of cells changes, carrying the top-left and bottom-right indices and the affected roles.
ReadonlyonSignal fired when the model is reset and views must re-read all data.
ReadonlyonSignal fired after rows have been inserted under a parent, carrying the parent index and the inserted row range.
ReadonlyonSignal fired after rows have been removed under a parent, carrying the parent index and the removed row range.
Override that returns the number of columns under the given parent index.
Override that returns the value at the given index for the given role (for example display or decoration).
Override that returns the ItemFlag bitmask describing the cell's interactive capabilities.
Returns the name of this object's type.
Override that returns the header value for the given section, orientation, and role.
Override that constructs a ModelIndex for the cell at the given row and column under the given parent.
Returns true if the object is of the specified type.
Returns true if this object refers to the same instance as the given object.
Override that returns the mapping from numeric role identifiers to role name strings used by views.
Override that returns the number of rows under the given parent index.
Base class for custom item models implemented in plugin script; subclasses override rowCount, columnCount, data, headerData, flags, index, and roleNames to feed views like AbstractItemView.