State Structstruct QAccessible::State
This structure defines bit flags that indicate the state of an accessible object. The values are:
|The object is the active window or the active sub-element in a container (that would get focus when focusing the container).
|The object represents an adjustable value, e.g. sliders.
|The object's appearance changes frequently.
|The object cannot accept input at the moment.
|The object is checkable.
|The object's check box is checked.
|The third state of checkboxes (half checked in tri-state check boxes).
|The object is collapsed, e.g. a closed listview item, or an iconified window.
|The object represents the default button in a dialog.
|The object no longer exists.
|The object has a text carret (and often implements the text interface).
|The object is expandable, mostly used for cells in a tree view.
|The object is expanded, currently its children are visible.
|The object supports extended selection.
|The object can receive focus. Only objects in the active window can receive focus.
|The object has keyboard focus.
|The object opens a popup.
|The object's appearance is sensitive to the mouse cursor position.
|The object is no longer valid (because it has been deleted).
|The object is not visible to the user.
|The object is linked to another object, e.g. a hyperlink.
|The object displays scrolling contents, e.g. a log view.
|The object blocks input from other objects.
|The object can be moved.
|The object has multiple lines of text (word wrap), as opposed to a single line.
|The object supports multiple selected items.
|The object is clipped by the visible area. Objects that are off screen are also invisible.
|The object is a password field, e.g. a line edit for entering a Password.
|The object produces sound when interacted with.
|The object is pressed.
|The object can usually be edited, but is explicitly set to read-only.
|The object is a line edit that is the input for search queries.
|The object is selectable.
|The object has text which can be selected. This is different from selectable which refers to the object's children.
|The object is selected, this is independent of text selection.
|The object describes itself through speech or sound.
|The object can be resized, e.g. top-level windows.
|The object summarizes the state of the window and should be treated with priority.
|The object has auto-completion, for example in line edits or combo boxes.
|The object is linked and has been visited.
|The object changes frequently and needs to be refreshed when accessing it.
|The object is unavailable to the user, e.g. a disabled widget.
Implementations of QAccessibleInterface::state() return a combination of these flags.
Member Function Documentation
Constructs a new QAccessible::State with all states set to false.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.