[][src]Struct qt_gui::q_accessible::Role

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

This enum defines the role of an accessible object. The roles are:

C++ enum: QAccessible::Role.

C++ documentation:

This enum defines the role of an accessible object. The roles are:

Methods

impl Role[src]

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

impl Role[src]

pub const NoRole: Role[src]

The object has no role. This usually indicates an invalid object. (C++ enum variant: NoRole = 0)

pub const TitleBar: Role[src]

The title bar caption of a window. (C++ enum variant: TitleBar = 1)

pub const MenuBar: Role[src]

A menu bar from which menus are opened by the user. (C++ enum variant: MenuBar = 2)

pub const ScrollBar: Role[src]

A scroll bar, which allows the user to scroll the visible area. (C++ enum variant: ScrollBar = 3)

pub const Grip: Role[src]

A grip that the user can drag to change the size of widgets. (C++ enum variant: Grip = 4)

pub const Sound: Role[src]

An object that represents a sound. (C++ enum variant: Sound = 5)

pub const Cursor: Role[src]

An object that represents the mouse cursor. (C++ enum variant: Cursor = 6)

pub const Caret: Role[src]

An object that represents the system caret (text cursor). (C++ enum variant: Caret = 7)

pub const AlertMessage: Role[src]

An object that is used to alert the user. (C++ enum variant: AlertMessage = 8)

pub const Window: Role[src]

A top level window. (C++ enum variant: Window = 9)

pub const Client: Role[src]

The client area in a window. (C++ enum variant: Client = 10)

pub const PopupMenu: Role[src]

A menu which lists options that the user can select to perform an action. (C++ enum variant: PopupMenu = 11)

pub const MenuItem: Role[src]

An item in a menu or menu bar. (C++ enum variant: MenuItem = 12)

pub const ToolTip: Role[src]

A tool tip which provides information about other objects. (C++ enum variant: ToolTip = 13)

pub const Application: Role[src]

The application's main window. (C++ enum variant: Application = 14)

pub const Document: Role[src]

A document, for example in an office application. (C++ enum variant: Document = 15)

pub const Pane: Role[src]

A generic container. (C++ enum variant: Pane = 16)

pub const Chart: Role[src]

An object that displays a graphical representation of data. (C++ enum variant: Chart = 17)

pub const Dialog: Role[src]

A dialog box. (C++ enum variant: Dialog = 18)

pub const Border: Role[src]

An object that represents a border. (C++ enum variant: Border = 19)

pub const Grouping: Role[src]

An object that represents a logical grouping of other objects. (C++ enum variant: Grouping = 20)

pub const Separator: Role[src]

A separator that divides space into logical areas. (C++ enum variant: Separator = 21)

pub const ToolBar: Role[src]

A tool bar, which groups widgets that the user accesses frequently. (C++ enum variant: ToolBar = 22)

pub const StatusBar: Role[src]

A status bar. (C++ enum variant: StatusBar = 23)

pub const Table: Role[src]

A table representing data in a grid of rows and columns. (C++ enum variant: Table = 24)

pub const ColumnHeader: Role[src]

A header for a column of data. (C++ enum variant: ColumnHeader = 25)

pub const RowHeader: Role[src]

A header for a row of data. (C++ enum variant: RowHeader = 26)

pub const Column: Role[src]

A column of cells, usually within a table. (C++ enum variant: Column = 27)

pub const Row: Role[src]

A row of cells, usually within a table. (C++ enum variant: Row = 28)

pub const Cell: Role[src]

A cell in a table. (C++ enum variant: Cell = 29)

A link to something else. (C++ enum variant: Link = 30)

pub const HelpBalloon: Role[src]

An object that displays help in a separate, short lived window. (C++ enum variant: HelpBalloon = 31)

pub const Assistant: Role[src]

An object that provids interactive help. (C++ enum variant: Assistant = 32)

pub const List: Role[src]

A list of items, from which the user can select one or more items. (C++ enum variant: List = 33)

pub const ListItem: Role[src]

An item in a list of items. (C++ enum variant: ListItem = 34)

pub const Tree: Role[src]

A list of items in a tree structure. (C++ enum variant: Tree = 35)

pub const TreeItem: Role[src]

An item in a tree structure. (C++ enum variant: TreeItem = 36)

pub const PageTab: Role[src]

A page tab that the user can select to switch to a different page in a dialog. (C++ enum variant: PageTab = 37)

pub const PropertyPage: Role[src]

A property page where the user can change options and settings. (C++ enum variant: PropertyPage = 38)

pub const Indicator: Role[src]

An indicator that represents a current value or item. (C++ enum variant: Indicator = 39)

pub const Graphic: Role[src]

A graphic or picture, e.g. an icon. (C++ enum variant: Graphic = 40)

pub const StaticText: Role[src]

Static text, such as labels for other widgets. (C++ enum variant: StaticText = 41)

pub const EditableText: Role[src]

Editable text such as a line or text edit. (C++ enum variant: EditableText = 42)

pub const Button: Role[src]

A button. (C++ enum variant: Button = 43)

pub const PushButton: Role[src]

C++ enum variant: PushButton = 43

pub const CheckBox: Role[src]

An object that represents an option that can be checked or unchecked. Some options provide a "mixed" state, e.g. neither checked nor unchecked. (C++ enum variant: CheckBox = 44)

pub const RadioButton: Role[src]

An object that represents an option that is mutually exclusive with other options. (C++ enum variant: RadioButton = 45)

pub const ComboBox: Role[src]

A list of choices that the user can select from. (C++ enum variant: ComboBox = 46)

pub const ProgressBar: Role[src]

The object displays the progress of an operation in progress. (C++ enum variant: ProgressBar = 48)

pub const Dial: Role[src]

An object that represents a dial or knob. (C++ enum variant: Dial = 49)

pub const HotkeyField: Role[src]

A hotkey field that allows the user to enter a key sequence. (C++ enum variant: HotkeyField = 50)

pub const Slider: Role[src]

A slider that allows the user to select a value within a given range. (C++ enum variant: Slider = 51)

pub const SpinBox: Role[src]

A spin box widget that allows the user to enter a value within a given range. (C++ enum variant: SpinBox = 52)

pub const Canvas: Role[src]

An object that displays graphics that the user can interact with. (C++ enum variant: Canvas = 53)

pub const Animation: Role[src]

An object that displays an animation. (C++ enum variant: Animation = 54)

pub const Equation: Role[src]

An object that represents a mathematical equation. (C++ enum variant: Equation = 55)

pub const ButtonDropDown: Role[src]

A button that drops down a list of items. (C++ enum variant: ButtonDropDown = 56)

pub const ButtonMenu: Role[src]

A button that drops down a menu. (C++ enum variant: ButtonMenu = 57)

pub const ButtonDropGrid: Role[src]

A button that drops down a grid. (C++ enum variant: ButtonDropGrid = 58)

pub const Whitespace: Role[src]

Blank space between other objects. (C++ enum variant: Whitespace = 59)

pub const PageTabList: Role[src]

A list of page tabs. (C++ enum variant: PageTabList = 60)

pub const Clock: Role[src]

A clock displaying time. (C++ enum variant: Clock = 61)

pub const Splitter: Role[src]

A splitter distributing available space between its child widgets. (C++ enum variant: Splitter = 62)

pub const LayeredPane: Role[src]

An object that can contain layered children, e.g. in a stack. (C++ enum variant: LayeredPane = 128)

pub const Terminal: Role[src]

A terminal or command line interface. (C++ enum variant: Terminal = 129)

pub const Desktop: Role[src]

The object represents the desktop or workspace. (C++ enum variant: Desktop = 130)

pub const Paragraph: Role[src]

A paragraph of text (usually found in documents). (C++ enum variant: Paragraph = 131)

pub const WebDocument: Role[src]

HTML document, usually in a browser. (C++ enum variant: WebDocument = 132)

pub const Section: Role[src]

A section (in a document). (C++ enum variant: Section = 133)

pub const ColorChooser: Role[src]

A dialog that lets the user choose a color. (C++ enum variant: ColorChooser = 1028)

pub const Footer: Role[src]

A footer in a page (usually in documents). (C++ enum variant: Footer = 1038)

pub const Form: Role[src]

A web form containing controls. (C++ enum variant: Form = 1040)

pub const Heading: Role[src]

A heading in a document. (C++ enum variant: Heading = 1044)

pub const Note: Role[src]

A section whose content is parenthetic or ancillary to the main content of the resource. (C++ enum variant: Note = 1051)

pub const ComplementaryContent: Role[src]

A part of the document or web page that is complementary to the main content, usually a landmark (see WAI-ARIA). (C++ enum variant: ComplementaryContent = 1068)

pub const UserRole: Role[src]

The first value to be used for user defined roles. (C++ enum variant: UserRole = 65535)

Trait Implementations

impl Clone for Role[src]

impl Copy for Role[src]

impl Debug for Role[src]

impl Eq for Role[src]

impl From<Role> for c_int[src]

impl From<i32> for Role[src]

impl PartialEq<Role> for Role[src]

impl StructuralEq for Role[src]

impl StructuralPartialEq for Role[src]

Auto Trait Implementations

impl RefUnwindSafe for Role

impl Send for Role

impl Sync for Role

impl Unpin for Role

impl UnwindSafe for Role

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.