summaryrefslogtreecommitdiffstats
path: root/doc/html/qaccessibleinterface.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qaccessibleinterface.html')
-rw-r--r--doc/html/qaccessibleinterface.html233
1 files changed, 233 insertions, 0 deletions
diff --git a/doc/html/qaccessibleinterface.html b/doc/html/qaccessibleinterface.html
new file mode 100644
index 0000000..110a1e5
--- /dev/null
+++ b/doc/html/qaccessibleinterface.html
@@ -0,0 +1,233 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qaccessible.cpp:421 -->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>QAccessibleInterface Class</title>
+<style type="text/css"><!--
+fn { margin-left: 1cm; text-indent: -1cm; }
+a:link { color: #004faf; text-decoration: none }
+a:visited { color: #672967; text-decoration: none }
+body { background: #ffffff; color: black; }
+--></style>
+</head>
+<body>
+
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr bgcolor="#E5E5E5">
+<td valign=center>
+ <a href="index.html">
+<font color="#004faf">Home</font></a>
+ | <a href="classes.html">
+<font color="#004faf">All&nbsp;Classes</font></a>
+ | <a href="mainclasses.html">
+<font color="#004faf">Main&nbsp;Classes</font></a>
+ | <a href="annotated.html">
+<font color="#004faf">Annotated</font></a>
+ | <a href="groups.html">
+<font color="#004faf">Grouped&nbsp;Classes</font></a>
+ | <a href="functions.html">
+<font color="#004faf">Functions</font></a>
+</td>
+<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QAccessibleInterface Class Reference</h1>
+
+<p>The QAccessibleInterface class defines an interface that exposes information about accessible objects.
+<a href="#details">More...</a>
+<p><tt>#include &lt;<a href="qaccessible-h.html">qaccessible.h</a>&gt;</tt>
+<p>Inherits <a href="qaccessible.html">QAccessible</a>.
+<p>Inherited by <a href="qaccessibleobject.html">QAccessibleObject</a>.
+<p><a href="qaccessibleinterface-members.html">List of all member functions.</a>
+<h2>Public Members</h2>
+<ul>
+<li class=fn>virtual bool <a href="#isValid"><b>isValid</b></a> () const = 0</li>
+<li class=fn>virtual int <a href="#childCount"><b>childCount</b></a> () const = 0</li>
+<li class=fn>virtual QRESULT <a href="#queryChild"><b>queryChild</b></a> ( int&nbsp;control, QAccessibleInterface&nbsp;**&nbsp;iface ) const = 0</li>
+<li class=fn>virtual QRESULT <a href="#queryParent"><b>queryParent</b></a> ( QAccessibleInterface&nbsp;**&nbsp;iface ) const = 0</li>
+<li class=fn>virtual int <a href="#controlAt"><b>controlAt</b></a> ( int&nbsp;x, int&nbsp;y ) const = 0</li>
+<li class=fn>virtual QRect <a href="#rect"><b>rect</b></a> ( int&nbsp;control ) const = 0</li>
+<li class=fn>virtual int <a href="#navigate"><b>navigate</b></a> ( NavDirection&nbsp;direction, int&nbsp;startControl ) const = 0</li>
+<li class=fn>virtual QString <a href="#text"><b>text</b></a> ( Text&nbsp;t, int&nbsp;control ) const = 0</li>
+<li class=fn>virtual void <a href="#setText"><b>setText</b></a> ( Text&nbsp;t, int&nbsp;control, const&nbsp;QString&nbsp;&amp;&nbsp;text ) = 0</li>
+<li class=fn>virtual Role <a href="#role"><b>role</b></a> ( int&nbsp;control ) const = 0</li>
+<li class=fn>virtual State <a href="#state"><b>state</b></a> ( int&nbsp;control ) const = 0</li>
+<li class=fn>virtual QMemArray&lt;int&gt; <a href="#selection"><b>selection</b></a> () const = 0</li>
+<li class=fn>virtual bool <a href="#doDefaultAction"><b>doDefaultAction</b></a> ( int&nbsp;control ) = 0</li>
+<li class=fn>virtual bool <a href="#setFocus"><b>setFocus</b></a> ( int&nbsp;control ) = 0</li>
+<li class=fn>virtual bool <a href="#setSelected"><b>setSelected</b></a> ( int&nbsp;control, bool&nbsp;on, bool&nbsp;extend ) = 0</li>
+<li class=fn>virtual void <a href="#clearSelection"><b>clearSelection</b></a> () = 0</li>
+</ul>
+<hr><a name="details"></a><h2>Detailed Description</h2>
+
+
+The QAccessibleInterface class defines an interface that exposes information about accessible objects.
+<p>
+<p>See also <a href="misc.html">Miscellaneous Classes</a>.
+
+<hr><h2>Member Function Documentation</h2>
+<h3 class=fn>int <a name="childCount"></a>QAccessibleInterface::childCount () const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns the number of children that belong to this object. A child
+can provide accessibility information on it's own (e.g. a child
+widget), or be a sub-element of this accessible object.
+<p> All objects provide this information.
+<p> <p>See also <a href="#queryChild">queryChild</a>().
+
+<h3 class=fn>void <a name="clearSelection"></a>QAccessibleInterface::clearSelection ()<tt> [pure virtual]</tt>
+</h3>
+
+<p> Removes any selection from the object.
+<p> <p>See also <a href="#setSelected">setSelected</a>().
+
+<h3 class=fn>int <a name="controlAt"></a>QAccessibleInterface::controlAt ( int&nbsp;x, int&nbsp;y ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns the ID of the child that contains the screen coordinates
+(<em>x</em>, <em>y</em>). This function returns 0 if the point is positioned
+on the object itself. If the tested point is outside the
+boundaries of the object this function returns -1.
+<p> All visual objects provide this information.
+
+<h3 class=fn>bool <a name="doDefaultAction"></a>QAccessibleInterface::doDefaultAction ( int&nbsp;control )<tt> [pure virtual]</tt>
+</h3>
+
+<p> Calling this function performs the default action of the child
+object specified by <em>control</em>, or the default action of the
+object itself if <em>control</em> is 0.
+
+<h3 class=fn>bool <a name="isValid"></a>QAccessibleInterface::isValid () const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns TRUE if all the data necessary to use this interface
+implementation is valid (e.g. all pointers are non-null),
+otherwise returns FALSE.
+
+<h3 class=fn>int <a name="navigate"></a>QAccessibleInterface::navigate ( <a href="qaccessible.html#NavDirection-enum">NavDirection</a>&nbsp;direction, int&nbsp;startControl ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> This function traverses to another object, or to a sub-element of
+the current object. <em>direction</em> specifies in which direction to
+navigate, and <em>startControl</em> specifies the start point of the
+navigation, which is either 0 if the navigation starts at the
+object itself, or an ID of one of the object's sub-elements.
+<p> The function returns the ID of the sub-element located in the <em>direction</em> specified. If there is nothing in the navigated <em>direction</em>, this function returns -1.
+<p> All objects support navigation.
+
+<h3 class=fn>QRESULT <a name="queryChild"></a>QAccessibleInterface::queryChild ( int&nbsp;control, <a href="qaccessibleinterface.html">QAccessibleInterface</a>&nbsp;**&nbsp;iface ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Sets <em>iface</em> to point to the implementation of the
+QAccessibleInterface for the child specified with <em>control</em>. If
+the child doesn't provide accessibility information on it's own,
+the value of <em>iface</em> is set to 0. For those elements, this
+object is responsible for exposing the child's properties.
+<p> All objects provide this information.
+<p> <p>See also <a href="#childCount">childCount</a>() and <a href="#queryParent">queryParent</a>().
+
+<h3 class=fn>QRESULT <a name="queryParent"></a>QAccessibleInterface::queryParent ( <a href="qaccessibleinterface.html">QAccessibleInterface</a>&nbsp;**&nbsp;iface ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Sets <em>iface</em> to point to the implementation of the
+QAccessibleInterface for the parent object, or to 0 if there is
+no such implementation or object.
+<p> All objects provide this information.
+<p> <p>See also <a href="#queryChild">queryChild</a>().
+
+<h3 class=fn><a href="qrect.html">QRect</a> <a name="rect"></a>QAccessibleInterface::rect ( int&nbsp;control ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns the location of the child specified with <em>control</em> in
+screen coordinates. This function returns the location of the
+object itself if <em>control</em> is 0.
+<p> All visual objects provide this information.
+
+<h3 class=fn><a href="qaccessible.html#Role-enum">Role</a> <a name="role"></a>QAccessibleInterface::role ( int&nbsp;control ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns the role of the object if <em>control</em> is 0, or the role of
+the object's sub-element with ID <em>control</em>. The role of an object
+is usually static. All accessible objects have a role.
+<p> <p>See also <a href="#text">text</a>(), <a href="#state">state</a>(), and <a href="#selection">selection</a>().
+
+<h3 class=fn><a href="qmemarray.html">QMemArray</a>&lt;int&gt; <a name="selection"></a>QAccessibleInterface::selection () const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns the list of all the element IDs that are selected.
+<p> <p>See also <a href="#text">text</a>(), <a href="#role">role</a>(), and <a href="#state">state</a>().
+
+<h3 class=fn>bool <a name="setFocus"></a>QAccessibleInterface::setFocus ( int&nbsp;control )<tt> [pure virtual]</tt>
+</h3>
+
+<p> Gives the focus to the child object specified by <em>control</em>, or to
+the object itself if <em>control</em> is 0.
+<p> Returns TRUE if the focus could be set; otherwise returns FALSE.
+
+<h3 class=fn>bool <a name="setSelected"></a>QAccessibleInterface::setSelected ( int&nbsp;control, bool&nbsp;on, bool&nbsp;extend )<tt> [pure virtual]</tt>
+</h3>
+
+<p> Sets the selection of the child object with ID <em>control</em> to <em>on</em>. If <em>extend</em> is TRUE, all child elements between the focused
+item and the specified child object have their selection set to <em>on</em>.
+<p> Returns TRUE if the selection could be set; otherwise returns
+FALSE.
+<p> <p>See also <a href="#setFocus">setFocus</a>() and <a href="#clearSelection">clearSelection</a>().
+
+<h3 class=fn>void <a name="setText"></a>QAccessibleInterface::setText ( <a href="qaccessible.html#Text-enum">Text</a>&nbsp;t, int&nbsp;control, const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;text )<tt> [pure virtual]</tt>
+</h3>
+
+<p> Sets the text property <em>t</em> of the child object <em>control</em> to <em>text</em>. If <em>control</em> is 0, the text property of the object itself
+is set.
+
+<h3 class=fn><a href="qaccessible.html#State-enum">State</a> <a name="state"></a>QAccessibleInterface::state ( int&nbsp;control ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns the current state of the object if <em>control</em> is 0, or the
+state of the object's sub-element element with ID <em>control</em>. All
+objects have a state.
+<p> <p>See also <a href="#text">text</a>(), <a href="#role">role</a>(), and <a href="#selection">selection</a>().
+
+<h3 class=fn><a href="qstring.html">QString</a> <a name="text"></a>QAccessibleInterface::text ( <a href="qaccessible.html#Text-enum">Text</a>&nbsp;t, int&nbsp;control ) const<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns a string property <em>t</em> of the child object specified by <em>control</em>, or the string property of the object itself if <em>control</em>
+is 0.
+<p> The <em>Name</em> 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.
+<p> An accessible object's <em>Description</em> provides textual information
+about an object's visual appearance. The description is primarily
+used to provide greater context for low-vision or blind users, but
+is also used for context searching or other applications. Not all
+objects have a description. An "OK" button would not need a
+description, but a toolbutton that shows a picture of a smiley
+would.
+<p> The <em>Value</em> of an accessible object represents visual information
+contained by the object, e.g. the text in a line edit. Usually,
+the value can be modified by the user. Not all objects have a
+value, e.g. static text labels don't, and some objects have a
+state that already is the value, e.g. toggle buttons.
+<p> The <em>Help</em> text provides information about the function and
+usage of an accessible object. Not all objects provide this
+information.
+<p> An accessible object's <em>DefaultAction</em> describes the object's
+primary method of manipulation, and should be a verb or a short
+phrase, e.g. "Press" for a button.
+<p> The accelerator is a keyboard shortcut that activates the default
+action of the object. A keyboard shortcut is the underlined
+character in the text of a menu, menu item or control, 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>See also <a href="#role">role</a>(), <a href="#state">state</a>(), and <a href="#selection">selection</a>().
+
+<!-- eof -->
+<hr><p>
+This file is part of the <a href="index.html">Qt toolkit</a>.
+Copyright &copy; 1995-2007
+<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
+<table width=100% cellspacing=0 border=0><tr>
+<td>Copyright &copy; 2007
+<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
+<td align=right><div align=right>Qt 3.3.8</div>
+</table></div></address></body>
+</html>