Trait qmetaobject::tablemodel::QAbstractTableModel[][src]

pub trait QAbstractTableModel: QObject {
Show 18 methods fn row_count(&self) -> i32;
fn column_count(&self) -> i32;
fn data(&self, index: QModelIndex, role: i32) -> QVariant; fn get_object_description() -> &'static QObjectDescriptor
    where
        Self: Sized
, { ... }
fn set_data(
        &mut self,
        _index: QModelIndex,
        _value: &QVariant,
        _role: i32
    ) -> bool { ... }
fn role_names(&self) -> HashMap<i32, QByteArray> { ... }
fn begin_insert_rows(&mut self, first: i32, last: i32) { ... }
fn end_insert_rows(&mut self) { ... }
fn begin_insert_columns(&mut self, first: i32, last: i32) { ... }
fn end_insert_columns(&mut self) { ... }
fn begin_remove_rows(&mut self, first: i32, last: i32) { ... }
fn end_remove_rows(&mut self) { ... }
fn begin_remove_columns(&mut self, first: i32, last: i32) { ... }
fn end_remove_columns(&mut self) { ... }
fn begin_reset_model(&mut self) { ... }
fn end_reset_model(&mut self) { ... }
fn data_changed(&mut self, top_left: QModelIndex, bottom_right: QModelIndex) { ... }
fn index(&self, row: i32, col: i32) -> QModelIndex { ... }
}

Required methods

Refer to the Qt documentation of QAbstractTableModel::rowCount

Refer to the Qt documentation of QAbstractTableModel::columnCount

Refer to the Qt documentation of QAbstractTableModel::data

Provided methods

Refer to the Qt documentation of QAbstractTableModel::setData

Refer to the Qt documentation of QAbstractTableModel::roleNames

Refer to the Qt documentation of QAbstractItemModel::beginInsertRows

Refer to the Qt documentation of QAbstractItemModel::endInsertRows

Refer to the Qt documentation of QAbstractItemModel::beginInsertColumns

Refer to the Qt documentation of QAbstractItemModel::endInsertColumns

Refer to the Qt documentation of QAbstractItemModel::beginRemoveRows

Refer to the Qt documentation of QAbstractItemModel::endRemoveRows

Refer to the Qt documentation of QAbstractItemModel::beginRemoveColumns

Refer to the Qt documentation of QAbstractItemModel::endRemoveColumns

Refer to the Qt documentation of QAbstractItemModel::beginResetModel

Refer to the Qt documentation of QAbstractItemModel::endResetModel

Refer to the Qt documentation of QAbstractItemModel::dataChanged

Returns a QModelIndex for the given row and column

Implementors