Struct qmetaobject::listmodel::SimpleListModel [−][src]
pub struct SimpleListModel<T: SimpleListItem + 'static> { /* fields omitted */ }
Expand description
A simple QAbstractListModel which just wrap a vector of items.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
impl<'a, T> FromIterator<&'a T> for SimpleListModel<T> where
T: SimpleListItem + Default + Clone,
impl<'a, T> FromIterator<&'a T> for SimpleListModel<T> where
T: SimpleListItem + Default + Clone,
Creates a value from an iterator. Read more
Creates a value from an iterator. Read more
Refer to the Qt documentation of QAbstractListModel::data
Refer to the Qt documentation of QAbstractListModel::roleNames
Required for the implementation detail of the QObject custom derive
Refer to the Qt documentation of QAbstractListModel::setData
Refer to the Qt documentation of QAbstractListModel::beginInsertRows
Refer to the Qt documentation of QAbstractListModel::endInsertRows
Refer to the Qt documentation of QAbstractListModel::beginRemoveRows
Refer to the Qt documentation of QAbstractListModel::endRemoveRows
Refer to the Qt documentation of QAbstractListModel::beginResetModel
Refer to the Qt documentation of QAbstractListModel::endResetModel
Refer to the Qt documentation of QAbstractListModel::dataChanged
Returns a QModelIndex for the given row (in the first column)
Returns a pointer to a meta object
Returns a pointer to a meta object
return a C++ pointer to the QObject* (can be null if not yet initialized)
Return a rust object belonging to a C++ object
Construct the C++ Object. Read more
Construct the C++ Object, suitable for callbacks to construct QML objects.
Returns a QObjectDescriptor for this type