summaryrefslogtreecommitdiffstats
path: root/old/doc/html/qtuitest-indexedwidget.html
diff options
context:
space:
mode:
Diffstat (limited to 'old/doc/html/qtuitest-indexedwidget.html')
-rw-r--r--old/doc/html/qtuitest-indexedwidget.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/old/doc/html/qtuitest-indexedwidget.html b/old/doc/html/qtuitest-indexedwidget.html
new file mode 100644
index 0000000..5b0d716
--- /dev/null
+++ b/old/doc/html/qtuitest-indexedwidget.html
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!-- ../../lib/qtuitestwidgetinterface.cpp -->
+<head>
+ <title>IndexedWidget Class Reference</title>
+ <link href="classic.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr>
+<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
+<td width="1">&nbsp;&nbsp;</td><td align="right" valign="top" width="230"></td></tr></table><h1 class="title">IndexedWidget Class Reference<br /><span class="small-subtitle">(QtUiTest::IndexedWidget)<br />[QtUiTestModule]</span>
+</h1>
+<p>The IndexedWidget class provides an abstract base class for all test widgets which allow the user to select items based on index. <a href="#details">More...</a></p>
+<pre> #include &lt;<a href="qtuitest.html">QtUiTest</a>&gt;</pre><p><b>This class is under development and is subject to change.</b></p>
+<ul>
+<li><a href="qtuitest-indexedwidget-members.html">List of all members, including inherited members</a></li>
+</ul>
+<hr />
+<a name="public-functions"></a>
+<h2>Public Functions</h2>
+<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-indexedwidget.html#selectIndex">selectIndex</a></b> ( const QVariantList &amp; <i>index</i> )</td></tr>
+</table>
+<a name="details"></a>
+<hr />
+<h2>Detailed Description</h2>
+<p>The IndexedWidget class provides an abstract base class for all test widgets which allow the user to select items based on index.</p>
+<p>Examples of widgets suitable for this interface include QAbstractItemView.</p>
+<p>See also <a href="qtuitest-listwidget.html">QtUiTest::ListWidget</a> and <a href="qtuitest-selectwidget.html">QtUiTest::SelectWidget</a>.</p>
+<hr />
+<h2>Member Function Documentation</h2>
+<h3 class="fn"><a name="selectIndex"></a>bool IndexedWidget::selectIndex ( const QVariantList &amp; <i>index</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
+<p>Selects the item with the specified <i>index</i> from an item view. The index should be specified in QtScript as an array, in the form [parentRow, parentColumn, ..&#x2e;, row, column].</p>
+<p>This function can be used in situations where <a href="qsystemtest.html#select">select()</a> would be inappropriate, typically in larger, more complex item views or those containing items with duplicate names.</p>
+<pre><span class="comment"> // Select row 3, column 5 from tableView</span>
+ selectIndex([3, 5], tableView);
+
+<span class="comment"> // Select row 2, column 4 beneath parent item at row 1, column 0 from treeView</span>
+ selectIndex([1, 0, 2, 4], treeView);</pre>
+<p>See also select().</p>
+<p /><address><hr /><div align="center">
+<table width="100%" cellspacing="0" border="0"><tr class="address">
+<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
+<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
+<td width="30%" align="right"><div align="right">QtUiTest</div></td>
+</tr></table></div></address></body>
+</html>