<class name="QAccessibleWidget" doc="/** <p>The <a href="QAccessibleWidget.html#QAccessibleWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAccessible.Role, java.lang.String)"><tt>QAccessibleWidget</tt></a> class implements the <a href="QAccessibleInterface.html#QAccessibleInterface()"><tt>QAccessibleInterface</tt></a> for QWidgets.</p> <p>This class is convenient to use as a base class for custom implementations of QAccessibleInterfaces that provide information about widget objects.</p> <p>The class provides functions to retrieve the <a href="QAccessibleWidget.html#parentObject()"><tt>parentObject</tt></a> (the widget's parent widget), and the associated <a href="QAccessibleWidget.html#widget()"><tt>widget</tt></a>. Controlling signals can be added with <a href="QAccessibleWidget.html#addControllingSignal(java.lang.String)"><tt>addControllingSignal</tt></a>, and setters are provided for various aspects of the interface implementation, for example <a href="QAccessibleWidget.html#setValue(java.lang.String)"><tt>setValue</tt></a>, <a href="QAccessibleWidget.html#setDescription(java.lang.String)"><tt>setDescription</tt></a>, <a href="QAccessibleWidget.html#setAccelerator(java.lang.String)"><tt>setAccelerator</tt></a>, and <a href="QAccessibleWidget.html#setHelp(java.lang.String)"><tt>setHelp</tt></a>.</p> @see <a href="QAccessible.html#QAccessible()"><tt>QAccessible</tt></a> @see <a href="QAccessibleObject.html#QAccessibleObject(com.trolltech.qt.core.QObject)"><tt>QAccessibleObject</tt></a> */"> <method name="public QAccessibleWidget(com.trolltech.qt.gui.QWidget o, com.trolltech.qt.gui.QAccessible.Role r, java.lang.String name)" doc="/** <p>Creates a <a href="QAccessibleWidget.html#QAccessibleWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAccessible.Role, java.lang.String)"><tt>QAccessibleWidget</tt></a> object for widget <tt>o</tt>. <tt>r</tt> and <tt>name</tt> are optional parameters that set the object's role and name properties.</p> */"/> <method name="public QAccessibleWidget(com.trolltech.qt.gui.QWidget o, com.trolltech.qt.gui.QAccessible.Role r)" doc="/** <p>Equivalent to <a href="QAccessibleWidget.html#QAccessibleWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAccessible.Role, java.lang.String)"><tt>QAccessibleWidget</tt></a>(<tt>o</tt>, <tt>r</tt>, QString()). */"/> <method name="public QAccessibleWidget(com.trolltech.qt.gui.QWidget o)" doc="/** <p>Equivalent to <a href="QAccessibleWidget.html#QAccessibleWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAccessible.Role, java.lang.String)"><tt>QAccessibleWidget</tt></a>(<tt>o</tt>, Client, QString()). */"/> <method name="protected final void addControllingSignal(java.lang.String signal)" doc="/** <p>Registers <tt>signal</tt> as a controlling signal.</p> <p>An object is a Controller to any other object connected to a controlling signal.</p> */"/> <method name="protected final com.trolltech.qt.core.QObject parentObject()" doc="/** <p>Returns the associated widget's parent object, which is either the parent widget, or qApp for top-level widgets.</p> */"/> <method name="protected final void setAccelerator(java.lang.String accel)" doc="/** <p>Sets the accelerator of this interface implementation to <tt>accel</tt>.</p> <p>The default implementation of <a href="QAccessibleWidget.html#text(com.trolltech.qt.gui.QAccessible.Text, int)"><tt>text</tt></a> returns the set value for the Accelerator text.</p> <p>Note that the object wrapped by this interface is not modified.</p> */"/> <method name="protected final void setDescription(java.lang.String desc)" doc="/** <p>Sets the description of this interface implementation to <tt>desc</tt>.</p> <p>The default implementation of <a href="QAccessibleWidget.html#text(com.trolltech.qt.gui.QAccessible.Text, int)"><tt>text</tt></a> returns the set value for the Description text.</p> <p>Note that the object wrapped by this interface is not modified.</p> */"/> <method name="protected final void setHelp(java.lang.String help)" doc="/** <p>Sets the help of this interface implementation to <tt>help</tt>.</p> <p>The default implementation of <a href="QAccessibleWidget.html#text(com.trolltech.qt.gui.QAccessible.Text, int)"><tt>text</tt></a> returns the set value for the Help text.</p> <p>Note that the object wrapped by this interface is not modified.</p> */"/> <method name="protected final void setValue(java.lang.String value)" doc="/** <p>Sets the value of this interface implementation to <tt>value</tt>.</p> <p>The default implementation of <a href="QAccessibleWidget.html#text(com.trolltech.qt.gui.QAccessible.Text, int)"><tt>text</tt></a> returns the set value for the Value text.</p> <p>Note that the object wrapped by this interface is not modified.</p> */"/> <method name="protected final com.trolltech.qt.gui.QWidget widget()" doc="/** <p>Returns the associated widget.</p> */"/> <method name="public java.lang.String actionText(int action, com.trolltech.qt.gui.QAccessible.Text t, int child)" doc="/** <p>Returns the text property <tt>t</tt> of the action <tt>action</tt> supported by the object, or of the object's child if <tt>child</tt> is not 0.</p> @see <a href="QAccessibleWidget.html#text(com.trolltech.qt.gui.QAccessible.Text, int)"><tt>text</tt></a> @see <a href="QAccessibleWidget.html#userActionCount(int)"><tt>userActionCount</tt></a> */"/> <method name="public int childAt(int x, int y)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public int childCount()" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public boolean doAction(int action, int child, java.util.List<java.lang.Object> params)" doc="/** <p>Asks the object, or the object's <tt>child</tt> if <tt>child</tt> is not 0, to execute <tt>action</tt> using the parameters, <tt>params</tt>. Returns true if the action could be executed; otherwise returns false.</p> <p><tt>action</tt> can be a predefined or a custom action.</p> @see <a href="QAccessibleWidget.html#userActionCount(int)"><tt>userActionCount</tt></a> @see <a href="QAccessibleWidget.html#actionText(int, com.trolltech.qt.gui.QAccessible.Text, int)"><tt>actionText</tt></a> */"/> <method name="public int indexOfChild(com.trolltech.qt.gui.QAccessibleInterface child)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public com.trolltech.qt.gui.QAccessibleInterface.Target navigate(com.trolltech.qt.gui.QAccessible.RelationFlag rel, int entry)" doc="/** <p>Equivalent to <a href="QAccessibleWidget.html#navigate(com.trolltech.qt.gui.QAccessible.RelationFlag, int)">navigate</tt></a>(<tt>rel</tt>, <tt>entry</tt>, ). */"/> <method name="public com.trolltech.qt.core.QRect rect(int child)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public com.trolltech.qt.gui.QAccessible.Relation relationTo(int child, com.trolltech.qt.gui.QAccessibleInterface other, int otherChild)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public com.trolltech.qt.gui.QAccessible.Role role(int child)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public com.trolltech.qt.gui.QAccessible.State state(int child)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> <method name="public java.lang.String text(com.trolltech.qt.gui.QAccessible.Text t, int child)" doc="/** <p>Returns the value of the text property <tt>t</tt> of the object, or of the object's child if <tt>child</tt> is not 0.</p> <p>The <a href="QAccessible.html#Text-enum">Name</tt></a> is a string used by clients to identify, find, or announce an accessible object for the user. All objects must have a name that is unique within their container. The name can be used differently by clients, so the name should both give a short description of the object and be unique.</p> <p>An accessible object's <a href="QAccessible.html#Text-enum">Description</tt></a> provides textual information about an object's visual appearance. The description is primarily used to provide greater context for vision-impaired users, but is also used for context searching or other applications. Not all objects have a description. An &quot;OK&quot; button would not need a description, but a tool button that shows a picture of a smiley would.</p> <p>The <a href="QAccessible.html#Text-enum">Value</tt></a> of an accessible object represents visual information contained by the object, e.g&#x2e; the text in a line edit. Usually, the value can be modified by the user. Not all objects have a value, e.g&#x2e; static text labels don't, and some objects have a state that already is the value, e.g&#x2e; toggle buttons.</p> <p>The <a href="QAccessible.html#Text-enum">Help</tt></a> text provides information about the function and usage of an accessible object. Not all objects provide this information.</p> <p>The <a href="QAccessible.html#Text-enum">Accelerator</tt></a> is a keyboard shortcut that activates the object's default action. A keyboard shortcut is the underlined character in the text of a menu, menu item or widget, and is either the character itself, or a combination of this character and a modifier key like Alt, Ctrl or Shift. Command controls like tool buttons also have shortcut keys and usually display them in their tooltip.</p> <p>All objects provide a string for <a href="QAccessible.html#Text-enum">Name</tt></a>.</p> @see <a href="QAccessibleWidget.html#role(int)"><tt>role</tt></a> @see <a href="QAccessibleWidget.html#state(int)"><tt>state</tt></a> */"/> <method name="public int userActionCount(int child)" doc="/** <p>This function is reimplemented for internal reasons.</p> */"/> </class>