summaryrefslogtreecommitdiffstats
path: root/old/doc/html/qtuitest-selectwidget.html
diff options
context:
space:
mode:
Diffstat (limited to 'old/doc/html/qtuitest-selectwidget.html')
-rw-r--r--old/doc/html/qtuitest-selectwidget.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/old/doc/html/qtuitest-selectwidget.html b/old/doc/html/qtuitest-selectwidget.html
new file mode 100644
index 0000000..ed8fecd
--- /dev/null
+++ b/old/doc/html/qtuitest-selectwidget.html
@@ -0,0 +1,71 @@
+<?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>SelectWidget 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">SelectWidget Class Reference<br /><span class="small-subtitle">(QtUiTest::SelectWidget)<br />[QtUiTestModule]</span>
+</h1>
+<p>The SelectWidget class provides an abstract base class for all test widgets which allow the user to select from a range of items. <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-selectwidget-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-selectwidget.html#canSelect">canSelect</a></b> ( const QString &amp; <i>item</i> ) const = 0</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-selectwidget.html#canSelectMulti">canSelectMulti</a></b> ( const QStringList &amp; <i>items</i> ) const</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-selectwidget.html#isMultiSelection">isMultiSelection</a></b> () const</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-selectwidget.html#select">select</a></b> ( const QString &amp; <i>item</i> ) = 0</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-selectwidget.html#selectMulti">selectMulti</a></b> ( const QStringList &amp; <i>items</i> )</td></tr>
+</table>
+<hr />
+<a name="signals"></a>
+<h2>Signals</h2>
+<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qtuitest-selectwidget.html#selected">selected</a></b> ( const QString &amp; <i>item</i> )</td></tr>
+</table>
+<a name="details"></a>
+<hr />
+<h2>Detailed Description</h2>
+<p>The SelectWidget class provides an abstract base class for all test widgets which allow the user to select from a range of items.</p>
+<p>QtUiTest::SelectWidget encapsulates a widget which provides the user with a choice from a (possibly unlimited) range. This is closely related to <a href="qtuitest-listwidget.html">QtUiTest::ListWidget</a>, which may be implemented to allow a user to enumerate all items from a list.</p>
+<p>Examples of widgets suitable for this interface include QAbstractItemView, QComboBox and QMenu.</p>
+<p>See also <a href="qtuitest-listwidget.html">QtUiTest::ListWidget</a>.</p>
+<hr />
+<h2>Member Function Documentation</h2>
+<h3 class="fn"><a name="canSelect"></a>bool SelectWidget::canSelect ( const QString &amp; <i>item</i> ) const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
+<p>Returns true if <i>item</i> can possibly be selected from this widget.</p>
+<h3 class="fn"><a name="canSelectMulti"></a>bool SelectWidget::canSelectMulti ( const QStringList &amp; <i>items</i> ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
+<p>Returns true if all of the given <i>items</i> can be selected from this widget at the same time.</p>
+<p>The base implementation returns true if <a href="qtuitest-selectwidget.html#isMultiSelection">isMultiSelection</a>() returns true and <a href="qtuitest-selectwidget.html#canSelect">canSelect</a>() returns true for every item in <i>items</i>.</p>
+<h3 class="fn"><a name="isMultiSelection"></a>bool SelectWidget::isMultiSelection () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
+<p>Returns true if this widget supports the selection of multiple items at the same time.</p>
+<p>The base implementation returns false.</p>
+<h3 class="fn"><a name="select"></a>bool SelectWidget::select ( const QString &amp; <i>item</i> )&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
+<p>Simulates the user input necessary to select <i>item</i> from this widget.</p>
+<p>Returns true if <i>item</i> was successfully selected.</p>
+<p>If <a href="qtuitest-selectwidget.html#canSelect">canSelect</a>() returns true and this function returns false, an error has occurred and this widget's state is undefined.</p>
+<h3 class="fn"><a name="selectMulti"></a>bool SelectWidget::selectMulti ( const QStringList &amp; <i>items</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
+<p>Simulates the user input necessary to select all <i>items</i> from this widget at the same time.</p>
+<p>Returns true if <i>items</i> were all successfully selected.</p>
+<p>If <a href="qtuitest-selectwidget.html#canSelectMulti">canSelectMulti</a>() returns true and this function returns false, an error has occurred and this widget's state is undefined.</p>
+<p>The base implementation calls <a href="qtuitest-selectwidget.html#canSelectMulti">canSelectMulti</a>() to check if <i>items</i> can be selected, then calls <a href="qtuitest-selectwidget.html#select">select</a>() on each item in <i>items</i>.</p>
+<h3 class="fn"><a name="selected"></a>void SelectWidget::selected ( const QString &amp; <i>item</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
+<p>This signal is emitted when <i>item</i> is selected from this widget.</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>