#[repr(C)]
pub struct QAccessibleTableInterface { /* private fields */ }
Expand description

The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.

C++ class: QAccessibleTableInterface.

C++ documentation:

The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.

IAccessible2 Specification

Implementations§

source§

impl QAccessibleTableInterface

source

pub unsafe fn caption(&self) -> Ptr<QAccessibleInterface>

Returns the caption for the table.

Calls C++ function: pure virtual QAccessibleInterface* QAccessibleTableInterface::caption() const.

C++ documentation:

Returns the caption for the table.

source

pub unsafe fn cell_at( &self, row: c_int, column: c_int ) -> Ptr<QAccessibleInterface>

Returns the cell at the specified row and column in the table.

Calls C++ function: pure virtual QAccessibleInterface* QAccessibleTableInterface::cellAt(int row, int column) const.

C++ documentation:

Returns the cell at the specified row and column in the table.

source

pub unsafe fn column_count(&self) -> c_int

Returns the total number of columns in table.

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

C++ documentation:

Returns the total number of columns in table.

source

pub unsafe fn column_description(&self, column: c_int) -> CppBox<QString>

Returns the description text of the specified column in the table.

Calls C++ function: pure virtual QString QAccessibleTableInterface::columnDescription(int column) const.

C++ documentation:

Returns the description text of the specified column in the table.

source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QAccessibleTableInterface>> ) -> Ref<QAccessibleTableInterface>

The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.

Calls C++ function: QAccessibleTableInterface& QAccessibleTableInterface::operator=(const QAccessibleTableInterface& other).

C++ documentation:

The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.

IAccessible2 Specification

source

pub unsafe fn is_column_selected(&self, column: c_int) -> bool

Returns a boolean value indicating whether the specified column is completely selected.

Calls C++ function: pure virtual bool QAccessibleTableInterface::isColumnSelected(int column) const.

C++ documentation:

Returns a boolean value indicating whether the specified column is completely selected.

source

pub unsafe fn is_row_selected(&self, row: c_int) -> bool

Returns a boolean value indicating whether the specified row is completely selected.

Calls C++ function: pure virtual bool QAccessibleTableInterface::isRowSelected(int row) const.

C++ documentation:

Returns a boolean value indicating whether the specified row is completely selected.

source

pub unsafe fn model_change( &self, event: impl CastInto<Ptr<QAccessibleTableModelChangeEvent>> )

Informs about a change in the model's layout. The event contains the details.

Calls C++ function: pure virtual void QAccessibleTableInterface::modelChange(QAccessibleTableModelChangeEvent* event).

C++ documentation:

Informs about a change in the model’s layout. The event contains the details.

See also QAccessibleTableModelChangeEvent.

source

pub unsafe fn row_count(&self) -> c_int

Returns the total number of rows in table.

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

C++ documentation:

Returns the total number of rows in table.

source

pub unsafe fn row_description(&self, row: c_int) -> CppBox<QString>

Returns the description text of the specified row in the table.

Calls C++ function: pure virtual QString QAccessibleTableInterface::rowDescription(int row) const.

C++ documentation:

Returns the description text of the specified row in the table.

source

pub unsafe fn select_column(&self, column: c_int) -> bool

Selects column. This function might unselect all previously selected columns. Returns true if the selection was successful.

Calls C++ function: pure virtual bool QAccessibleTableInterface::selectColumn(int column).

C++ documentation:

Selects column. This function might unselect all previously selected columns. Returns true if the selection was successful.

source

pub unsafe fn select_row(&self, row: c_int) -> bool

Selects row. This function might unselect all previously selected rows. Returns true if the selection was successful.

Calls C++ function: pure virtual bool QAccessibleTableInterface::selectRow(int row).

C++ documentation:

Selects row. This function might unselect all previously selected rows. Returns true if the selection was successful.

source

pub unsafe fn selected_cell_count(&self) -> c_int

Returns the total number of selected cells.

Calls C++ function: pure virtual int QAccessibleTableInterface::selectedCellCount() const.

C++ documentation:

Returns the total number of selected cells.

source

pub unsafe fn selected_cells(&self) -> CppBox<QListOfQAccessibleInterface>

Returns the list of selected cell (by their index as QAccessibleInterface::child() accepts).

Calls C++ function: pure virtual QList<QAccessibleInterface*> QAccessibleTableInterface::selectedCells() const.

C++ documentation:

Returns the list of selected cell (by their index as QAccessibleInterface::child() accepts).

source

pub unsafe fn selected_column_count(&self) -> c_int

Returns the total number of selected columns.

Calls C++ function: pure virtual int QAccessibleTableInterface::selectedColumnCount() const.

C++ documentation:

Returns the total number of selected columns.

source

pub unsafe fn selected_columns(&self) -> CppBox<QListOfInt>

Returns the list of currently selected columns.

Calls C++ function: pure virtual QList<int> QAccessibleTableInterface::selectedColumns() const.

C++ documentation:

Returns the list of currently selected columns.

source

pub unsafe fn selected_row_count(&self) -> c_int

Returns the total number of selected rows.

Calls C++ function: pure virtual int QAccessibleTableInterface::selectedRowCount() const.

C++ documentation:

Returns the total number of selected rows.

source

pub unsafe fn selected_rows(&self) -> CppBox<QListOfInt>

Returns the list of currently selected columns.

Calls C++ function: pure virtual QList<int> QAccessibleTableInterface::selectedRows() const.

C++ documentation:

Returns the list of currently selected columns.

source

pub unsafe fn summary(&self) -> Ptr<QAccessibleInterface>

Returns a QAccessibleInterface that represents a summary of the table. This function may return 0 if no such interface exists.

Calls C++ function: pure virtual QAccessibleInterface* QAccessibleTableInterface::summary() const.

C++ documentation:

Returns a QAccessibleInterface that represents a summary of the table. This function may return 0 if no such interface exists.

source

pub unsafe fn unselect_column(&self, column: c_int) -> bool

Unselects column, leaving other selected columns selected (if any). Returns true if the selection was successful.

Calls C++ function: pure virtual bool QAccessibleTableInterface::unselectColumn(int column).

C++ documentation:

Unselects column, leaving other selected columns selected (if any). Returns true if the selection was successful.

source

pub unsafe fn unselect_row(&self, row: c_int) -> bool

Unselects row, leaving other selected rows selected (if any). Returns true if the selection was successful.

Calls C++ function: pure virtual bool QAccessibleTableInterface::unselectRow(int row).

C++ documentation:

Unselects row, leaving other selected rows selected (if any). Returns true if the selection was successful.

Trait Implementations§

source§

impl CppDeletable for QAccessibleTableInterface

source§

unsafe fn delete(&self)

Destroys the QAccessibleTableInterface.

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

C++ documentation:

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> StaticUpcast<T> for T

source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.