[][src]Struct qt_gui::q_accessible::InterfaceType

#[repr(transparent)]
pub struct InterfaceType(_);

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.

C++ enum: 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.

Methods

impl InterfaceType[src]

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

impl InterfaceType[src]

pub const TextInterface: InterfaceType[src]

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)

pub const EditableTextInterface: InterfaceType[src]

C++ enum variant: EditableTextInterface = 1

pub const ValueInterface: InterfaceType[src]

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

pub const ActionInterface: InterfaceType[src]

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)

pub const ImageInterface: InterfaceType[src]

C++ enum variant: ImageInterface = 4

pub const TableInterface: InterfaceType[src]

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

pub const TableCellInterface: InterfaceType[src]

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

Trait Implementations

impl Clone for InterfaceType[src]

impl Copy for InterfaceType[src]

impl Debug for InterfaceType[src]

impl Eq for InterfaceType[src]

impl From<InterfaceType> for c_int[src]

impl From<i32> for InterfaceType[src]

impl PartialEq<InterfaceType> for InterfaceType[src]

impl StructuralEq for InterfaceType[src]

impl StructuralPartialEq for InterfaceType[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.