[][src]Struct qt_gui::QAccessibleTableModelChangeEvent

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

The QAccessibleTableModelChangeEvent signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, firstColumn and lastColumn will return -1. Likewise for columns, the row functions may return -1.

C++ class: QAccessibleTableModelChangeEvent.

C++ documentation:

The QAccessibleTableModelChangeEvent signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, firstColumn and lastColumn will return -1. Likewise for columns, the row functions may return -1.

This class is used with QAccessible::updateAccessibility().

Methods

impl QAccessibleTableModelChangeEvent[src]

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

Returns the first changed column.

Calls C++ function: int QAccessibleTableModelChangeEvent::firstColumn() const.

C++ documentation:

Returns the first changed column.

See also setFirstColumn().

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

Returns the first changed row.

Calls C++ function: int QAccessibleTableModelChangeEvent::firstRow() const.

C++ documentation:

Returns the first changed row.

See also setFirstRow().

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

Returns the last changed column.

Calls C++ function: int QAccessibleTableModelChangeEvent::lastColumn() const.

C++ documentation:

Returns the last changed column.

See also setLastColumn().

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

Returns the last changed row.

Calls C++ function: int QAccessibleTableModelChangeEvent::lastRow() const.

C++ documentation:

Returns the last changed row.

See also setLastRow().

pub unsafe fn model_change_type(&self) -> ModelChangeType[src]

Returns the type of change.

Calls C++ function: QAccessibleTableModelChangeEvent::ModelChangeType QAccessibleTableModelChangeEvent::modelChangeType() const.

C++ documentation:

Returns the type of change.

See also setModelChangeType().

pub unsafe fn from_q_object_model_change_type(
    obj: impl CastInto<Ptr<QObject>>,
    change_type: ModelChangeType
) -> CppBox<QAccessibleTableModelChangeEvent>
[src]

Constructs a new QAccessibleTableModelChangeEvent for object of with changeType.

Calls C++ function: [constructor] void QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject* obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType).

C++ documentation:

Constructs a new QAccessibleTableModelChangeEvent for object of with changeType.

pub unsafe fn from_q_accessible_interface_model_change_type(
    iface: impl CastInto<Ptr<QAccessibleInterface>>,
    change_type: ModelChangeType
) -> CppBox<QAccessibleTableModelChangeEvent>
[src]

Constructs a new QAccessibleTableModelChangeEvent for interface iface with a model change type changeType.

Calls C++ function: [constructor] void QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface* iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType).

C++ documentation:

Constructs a new QAccessibleTableModelChangeEvent for interface iface with a model change type changeType.

pub unsafe fn set_first_column(&self, col: c_int)[src]

Sets the first changed column.

Calls C++ function: void QAccessibleTableModelChangeEvent::setFirstColumn(int col).

C++ documentation:

Sets the first changed column.

See also firstColumn().

pub unsafe fn set_first_row(&self, row: c_int)[src]

Sets the first changed row.

Calls C++ function: void QAccessibleTableModelChangeEvent::setFirstRow(int row).

C++ documentation:

Sets the first changed row.

See also firstRow().

pub unsafe fn set_last_column(&self, col: c_int)[src]

Sets the last changed column.

Calls C++ function: void QAccessibleTableModelChangeEvent::setLastColumn(int col).

C++ documentation:

Sets the last changed column.

See also lastColumn().

pub unsafe fn set_last_row(&self, row: c_int)[src]

Sets the last changed row.

Calls C++ function: void QAccessibleTableModelChangeEvent::setLastRow(int row).

C++ documentation:

Sets the last changed row.

See also lastRow().

pub unsafe fn set_model_change_type(&self, change_type: ModelChangeType)[src]

Sets the type of change to changeType.

Calls C++ function: void QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType changeType).

C++ documentation:

Sets the type of change to changeType.

See also modelChangeType().

Methods from Deref<Target = QAccessibleEvent>

pub unsafe fn accessible_interface(&self) -> Ptr<QAccessibleInterface>[src]

Returns the QAccessibleInterface associated with the event. The caller of this function takes ownership of the returned interface.

Calls C++ function: virtual QAccessibleInterface* QAccessibleEvent::accessibleInterface() const.

C++ documentation:

Returns the QAccessibleInterface associated with the event. The caller of this function takes ownership of the returned interface.

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

Returns the child index.

Calls C++ function: int QAccessibleEvent::child() const.

C++ documentation:

Returns the child index.

See also setChild().

pub unsafe fn object(&self) -> QPtr<QObject>[src]

Returns the event object.

Calls C++ function: QObject* QAccessibleEvent::object() const.

C++ documentation:

Returns the event object.

pub unsafe fn set_child(&self, chld: c_int)[src]

Sets the child index to child.

Calls C++ function: void QAccessibleEvent::setChild(int chld).

C++ documentation:

Sets the child index to child.

See also child().

pub unsafe fn type_(&self) -> Event[src]

Returns the event type.

Calls C++ function: QAccessible::Event QAccessibleEvent::type() const.

C++ documentation:

Returns the event type.

pub unsafe fn unique_id(&self) -> c_uint[src]

Calls C++ function: unsigned int QAccessibleEvent::uniqueId() const.

Trait Implementations

impl CppDeletable for QAccessibleTableModelChangeEvent[src]

unsafe fn delete(&self)[src]

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

impl Deref for QAccessibleTableModelChangeEvent[src]

type Target = QAccessibleEvent

The resulting type after dereferencing.

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

Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleTableModelChangeEvent* ptr).

impl DynamicCast<QAccessibleTableModelChangeEvent> for QAccessibleEvent[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QAccessibleEvent>
) -> Ptr<QAccessibleTableModelChangeEvent>
[src]

Calls C++ function: QAccessibleTableModelChangeEvent* dynamic_cast<QAccessibleTableModelChangeEvent*>(QAccessibleEvent* ptr).

impl StaticDowncast<QAccessibleTableModelChangeEvent> for QAccessibleEvent[src]

unsafe fn static_downcast(
    ptr: Ptr<QAccessibleEvent>
) -> Ptr<QAccessibleTableModelChangeEvent>
[src]

Calls C++ function: QAccessibleTableModelChangeEvent* static_cast<QAccessibleTableModelChangeEvent*>(QAccessibleEvent* ptr).

impl StaticUpcast<QAccessibleEvent> for QAccessibleTableModelChangeEvent[src]

unsafe fn static_upcast(
    ptr: Ptr<QAccessibleTableModelChangeEvent>
) -> Ptr<QAccessibleEvent>
[src]

Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleTableModelChangeEvent* 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.