Enum qt_gui::accessible::InterfaceType
source · #[repr(C)]
pub enum InterfaceType {
Text,
EditableText,
Value,
Action,
Image,
Table,
TableCell,
}
Expand description
C++ type: QAccessible::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.
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§
source§impl Clone for InterfaceType
impl Clone for InterfaceType
source§fn clone(&self) -> InterfaceType
fn clone(&self) -> InterfaceType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more