summaryrefslogtreecommitdiffstats
path: root/old/doc/html/qtuitest-listwidget.html
diff options
context:
space:
mode:
Diffstat (limited to 'old/doc/html/qtuitest-listwidget.html')
-rw-r--r--old/doc/html/qtuitest-listwidget.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/old/doc/html/qtuitest-listwidget.html b/old/doc/html/qtuitest-listwidget.html
new file mode 100644
index 0000000..576e3bb
--- /dev/null
+++ b/old/doc/html/qtuitest-listwidget.html
@@ -0,0 +1,53 @@
+<?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>ListWidget 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">ListWidget Class Reference<br /><span class="small-subtitle">(QtUiTest::ListWidget)<br />[QtUiTestModule]</span>
+</h1>
+<p>The ListWidget class provides an abstract base class for all test widgets which display a list of items to the user. <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-listwidget-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-listwidget.html#ensureVisible">ensureVisible</a></b> ( const QString &amp; <i>item</i> )</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual QStringList </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-listwidget.html#list">list</a></b> () const = 0</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual QRect </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-listwidget.html#visualRect">visualRect</a></b> ( const QString &amp; <i>item</i> ) const = 0</td></tr>
+</table>
+<a name="details"></a>
+<hr />
+<h2>Detailed Description</h2>
+<p>The ListWidget class provides an abstract base class for all test widgets which display a list of items to the user.</p>
+<p>QtUiTest::ListWidget allows a widget which is conceptually a list to be enumerated. This is closely related to <a href="qtuitest-selectwidget.html">QtUiTest::SelectWidget</a>, which may be implemented to allow a user to select an item from a list.</p>
+<p>Examples of widgets suitable for this interface include QAbstractItemView, QComboBox and QMenu.</p>
+<p>See also <a href="qtuitest-selectwidget.html">QtUiTest::SelectWidget</a>.</p>
+<hr />
+<h2>Member Function Documentation</h2>
+<h3 class="fn"><a name="ensureVisible"></a>bool ListWidget::ensureVisible ( const QString &amp; <i>item</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
+<p>Simulates the user input necessary to navigate this widget until <i>item</i> is currently visible and return true on success.</p>
+<p>For example, in a QAbstractItemView with vertical scrollbars, if <i>item</i> exists further down the list than currently shown, this function might simulate 'Down' key clicks until it becomes visible.</p>
+<p>The base implementation does nothing and returns true.</p>
+<h3 class="fn"><a name="list"></a>QStringList ListWidget::list () const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
+<p>Returns a list containing a text representation of each item in this list widget.</p>
+<h3 class="fn"><a name="visualRect"></a>QRect ListWidget::visualRect ( const QString &amp; <i>item</i> ) const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
+<p>Returns the bounding rect of <i>item</i>, in widget coordinates. If <i>item</i> isn't currently shown in this widget, returns a null rect.</p>
+<p>See also QAbstractItemView::visualRect().</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>