Struct qt_gui::q_accessible::Role
source · pub struct Role(/* private fields */);
Expand description
This enum defines the role of an accessible object. The roles are:
C++ enum: QAccessible::Role
.
This enum defines the role of an accessible object. The roles are:
Implementations§
source§impl Role
impl Role
sourcepub const NoRole: Role = _
pub const NoRole: Role = _
The object has no role. This usually indicates an invalid object. (C++ enum variant: NoRole = 0
)
sourcepub const TitleBar: Role = _
pub const TitleBar: Role = _
The title bar caption of a window. (C++ enum variant: TitleBar = 1
)
sourcepub const MenuBar: Role = _
pub const MenuBar: Role = _
A menu bar from which menus are opened by the user. (C++ enum variant: MenuBar = 2
)
sourcepub const ScrollBar: Role = _
pub const ScrollBar: Role = _
A scroll bar, which allows the user to scroll the visible area. (C++ enum variant: ScrollBar = 3
)
sourcepub const Grip: Role = _
pub const Grip: Role = _
A grip that the user can drag to change the size of widgets. (C++ enum variant: Grip = 4
)
sourcepub const Cursor: Role = _
pub const Cursor: Role = _
An object that represents the mouse cursor. (C++ enum variant: Cursor = 6
)
sourcepub const Caret: Role = _
pub const Caret: Role = _
An object that represents the system caret (text cursor). (C++ enum variant: Caret = 7
)
sourcepub const AlertMessage: Role = _
pub const AlertMessage: Role = _
An object that is used to alert the user. (C++ enum variant: AlertMessage = 8
)
sourcepub const PopupMenu: Role = _
pub const PopupMenu: Role = _
A menu which lists options that the user can select to perform an action. (C++ enum variant: PopupMenu = 11
)
sourcepub const ToolTip: Role = _
pub const ToolTip: Role = _
A tool tip which provides information about other objects. (C++ enum variant: ToolTip = 13
)
sourcepub const Application: Role = _
pub const Application: Role = _
The application’s main window. (C++ enum variant: Application = 14
)
sourcepub const Document: Role = _
pub const Document: Role = _
A document, for example in an office application. (C++ enum variant: Document = 15
)
sourcepub const Chart: Role = _
pub const Chart: Role = _
An object that displays a graphical representation of data. (C++ enum variant: Chart = 17
)
sourcepub const Grouping: Role = _
pub const Grouping: Role = _
An object that represents a logical grouping of other objects. (C++ enum variant: Grouping = 20
)
sourcepub const Separator: Role = _
pub const Separator: Role = _
A separator that divides space into logical areas. (C++ enum variant: Separator = 21
)
sourcepub const ToolBar: Role = _
pub const ToolBar: Role = _
A tool bar, which groups widgets that the user accesses frequently. (C++ enum variant: ToolBar = 22
)
sourcepub const Table: Role = _
pub const Table: Role = _
A table representing data in a grid of rows and columns. (C++ enum variant: Table = 24
)
sourcepub const ColumnHeader: Role = _
pub const ColumnHeader: Role = _
A header for a column of data. (C++ enum variant: ColumnHeader = 25
)
sourcepub const Column: Role = _
pub const Column: Role = _
A column of cells, usually within a table. (C++ enum variant: Column = 27
)
sourcepub const HelpBalloon: Role = _
pub const HelpBalloon: Role = _
An object that displays help in a separate, short lived window. (C++ enum variant: HelpBalloon = 31
)
sourcepub const Assistant: Role = _
pub const Assistant: Role = _
An object that provids interactive help. (C++ enum variant: Assistant = 32
)
sourcepub const List: Role = _
pub const List: Role = _
A list of items, from which the user can select one or more items. (C++ enum variant: List = 33
)
sourcepub const PageTab: Role = _
pub const PageTab: Role = _
A page tab that the user can select to switch to a different page in a dialog. (C++ enum variant: PageTab = 37
)
sourcepub const PropertyPage: Role = _
pub const PropertyPage: Role = _
A property page where the user can change options and settings. (C++ enum variant: PropertyPage = 38
)
sourcepub const Indicator: Role = _
pub const Indicator: Role = _
An indicator that represents a current value or item. (C++ enum variant: Indicator = 39
)
sourcepub const Graphic: Role = _
pub const Graphic: Role = _
A graphic or picture, e.g. an icon. (C++ enum variant: Graphic = 40
)
sourcepub const StaticText: Role = _
pub const StaticText: Role = _
Static text, such as labels for other widgets. (C++ enum variant: StaticText = 41
)
sourcepub const EditableText: Role = _
pub const EditableText: Role = _
Editable text such as a line or text edit. (C++ enum variant: EditableText = 42
)
sourcepub const PushButton: Role = _
pub const PushButton: Role = _
C++ enum variant: PushButton = 43
sourcepub const CheckBox: Role = _
pub const CheckBox: Role = _
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
)
sourcepub const RadioButton: Role = _
pub const RadioButton: Role = _
An object that represents an option that is mutually exclusive with other options. (C++ enum variant: RadioButton = 45
)
sourcepub const ComboBox: Role = _
pub const ComboBox: Role = _
A list of choices that the user can select from. (C++ enum variant: ComboBox = 46
)
sourcepub const ProgressBar: Role = _
pub const ProgressBar: Role = _
The object displays the progress of an operation in progress. (C++ enum variant: ProgressBar = 48
)
sourcepub const Dial: Role = _
pub const Dial: Role = _
An object that represents a dial or knob. (C++ enum variant: Dial = 49
)
sourcepub const HotkeyField: Role = _
pub const HotkeyField: Role = _
A hotkey field that allows the user to enter a key sequence. (C++ enum variant: HotkeyField = 50
)
sourcepub const Slider: Role = _
pub const Slider: Role = _
A slider that allows the user to select a value within a given range. (C++ enum variant: Slider = 51
)
sourcepub const SpinBox: Role = _
pub const SpinBox: Role = _
A spin box widget that allows the user to enter a value within a given range. (C++ enum variant: SpinBox = 52
)
sourcepub const Canvas: Role = _
pub const Canvas: Role = _
An object that displays graphics that the user can interact with. (C++ enum variant: Canvas = 53
)
sourcepub const Animation: Role = _
pub const Animation: Role = _
An object that displays an animation. (C++ enum variant: Animation = 54
)
sourcepub const Equation: Role = _
pub const Equation: Role = _
An object that represents a mathematical equation. (C++ enum variant: Equation = 55
)
sourcepub const ButtonDropDown: Role = _
pub const ButtonDropDown: Role = _
A button that drops down a list of items. (C++ enum variant: ButtonDropDown = 56
)
sourcepub const ButtonMenu: Role = _
pub const ButtonMenu: Role = _
A button that drops down a menu. (C++ enum variant: ButtonMenu = 57
)
sourcepub const ButtonDropGrid: Role = _
pub const ButtonDropGrid: Role = _
A button that drops down a grid. (C++ enum variant: ButtonDropGrid = 58
)
sourcepub const Whitespace: Role = _
pub const Whitespace: Role = _
Blank space between other objects. (C++ enum variant: Whitespace = 59
)
sourcepub const PageTabList: Role = _
pub const PageTabList: Role = _
A list of page tabs. (C++ enum variant: PageTabList = 60
)
sourcepub const Splitter: Role = _
pub const Splitter: Role = _
A splitter distributing available space between its child widgets. (C++ enum variant: Splitter = 62
)
sourcepub const LayeredPane: Role = _
pub const LayeredPane: Role = _
An object that can contain layered children, e.g. in a stack. (C++ enum variant: LayeredPane = 128
)
sourcepub const Terminal: Role = _
pub const Terminal: Role = _
A terminal or command line interface. (C++ enum variant: Terminal = 129
)
sourcepub const Desktop: Role = _
pub const Desktop: Role = _
The object represents the desktop or workspace. (C++ enum variant: Desktop = 130
)
sourcepub const Paragraph: Role = _
pub const Paragraph: Role = _
A paragraph of text (usually found in documents). (C++ enum variant: Paragraph = 131
)
sourcepub const WebDocument: Role = _
pub const WebDocument: Role = _
HTML document, usually in a browser. (C++ enum variant: WebDocument = 132
)
sourcepub const ColorChooser: Role = _
pub const ColorChooser: Role = _
A dialog that lets the user choose a color. (C++ enum variant: ColorChooser = 1028
)
A footer in a page (usually in documents). (C++ enum variant: Footer = 1038
)
sourcepub const Note: Role = _
pub const Note: Role = _
A section whose content is parenthetic or ancillary to the main content of the resource. (C++ enum variant: Note = 1051
)
sourcepub const ComplementaryContent: Role = _
pub const ComplementaryContent: Role = _
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
)
sourcepub const UserRole: Role = _
pub const UserRole: Role = _
The first value to be used for user defined roles. (C++ enum variant: UserRole = 65535
)
sourcepub const Notification: Role = _
pub const Notification: Role = _
An object that represents a notification (e.g. in the system tray). This role only has an effect on Linux. (C++ enum variant: Notification = 134
)