Skip to main content

QListModelProxyRust

Type Alias QListModelProxyRust 

Source
pub type QListModelProxyRust = GenericRustProxy<QListModelProxyCpp, dyn QListModelAdapter>;

Aliased Type§

pub struct QListModelProxyRust { /* private fields */ }

Implementations§

Source§

impl QListModelProxyRust

Source

pub fn index(&self, row: i32, column: i32, parent: &QModelIndex) -> QModelIndex

Source

pub fn row_count(&self, parent: &QModelIndex) -> i32

Source

pub fn data(&self, index: &QModelIndex, role: i32) -> QVariant

Source

pub fn role_names(&self) -> QHash_i32_QByteArray

Source

pub fn set_data(&self, index: &QModelIndex, value: &QVariant, role: i32) -> bool

Source

pub fn remove_rows(&self, first: i32, count: i32, parent: &QModelIndex) -> bool

Source

pub fn sibling(&self, row: i32, column: i32, idx: &QModelIndex) -> QModelIndex

Source

pub fn base_index( &self, reference: &dyn QListModelAdapter, row: i32, column: i32, parent: &QModelIndex, ) -> QModelIndex

Source

pub fn base_role_names( &self, reference: &dyn QListModelAdapter, ) -> QHash_i32_QByteArray

Source

pub fn base_set_data( &self, mut_ref: &mut dyn QListModelAdapter, index: &QModelIndex, value: &QVariant, role: i32, ) -> bool

Source

pub fn base_remove_rows( &self, mut_ref: &mut dyn QListModelAdapter, first: i32, count: i32, parent: &QModelIndex, ) -> bool

Source

pub fn base_sibling( &self, reference: &dyn QListModelAdapter, row: i32, column: i32, idx: &QModelIndex, ) -> QModelIndex

Source

pub fn base_data_changed( &self, mut_ref: &mut dyn QListModelAdapter, top_left: &QModelIndex, bottom_right: &QModelIndex, )

Source

pub fn base_begin_insert_rows( &self, mut_ref: &mut dyn QListModelAdapter, parent: &QModelIndex, first: i32, last: i32, )

Source

pub fn base_end_insert_rows(&self, mut_ref: &mut dyn QListModelAdapter)

Source

pub fn base_begin_move_rows( &self, mut_ref: &mut dyn QListModelAdapter, source_parent: &QModelIndex, source_first: i32, source_last: i32, destination_parent: &QModelIndex, destination_child: i32, )

Source

pub fn base_end_move_rows(&self, mut_ref: &mut dyn QListModelAdapter)

Source

pub fn base_begin_remove_rows( &self, mut_ref: &mut dyn QListModelAdapter, parent: &QModelIndex, first: i32, last: i32, )

Source

pub fn base_end_remove_rows(&self, mut_ref: &mut dyn QListModelAdapter)

Source

pub fn base_begin_reset_model(&self, mut_ref: &mut dyn QListModelAdapter)

Source

pub fn base_end_reset_model(&self, mut_ref: &mut dyn QListModelAdapter)

Trait Implementations§

Source§

impl<T: QListModelAdapter + 'static> AdapterUpcast<T> for QListModelProxyRust

Source§

fn upcast(rc: Rc<RefCell<T>>) -> Rc<RefCell<dyn QListModelAdapter>>

Source§

impl ExternType for QListModelProxyRust

Source§

type Id = (Q, L, i, s, t, M, o, d, e, l, P, r, o, x, y, R, u, s, t)

A type-level representation of the type’s C++ namespace and type name. Read more
Source§

type Kind = Trivial