Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
State Class Reference

\inmodule QtGui More...

+ Collaboration diagram for State:

Detailed Description

\inmodule QtGui

This structure defines bit flags that indicate the state of an accessible object. The values are:

\value active The object is the active window or the active sub-element in a container (that would get focus when focusing the container). \value adjustable The object represents an adjustable value, e.g. sliders. \value animated The object's appearance changes frequently. \value busy The object cannot accept input at the moment. \value checkable The object is checkable. \value checked The object's check box is checked. \value checkStateMixed The third state of checkboxes (half checked in tri-state check boxes). \value collapsed The object is collapsed, e.g. a closed listview item, or an iconified window. \value defaultButton The object represents the default button in a dialog. \value defunct The object no longer exists. \value editable The object has a text carret (and often implements the text interface). \value expandable The object is expandable, mostly used for cells in a tree view. \value expanded The object is expanded, currently its children are visible. \value extSelectable The object supports extended selection. \value focusable The object can receive focus. Only objects in the active window can receive focus. \value focused The object has keyboard focus. \value hasPopup The object opens a popup. \value hotTracked The object's appearance is sensitive to the mouse cursor position. \value invalid The object is no longer valid (because it has been deleted). \value invisible The object is not visible to the user. \value linked The object is linked to another object, e.g. a hyperlink. \value marqueed The object displays scrolling contents, e.g. a log view. \value modal The object blocks input from other objects. \value movable The object can be moved. \value multiLine The object has multiple lines of text (word wrap), as opposed to a single line. \value multiSelectable The object supports multiple selected items. \value offscreen The object is clipped by the visible area. Objects that are off screen are also invisible. \value passwordEdit The object is a password field, e.g. a line edit for entering a Password. \value playsSound The object produces sound when interacted with. \value pressed The object is pressed. \value readOnly The object can usually be edited, but is explicitly set to read-only. \value searchEdit The object is a line edit that is the input for search queries. \value selectable The object is selectable. \value selectableText The object has text which can be selected. This is different from selectable which refers to the object's children. \value selected The object is selected, this is independent of text selection. \value selfVoicing The object describes itself through speech or sound. \value sizeable The object can be resized, e.g. top-level windows. \value summaryElement The object summarizes the state of the window and should be treated with priority. \value supportsAutoCompletion The object has auto-completion, for example in line edits or combo boxes. \value traversed The object is linked and has been visited. \value updatesFrequently The object changes frequently and needs to be refreshed when accessing it. \value disabled The object is unavailable to the user, e.g. a disabled widget.

Implementations of QAccessibleInterface::state() return a combination of these flags.


The documentation for this class was generated from the following file: