#[repr(C)]
pub enum InterfaceType {
    Text,
    EditableText,
    Value,
    Action,
    Image,
    Table,
    TableCell,
}
Expand description

C++ type: QAccessible::InterfaceType

C++ documentation:

QAccessibleInterface supports several sub interfaces. In order to provide more information about some objects, their accessible representation should implement one or more of these interfaces.

Note: When subclassing one of these interfaces, QAccessibleInterface::interface_cast() needs to be implemented.

See also QAccessibleInterface::interface_cast(), QAccessibleTextInterface, QAccessibleValueInterface, QAccessibleActionInterface, QAccessibleTableInterface, and QAccessibleTableCellInterface.

Variants§

§

Text

For text that supports selections or is more than one line. Simple labels do not need to implement this interface. For text that can be edited by the user. (C++ enum variant: TextInterface = 0)

§

EditableText

C++ enum variant: EditableTextInterface = 1

§

Value

For objects that are used to manipulate a value, for example slider or scroll bar. (C++ enum variant: ValueInterface = 2)

§

Action

For interactive objects that allow the user to trigger an action. Basically everything that allows for example mouse interaction. For objects that represent an image. This interface is generally less important. (C++ enum variant: ActionInterface = 3)

§

Image

C++ enum variant: ImageInterface = 4

§

Table

For lists, tables and trees. (C++ enum variant: TableInterface = 5)

§

TableCell

For cells in a TableInterface object. (C++ enum variant: TableCellInterface = 6)

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.