[][src]Struct qt_core::QTransposeProxyModel

#[repr(C)]pub struct QTransposeProxyModel { /* fields omitted */ }

This model will make the rows of the source model become columns of the proxy model and vice-versa.

C++ class: QTransposeProxyModel.

C++ documentation:

This model will make the rows of the source model become columns of the proxy model and vice-versa.

If the model is a tree, the parents will be transposed as well. For example, if an index in the source model had parent `index(2,0)`, it will have parent `index(0,2)` in the proxy.

Methods

impl QTransposeProxyModel[src]

pub unsafe fn column_count_1a(
    &self,
    parent: impl CastInto<Ref<QModelIndex>>
) -> c_int
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::columnCount(const QModelIndex &parent) const.

Calls C++ function: virtual int QTransposeProxyModel::columnCount(const QModelIndex& parent = …) const.

C++ documentation:

Reimplements: QAbstractItemModel::columnCount(const QModelIndex &parent) const.

pub unsafe fn column_count_0a(&self) -> c_int[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::columnCount(const QModelIndex &parent) const.

Calls C++ function: virtual int QTransposeProxyModel::columnCount() const.

C++ documentation:

Reimplements: QAbstractItemModel::columnCount(const QModelIndex &parent) const.

pub unsafe fn header_data_3a(
    &self,
    section: c_int,
    orientation: Orientation,
    role: c_int
) -> CppBox<QVariant>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::headerData(int section, Qt::Orientation orientation, int role) const.

Calls C++ function: virtual QVariant QTransposeProxyModel::headerData(int section, Qt::Orientation orientation, int role = …) const.

C++ documentation:

Reimplements: QAbstractProxyModel::headerData(int section, Qt::Orientation orientation, int role) const.

See also setHeaderData().

pub unsafe fn header_data_2a(
    &self,
    section: c_int,
    orientation: Orientation
) -> CppBox<QVariant>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::headerData(int section, Qt::Orientation orientation, int role) const.

Calls C++ function: virtual QVariant QTransposeProxyModel::headerData(int section, Qt::Orientation orientation) const.

C++ documentation:

Reimplements: QAbstractProxyModel::headerData(int section, Qt::Orientation orientation, int role) const.

See also setHeaderData().

pub unsafe fn index_3a(
    &self,
    row: c_int,
    column: c_int,
    parent: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::index(int row, int column, const QModelIndex &parent) const.

Calls C++ function: virtual QModelIndex QTransposeProxyModel::index(int row, int column, const QModelIndex& parent = …) const.

C++ documentation:

Reimplements: QAbstractItemModel::index(int row, int column, const QModelIndex &parent) const.

pub unsafe fn index_2a(&self, row: c_int, column: c_int) -> CppBox<QModelIndex>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::index(int row, int column, const QModelIndex &parent) const.

Calls C++ function: virtual QModelIndex QTransposeProxyModel::index(int row, int column) const.

C++ documentation:

Reimplements: QAbstractItemModel::index(int row, int column, const QModelIndex &parent) const.

pub unsafe fn insert_columns_3a(
    &self,
    column: c_int,
    count: c_int,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::insertColumns(int column, int count, const QModelIndex& parent = …).

C++ documentation:

Reimplements: QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent).

pub unsafe fn insert_columns_2a(&self, column: c_int, count: c_int) -> bool[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::insertColumns(int column, int count).

C++ documentation:

Reimplements: QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent).

pub unsafe fn insert_rows_3a(
    &self,
    row: c_int,
    count: c_int,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::insertRows(int row, int count, const QModelIndex& parent = …).

C++ documentation:

Reimplements: QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent).

pub unsafe fn insert_rows_2a(&self, row: c_int, count: c_int) -> bool[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::insertRows(int row, int count).

C++ documentation:

Reimplements: QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent).

pub unsafe fn item_data(
    &self,
    index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QMapOfIntQVariant>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::itemData(const QModelIndex &proxyIndex) const.

Calls C++ function: virtual QMap<int, QVariant> QTransposeProxyModel::itemData(const QModelIndex& index) const.

C++ documentation:

Reimplements: QAbstractProxyModel::itemData(const QModelIndex &proxyIndex) const.

See also setItemData().

pub unsafe fn map_from_source(
    &self,
    source_index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::mapFromSource(const QModelIndex &sourceIndex) const.

Calls C++ function: virtual QModelIndex QTransposeProxyModel::mapFromSource(const QModelIndex& sourceIndex) const.

C++ documentation:

Reimplements: QAbstractProxyModel::mapFromSource(const QModelIndex &sourceIndex) const.

pub unsafe fn map_to_source(
    &self,
    proxy_index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::mapToSource(const QModelIndex &proxyIndex) const.

Calls C++ function: virtual QModelIndex QTransposeProxyModel::mapToSource(const QModelIndex& proxyIndex) const.

C++ documentation:

Reimplements: QAbstractProxyModel::mapToSource(const QModelIndex &proxyIndex) const.

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: virtual const QMetaObject* QTransposeProxyModel::metaObject() const.

pub unsafe fn move_columns(
    &self,
    source_parent: impl CastInto<Ref<QModelIndex>>,
    source_column: c_int,
    count: c_int,
    destination_parent: impl CastInto<Ref<QModelIndex>>,
    destination_child: c_int
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild).

Calls C++ function: virtual bool QTransposeProxyModel::moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild).

C++ documentation:

Reimplements: QAbstractItemModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild).

pub unsafe fn move_rows(
    &self,
    source_parent: impl CastInto<Ref<QModelIndex>>,
    source_row: c_int,
    count: c_int,
    destination_parent: impl CastInto<Ref<QModelIndex>>,
    destination_child: c_int
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild).

Calls C++ function: virtual bool QTransposeProxyModel::moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild).

C++ documentation:

Reimplements: QAbstractItemModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild).

pub unsafe fn new_1a(
    parent: impl CastInto<Ptr<QObject>>
) -> QBox<QTransposeProxyModel>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Constructs a new proxy model with the given parent.

Calls C++ function: [constructor] void QTransposeProxyModel::QTransposeProxyModel(QObject* parent = …).

C++ documentation:

Constructs a new proxy model with the given parent.

pub unsafe fn new_0a() -> QBox<QTransposeProxyModel>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

This model will make the rows of the source model become columns of the proxy model and vice-versa.

Calls C++ function: [constructor] void QTransposeProxyModel::QTransposeProxyModel().

C++ documentation:

This model will make the rows of the source model become columns of the proxy model and vice-versa.

If the model is a tree, the parents will be transposed as well. For example, if an index in the source model had parent `index(2,0)`, it will have parent `index(0,2)` in the proxy.

pub unsafe fn parent(
    &self,
    index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::parent(const QModelIndex &index) const.

Calls C++ function: virtual QModelIndex QTransposeProxyModel::parent(const QModelIndex& index) const.

C++ documentation:

Reimplements: QAbstractItemModel::parent(const QModelIndex &index) const.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: virtual int QTransposeProxyModel::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: virtual void* QTransposeProxyModel::qt_metacast(const char* arg1).

pub unsafe fn remove_columns_3a(
    &self,
    column: c_int,
    count: c_int,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::removeColumns(int column, int count, const QModelIndex& parent = …).

C++ documentation:

Reimplements: QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent).

pub unsafe fn remove_columns_2a(&self, column: c_int, count: c_int) -> bool[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::removeColumns(int column, int count).

C++ documentation:

Reimplements: QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent).

pub unsafe fn remove_rows_3a(
    &self,
    row: c_int,
    count: c_int,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::removeRows(int row, int count, const QModelIndex& parent = …).

C++ documentation:

Reimplements: QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent).

pub unsafe fn remove_rows_2a(&self, row: c_int, count: c_int) -> bool[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent).

Calls C++ function: virtual bool QTransposeProxyModel::removeRows(int row, int count).

C++ documentation:

Reimplements: QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent).

pub unsafe fn row_count_1a(
    &self,
    parent: impl CastInto<Ref<QModelIndex>>
) -> c_int
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::rowCount(const QModelIndex &parent) const.

Calls C++ function: virtual int QTransposeProxyModel::rowCount(const QModelIndex& parent = …) const.

C++ documentation:

Reimplements: QAbstractItemModel::rowCount(const QModelIndex &parent) const.

pub unsafe fn row_count_0a(&self) -> c_int[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractItemModel::rowCount(const QModelIndex &parent) const.

Calls C++ function: virtual int QTransposeProxyModel::rowCount() const.

C++ documentation:

Reimplements: QAbstractItemModel::rowCount(const QModelIndex &parent) const.

pub unsafe fn set_header_data_4a(
    &self,
    section: c_int,
    orientation: Orientation,
    value: impl CastInto<Ref<QVariant>>,
    role: c_int
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role).

Calls C++ function: virtual bool QTransposeProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = …).

C++ documentation:

Reimplements: QAbstractProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role).

See also headerData().

pub unsafe fn set_header_data_3a(
    &self,
    section: c_int,
    orientation: Orientation,
    value: impl CastInto<Ref<QVariant>>
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role).

Calls C++ function: virtual bool QTransposeProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value).

C++ documentation:

Reimplements: QAbstractProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role).

See also headerData().

pub unsafe fn set_item_data(
    &self,
    index: impl CastInto<Ref<QModelIndex>>,
    roles: impl CastInto<Ref<QMapOfIntQVariant>>
) -> bool
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::setItemData(const QModelIndex &index, const QMap<int, QVariant> &roles).

Calls C++ function: virtual bool QTransposeProxyModel::setItemData(const QModelIndex& index, const QMap<int, QVariant>& roles).

C++ documentation:

Reimplements: QAbstractProxyModel::setItemData(const QModelIndex &index, const QMap<int, QVariant> &roles).

See also itemData().

pub unsafe fn set_source_model(
    &self,
    new_source_model: impl CastInto<Ptr<QAbstractItemModel>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::setSourceModel(QAbstractItemModel *sourceModel).

Calls C++ function: virtual void QTransposeProxyModel::setSourceModel(QAbstractItemModel* newSourceModel).

C++ documentation:

Reimplements: QAbstractProxyModel::setSourceModel(QAbstractItemModel *sourceModel).

pub unsafe fn sort_2a(&self, column: c_int, order: SortOrder)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::sort(int column, Qt::SortOrder order).

Calls C++ function: virtual void QTransposeProxyModel::sort(int column, Qt::SortOrder order = …).

C++ documentation:

Reimplements: QAbstractProxyModel::sort(int column, Qt::SortOrder order).

This method will perform no action. Use a QSortFilterProxyModel on top of this one if you require sorting.

pub unsafe fn sort_1a(&self, column: c_int)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::sort(int column, Qt::SortOrder order).

Calls C++ function: virtual void QTransposeProxyModel::sort(int column).

C++ documentation:

Reimplements: QAbstractProxyModel::sort(int column, Qt::SortOrder order).

This method will perform no action. Use a QSortFilterProxyModel on top of this one if you require sorting.

pub unsafe fn span(
    &self,
    index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QSize>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Reimplements: QAbstractProxyModel::span(const QModelIndex &index) const.

Calls C++ function: virtual QSize QTransposeProxyModel::span(const QModelIndex& index) const.

C++ documentation:

Reimplements: QAbstractProxyModel::span(const QModelIndex &index) const.

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns a reference to the staticMetaObject field.

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: static QString QTransposeProxyModel::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: static QString QTransposeProxyModel::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QAbstractProxyModel>

pub fn source_model_changed(&self) -> Signal<()>[src]

This property holds the source model of this proxy model.

Returns a built-in Qt signal QAbstractProxyModel::sourceModelChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the source model of this proxy model.

Access functions:

QAbstractItemModel *sourceModel() const
virtual void setSourceModel(QAbstractItemModel *sourceModel)

Notifier signal:

void sourceModelChanged()[see note below]

Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.

pub fn slot_reset_internal_data(&self) -> Receiver<()>[src]

Clears the roleNames of this proxy model.

Returns a built-in Qt slot QAbstractProxyModel::resetInternalData that can be passed to qt_core::Signal::connect.

C++ documentation:

Clears the roleNames of this proxy model.

pub unsafe fn buddy(
    &self,
    index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

Reimplemented from QAbstractItemModel::buddy().

Calls C++ function: virtual QModelIndex QAbstractProxyModel::buddy(const QModelIndex& index) const.

C++ documentation:

Reimplemented from QAbstractItemModel::buddy().

pub unsafe fn can_drop_mime_data(
    &self,
    data: impl CastInto<Ptr<QMimeData>>,
    action: DropAction,
    row: c_int,
    column: c_int,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

Reimplemented from QAbstractItemModel::canDropMimeData().

Calls C++ function: virtual bool QAbstractProxyModel::canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const.

C++ documentation:

Reimplemented from QAbstractItemModel::canDropMimeData().

This function was introduced in Qt 5.4.

pub unsafe fn can_fetch_more(
    &self,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

Reimplemented from QAbstractItemModel::canFetchMore().

Calls C++ function: virtual bool QAbstractProxyModel::canFetchMore(const QModelIndex& parent) const.

C++ documentation:

Reimplemented from QAbstractItemModel::canFetchMore().

pub unsafe fn data_2a(
    &self,
    proxy_index: impl CastInto<Ref<QModelIndex>>,
    role: c_int
) -> CppBox<QVariant>
[src]

Reimplemented from QAbstractItemModel::data().

Calls C++ function: virtual QVariant QAbstractProxyModel::data(const QModelIndex& proxyIndex, int role = …) const.

C++ documentation:

Reimplemented from QAbstractItemModel::data().

See also setData().

pub unsafe fn data_1a(
    &self,
    proxy_index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QVariant>
[src]

Reimplemented from QAbstractItemModel::data().

Calls C++ function: virtual QVariant QAbstractProxyModel::data(const QModelIndex& proxyIndex) const.

C++ documentation:

Reimplemented from QAbstractItemModel::data().

See also setData().

pub unsafe fn drop_mime_data(
    &self,
    data: impl CastInto<Ptr<QMimeData>>,
    action: DropAction,
    row: c_int,
    column: c_int,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

Reimplemented from QAbstractItemModel::dropMimeData().

Calls C++ function: virtual bool QAbstractProxyModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent).

C++ documentation:

Reimplemented from QAbstractItemModel::dropMimeData().

This function was introduced in Qt 5.4.

pub unsafe fn fetch_more(&self, parent: impl CastInto<Ref<QModelIndex>>)[src]

Reimplemented from QAbstractItemModel::fetchMore().

Calls C++ function: virtual void QAbstractProxyModel::fetchMore(const QModelIndex& parent).

C++ documentation:

Reimplemented from QAbstractItemModel::fetchMore().

pub unsafe fn flags(
    &self,
    index: impl CastInto<Ref<QModelIndex>>
) -> QFlags<ItemFlag>
[src]

Reimplemented from QAbstractItemModel::flags().

Calls C++ function: virtual QFlags<Qt::ItemFlag> QAbstractProxyModel::flags(const QModelIndex& index) const.

C++ documentation:

Reimplemented from QAbstractItemModel::flags().

pub unsafe fn has_children_1a(
    &self,
    parent: impl CastInto<Ref<QModelIndex>>
) -> bool
[src]

Reimplemented from QAbstractItemModel::hasChildren().

Calls C++ function: virtual bool QAbstractProxyModel::hasChildren(const QModelIndex& parent = …) const.

C++ documentation:

Reimplemented from QAbstractItemModel::hasChildren().

pub unsafe fn has_children_0a(&self) -> bool[src]

Reimplemented from QAbstractItemModel::hasChildren().

Calls C++ function: virtual bool QAbstractProxyModel::hasChildren() const.

C++ documentation:

Reimplemented from QAbstractItemModel::hasChildren().

pub unsafe fn header_data_3a(
    &self,
    section: c_int,
    orientation: Orientation,
    role: c_int
) -> CppBox<QVariant>
[src]

Reimplemented from QAbstractItemModel::headerData().

Calls C++ function: virtual QVariant QAbstractProxyModel::headerData(int section, Qt::Orientation orientation, int role = …) const.

C++ documentation:

Reimplemented from QAbstractItemModel::headerData().

See also setHeaderData().

pub unsafe fn header_data_2a(
    &self,
    section: c_int,
    orientation: Orientation
) -> CppBox<QVariant>
[src]

Reimplemented from QAbstractItemModel::headerData().

Calls C++ function: virtual QVariant QAbstractProxyModel::headerData(int section, Qt::Orientation orientation) const.

C++ documentation:

Reimplemented from QAbstractItemModel::headerData().

See also setHeaderData().

pub unsafe fn item_data(
    &self,
    index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QMapOfIntQVariant>
[src]

Reimplemented from QAbstractItemModel::itemData().

Calls C++ function: virtual QMap<int, QVariant> QAbstractProxyModel::itemData(const QModelIndex& index) const.

C++ documentation:

Reimplemented from QAbstractItemModel::itemData().

See also setItemData().

pub unsafe fn map_from_source(
    &self,
    source_index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

Reimplement this function to return the model index in the proxy model that corresponds to the sourceIndex from the source model.

Calls C++ function: pure virtual QModelIndex QAbstractProxyModel::mapFromSource(const QModelIndex& sourceIndex) const.

C++ documentation:

Reimplement this function to return the model index in the proxy model that corresponds to the sourceIndex from the source model.

See also mapToSource().

pub unsafe fn map_selection_from_source(
    &self,
    selection: impl CastInto<Ref<QItemSelection>>
) -> CppBox<QItemSelection>
[src]

Returns a proxy selection mapped from the specified sourceSelection.

Calls C++ function: virtual QItemSelection QAbstractProxyModel::mapSelectionFromSource(const QItemSelection& selection) const.

C++ documentation:

Returns a proxy selection mapped from the specified sourceSelection.

Reimplement this method to map source selections to proxy selections.

pub unsafe fn map_selection_to_source(
    &self,
    selection: impl CastInto<Ref<QItemSelection>>
) -> CppBox<QItemSelection>
[src]

Returns a source selection mapped from the specified proxySelection.

Calls C++ function: virtual QItemSelection QAbstractProxyModel::mapSelectionToSource(const QItemSelection& selection) const.

C++ documentation:

Returns a source selection mapped from the specified proxySelection.

Reimplement this method to map proxy selections to source selections.

pub unsafe fn map_to_source(
    &self,
    proxy_index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

Reimplement this function to return the model index in the source model that corresponds to the proxyIndex in the proxy model.

Calls C++ function: pure virtual QModelIndex QAbstractProxyModel::mapToSource(const QModelIndex& proxyIndex) const.

C++ documentation:

Reimplement this function to return the model index in the source model that corresponds to the proxyIndex in the proxy model.

See also mapFromSource().

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* QAbstractProxyModel::metaObject() const.

pub unsafe fn mime_data(
    &self,
    indexes: impl CastInto<Ref<QListOfQModelIndex>>
) -> QPtr<QMimeData>
[src]

Reimplemented from QAbstractItemModel::mimeData().

Calls C++ function: virtual QMimeData* QAbstractProxyModel::mimeData(const QList<QModelIndex>& indexes) const.

C++ documentation:

Reimplemented from QAbstractItemModel::mimeData().

pub unsafe fn mime_types(&self) -> CppBox<QStringList>[src]

Reimplemented from QAbstractItemModel::mimeTypes().

Calls C++ function: virtual QStringList QAbstractProxyModel::mimeTypes() const.

C++ documentation:

Reimplemented from QAbstractItemModel::mimeTypes().

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int QAbstractProxyModel::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* QAbstractProxyModel::qt_metacast(const char* arg1).

pub unsafe fn revert(&self)[src]

Reimplemented from QAbstractItemModel::revert().

Calls C++ function: virtual void QAbstractProxyModel::revert().

C++ documentation:

Reimplemented from QAbstractItemModel::revert().

pub unsafe fn set_data_3a(
    &self,
    index: impl CastInto<Ref<QModelIndex>>,
    value: impl CastInto<Ref<QVariant>>,
    role: c_int
) -> bool
[src]

Reimplemented from QAbstractItemModel::setData().

Calls C++ function: virtual bool QAbstractProxyModel::setData(const QModelIndex& index, const QVariant& value, int role = …).

C++ documentation:

Reimplemented from QAbstractItemModel::setData().

See also data().

pub unsafe fn set_data_2a(
    &self,
    index: impl CastInto<Ref<QModelIndex>>,
    value: impl CastInto<Ref<QVariant>>
) -> bool
[src]

Reimplemented from QAbstractItemModel::setData().

Calls C++ function: virtual bool QAbstractProxyModel::setData(const QModelIndex& index, const QVariant& value).

C++ documentation:

Reimplemented from QAbstractItemModel::setData().

See also data().

pub unsafe fn set_header_data_4a(
    &self,
    section: c_int,
    orientation: Orientation,
    value: impl CastInto<Ref<QVariant>>,
    role: c_int
) -> bool
[src]

Reimplemented from QAbstractItemModel::setHeaderData().

Calls C++ function: virtual bool QAbstractProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = …).

C++ documentation:

Reimplemented from QAbstractItemModel::setHeaderData().

See also headerData().

pub unsafe fn set_header_data_3a(
    &self,
    section: c_int,
    orientation: Orientation,
    value: impl CastInto<Ref<QVariant>>
) -> bool
[src]

Reimplemented from QAbstractItemModel::setHeaderData().

Calls C++ function: virtual bool QAbstractProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value).

C++ documentation:

Reimplemented from QAbstractItemModel::setHeaderData().

See also headerData().

pub unsafe fn set_item_data(
    &self,
    index: impl CastInto<Ref<QModelIndex>>,
    roles: impl CastInto<Ref<QMapOfIntQVariant>>
) -> bool
[src]

Reimplemented from QAbstractItemModel::setItemData().

Calls C++ function: virtual bool QAbstractProxyModel::setItemData(const QModelIndex& index, const QMap<int, QVariant>& roles).

C++ documentation:

Reimplemented from QAbstractItemModel::setItemData().

See also itemData().

pub unsafe fn set_source_model(
    &self,
    source_model: impl CastInto<Ptr<QAbstractItemModel>>
)
[src]

Sets the given sourceModel to be processed by the proxy model.

Calls C++ function: virtual void QAbstractProxyModel::setSourceModel(QAbstractItemModel* sourceModel).

C++ documentation:

Sets the given sourceModel to be processed by the proxy model.

Subclasses should call beginResetModel() at the beginning of the method, disconnect from the old model, call this method, connect to the new model, and call endResetModel().

Note: Setter function for property sourceModel.

See also sourceModel().

pub unsafe fn sibling(
    &self,
    row: c_int,
    column: c_int,
    idx: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QModelIndex>
[src]

Reimplemented from QAbstractItemModel::sibling().

Calls C++ function: virtual QModelIndex QAbstractProxyModel::sibling(int row, int column, const QModelIndex& idx) const.

C++ documentation:

Reimplemented from QAbstractItemModel::sibling().

pub unsafe fn sort_2a(&self, column: c_int, order: SortOrder)[src]

Reimplemented from QAbstractItemModel::sort().

Calls C++ function: virtual void QAbstractProxyModel::sort(int column, Qt::SortOrder order = …).

C++ documentation:

Reimplemented from QAbstractItemModel::sort().

pub unsafe fn sort_1a(&self, column: c_int)[src]

Reimplemented from QAbstractItemModel::sort().

Calls C++ function: virtual void QAbstractProxyModel::sort(int column).

C++ documentation:

Reimplemented from QAbstractItemModel::sort().

pub unsafe fn source_model(&self) -> QPtr<QAbstractItemModel>[src]

This property holds the source model of this proxy model.

Calls C++ function: QAbstractItemModel* QAbstractProxyModel::sourceModel() const.

C++ documentation:

This property holds the source model of this proxy model.

Access functions:

QAbstractItemModel *sourceModel() const
virtual void setSourceModel(QAbstractItemModel *sourceModel)

Notifier signal:

void sourceModelChanged()[see note below]

Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.

pub unsafe fn span(
    &self,
    index: impl CastInto<Ref<QModelIndex>>
) -> CppBox<QSize>
[src]

Reimplemented from QAbstractItemModel::span().

Calls C++ function: virtual QSize QAbstractProxyModel::span(const QModelIndex& index) const.

C++ documentation:

Reimplemented from QAbstractItemModel::span().

pub unsafe fn submit(&self) -> bool[src]

Reimplemented from QAbstractItemModel::submit().

Calls C++ function: virtual bool QAbstractProxyModel::submit().

C++ documentation:

Reimplemented from QAbstractItemModel::submit().

pub unsafe fn supported_drag_actions(&self) -> QFlags<DropAction>[src]

Reimplemented from QAbstractItemModel::supportedDragActions().

Calls C++ function: virtual QFlags<Qt::DropAction> QAbstractProxyModel::supportedDragActions() const.

C++ documentation:

Reimplemented from QAbstractItemModel::supportedDragActions().

pub unsafe fn supported_drop_actions(&self) -> QFlags<DropAction>[src]

Reimplemented from QAbstractItemModel::supportedDropActions().

Calls C++ function: virtual QFlags<Qt::DropAction> QAbstractProxyModel::supportedDropActions() const.

C++ documentation:

Reimplemented from QAbstractItemModel::supportedDropActions().

Trait Implementations

impl CppDeletable for QTransposeProxyModel[src]

unsafe fn delete(&self)[src]

Destructs the proxy model.

Calls C++ function: virtual [destructor] void QTransposeProxyModel::~QTransposeProxyModel().

C++ documentation:

Destructs the proxy model.

impl Deref for QTransposeProxyModel[src]

type Target = QAbstractProxyModel

The resulting type after dereferencing.

fn deref(&self) -> &QAbstractProxyModel[src]

Calls C++ function: QAbstractProxyModel* static_cast<QAbstractProxyModel*>(QTransposeProxyModel* ptr).

impl DynamicCast<QTransposeProxyModel> for QAbstractProxyModel[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QAbstractProxyModel>
) -> Ptr<QTransposeProxyModel>
[src]

Calls C++ function: QTransposeProxyModel* dynamic_cast<QTransposeProxyModel*>(QAbstractProxyModel* ptr).

impl DynamicCast<QTransposeProxyModel> for QAbstractItemModel[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QAbstractItemModel>
) -> Ptr<QTransposeProxyModel>
[src]

Calls C++ function: QTransposeProxyModel* dynamic_cast<QTransposeProxyModel*>(QAbstractItemModel* ptr).

impl DynamicCast<QTransposeProxyModel> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTransposeProxyModel>[src]

Calls C++ function: QTransposeProxyModel* dynamic_cast<QTransposeProxyModel*>(QObject* ptr).

impl StaticDowncast<QTransposeProxyModel> for QAbstractProxyModel[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractProxyModel>
) -> Ptr<QTransposeProxyModel>
[src]

Calls C++ function: QTransposeProxyModel* static_cast<QTransposeProxyModel*>(QAbstractProxyModel* ptr).

impl StaticDowncast<QTransposeProxyModel> for QAbstractItemModel[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractItemModel>
) -> Ptr<QTransposeProxyModel>
[src]

Calls C++ function: QTransposeProxyModel* static_cast<QTransposeProxyModel*>(QAbstractItemModel* ptr).

impl StaticDowncast<QTransposeProxyModel> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTransposeProxyModel>[src]

Calls C++ function: QTransposeProxyModel* static_cast<QTransposeProxyModel*>(QObject* ptr).

impl StaticUpcast<QAbstractItemModel> for QTransposeProxyModel[src]

unsafe fn static_upcast(
    ptr: Ptr<QTransposeProxyModel>
) -> Ptr<QAbstractItemModel>
[src]

Calls C++ function: QAbstractItemModel* static_cast<QAbstractItemModel*>(QTransposeProxyModel* ptr).

impl StaticUpcast<QAbstractProxyModel> for QTransposeProxyModel[src]

unsafe fn static_upcast(
    ptr: Ptr<QTransposeProxyModel>
) -> Ptr<QAbstractProxyModel>
[src]

Calls C++ function: QAbstractProxyModel* static_cast<QAbstractProxyModel*>(QTransposeProxyModel* ptr).

impl StaticUpcast<QObject> for QTransposeProxyModel[src]

unsafe fn static_upcast(ptr: Ptr<QTransposeProxyModel>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(QTransposeProxyModel* ptr).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.