Struct qt_gui::QAccessibleTableInterface
source · #[repr(C)]pub struct QAccessibleTableInterface { /* private fields */ }
Expand description
The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.
C++ class: QAccessibleTableInterface
.
The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.
Implementations§
source§impl QAccessibleTableInterface
impl QAccessibleTableInterface
Returns the caption for the table.
Calls C++ function: pure virtual QAccessibleInterface* QAccessibleTableInterface::caption() const
.
Returns the caption for the table.
sourcepub unsafe fn cell_at(
&self,
row: c_int,
column: c_int
) -> Ptr<QAccessibleInterface>
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
.
Returns the cell at the specified row and column in the table.
sourcepub unsafe fn column_count(&self) -> c_int
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
.
Returns the total number of columns in table.
sourcepub unsafe fn column_description(&self, column: c_int) -> CppBox<QString>
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
.
Returns the description text of the specified column in the table.
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QAccessibleTableInterface>>
) -> Ref<QAccessibleTableInterface>
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)
.
The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface.
sourcepub unsafe fn is_column_selected(&self, column: c_int) -> bool
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
.
Returns a boolean value indicating whether the specified column is completely selected.
sourcepub unsafe fn is_row_selected(&self, row: c_int) -> bool
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
.
Returns a boolean value indicating whether the specified row is completely selected.
sourcepub unsafe fn model_change(
&self,
event: impl CastInto<Ptr<QAccessibleTableModelChangeEvent>>
)
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)
.
Informs about a change in the model’s layout. The event contains the details.
See also QAccessibleTableModelChangeEvent.
sourcepub unsafe fn row_count(&self) -> c_int
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
.
Returns the total number of rows in table.
sourcepub unsafe fn row_description(&self, row: c_int) -> CppBox<QString>
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
.
Returns the description text of the specified row in the table.
sourcepub unsafe fn select_column(&self, column: c_int) -> bool
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)
.
Selects column. This function might unselect all previously selected columns. Returns true
if the selection was successful.
sourcepub unsafe fn select_row(&self, row: c_int) -> bool
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)
.
Selects row. This function might unselect all previously selected rows. Returns true
if the selection was successful.
sourcepub unsafe fn selected_cell_count(&self) -> c_int
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
.
Returns the total number of selected cells.
sourcepub unsafe fn selected_cells(&self) -> CppBox<QListOfQAccessibleInterface>
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
.
Returns the list of selected cell (by their index as QAccessibleInterface::child() accepts).
sourcepub unsafe fn selected_column_count(&self) -> c_int
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
.
Returns the total number of selected columns.
sourcepub unsafe fn selected_columns(&self) -> CppBox<QListOfInt>
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
.
Returns the list of currently selected columns.
sourcepub unsafe fn selected_row_count(&self) -> c_int
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
.
Returns the total number of selected rows.
sourcepub unsafe fn selected_rows(&self) -> CppBox<QListOfInt>
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
.
Returns the list of currently selected columns.
sourcepub unsafe fn summary(&self) -> Ptr<QAccessibleInterface>
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
.
Returns a QAccessibleInterface that represents a summary of the table. This function may return 0 if no such interface exists.
sourcepub unsafe fn unselect_column(&self, column: c_int) -> bool
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)
.
Unselects column, leaving other selected columns selected (if any). Returns true
if the selection was successful.
sourcepub unsafe fn unselect_row(&self, row: c_int) -> bool
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)
.
Unselects row, leaving other selected rows selected (if any). Returns true
if the selection was successful.
Trait Implementations§
source§impl CppDeletable for QAccessibleTableInterface
impl CppDeletable for QAccessibleTableInterface
source§unsafe fn delete(&self)
unsafe fn delete(&self)
Destroys the QAccessibleTableInterface.
Calls C++ function: virtual [destructor] void QAccessibleTableInterface::~QAccessibleTableInterface()
.
Destroys the QAccessibleTableInterface.