~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qtablewidgetselectionrange.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/gui/itemviews/qtablewidget.cpp -->
 
5
<!-- qtablewidget.cpp -->
6
6
<head>
7
 
  <title>Qt 4.5: QTableWidgetSelectionRange Class Reference</title>
 
7
  <title>Qt 4.6: QTableWidgetSelectionRange Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//QTableWidgetSelectionRange" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QTableWidgetSelectionRange Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
 
14
<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>
 
15
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">QTableWidgetSelectionRange Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
16
17
</h1>
17
18
<p>The QTableWidgetSelectionRange class provides a way to interact with selection in a model without using model indexes and a selection model. <a href="#details">More...</a></p>
18
19
<pre> #include &lt;QTableWidgetSelectionRange&gt;</pre><ul>
19
20
<li><a href="qtablewidgetselectionrange-members.html">List of all members, including inherited members</a></li>
20
21
</ul>
 
22
<hr />
21
23
<a name="public-functions"></a>
22
 
<h3>Public Functions</h3>
23
 
<ul>
24
 
<li><div class="fn"></div><b><a href="qtablewidgetselectionrange.html#QTableWidgetSelectionRange">QTableWidgetSelectionRange</a></b> ()</li>
25
 
<li><div class="fn"></div><b><a href="qtablewidgetselectionrange.html#QTableWidgetSelectionRange-2">QTableWidgetSelectionRange</a></b> ( int <i>top</i>, int <i>left</i>, int <i>bottom</i>, int <i>right</i> )</li>
26
 
<li><div class="fn"></div><b><a href="qtablewidgetselectionrange.html#QTableWidgetSelectionRange-3">QTableWidgetSelectionRange</a></b> ( const QTableWidgetSelectionRange &amp; <i>other</i> )</li>
27
 
<li><div class="fn"></div><b><a href="qtablewidgetselectionrange.html#dtor.QTableWidgetSelectionRange">~QTableWidgetSelectionRange</a></b> ()</li>
28
 
<li><div class="fn"></div>int <b><a href="qtablewidgetselectionrange.html#bottomRow">bottomRow</a></b> () const</li>
29
 
<li><div class="fn"></div>int <b><a href="qtablewidgetselectionrange.html#columnCount">columnCount</a></b> () const</li>
30
 
<li><div class="fn"></div>int <b><a href="qtablewidgetselectionrange.html#leftColumn">leftColumn</a></b> () const</li>
31
 
<li><div class="fn"></div>int <b><a href="qtablewidgetselectionrange.html#rightColumn">rightColumn</a></b> () const</li>
32
 
<li><div class="fn"></div>int <b><a href="qtablewidgetselectionrange.html#rowCount">rowCount</a></b> () const</li>
33
 
<li><div class="fn"></div>int <b><a href="qtablewidgetselectionrange.html#topRow">topRow</a></b> () const</li>
34
 
</ul>
 
24
<h2>Public Functions</h2>
 
25
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
26
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#QTableWidgetSelectionRange">QTableWidgetSelectionRange</a></b> ()</td></tr>
 
27
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#QTableWidgetSelectionRange-2">QTableWidgetSelectionRange</a></b> ( int <i>top</i>, int <i>left</i>, int <i>bottom</i>, int <i>right</i> )</td></tr>
 
28
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#QTableWidgetSelectionRange-3">QTableWidgetSelectionRange</a></b> ( const QTableWidgetSelectionRange &amp; <i>other</i> )</td></tr>
 
29
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#dtor.QTableWidgetSelectionRange">~QTableWidgetSelectionRange</a></b> ()</td></tr>
 
30
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#bottomRow">bottomRow</a></b> () const</td></tr>
 
31
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#columnCount">columnCount</a></b> () const</td></tr>
 
32
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#leftColumn">leftColumn</a></b> () const</td></tr>
 
33
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#rightColumn">rightColumn</a></b> () const</td></tr>
 
34
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#rowCount">rowCount</a></b> () const</td></tr>
 
35
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qtablewidgetselectionrange.html#topRow">topRow</a></b> () const</td></tr>
 
36
</table>
35
37
<a name="details"></a>
36
38
<hr />
37
39
<h2>Detailed Description</h2>
41
43
<p>See also <a href="qtablewidget.html">QTableWidget</a>.</p>
42
44
<hr />
43
45
<h2>Member Function Documentation</h2>
 
46
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/QTableWidgetSelectionRange" />
44
47
<h3 class="fn"><a name="QTableWidgetSelectionRange"></a>QTableWidgetSelectionRange::QTableWidgetSelectionRange ()</h3>
45
48
<p>Constructs an table selection range, i.e&#x2e; a range whose <a href="qtablewidgetselectionrange.html#rowCount">rowCount</a>() and <a href="qtablewidgetselectionrange.html#columnCount">columnCount</a>() are 0.</p>
46
49
<h3 class="fn"><a name="QTableWidgetSelectionRange-2"></a>QTableWidgetSelectionRange::QTableWidgetSelectionRange ( int <i>top</i>, int <i>left</i>, int <i>bottom</i>, int <i>right</i> )</h3>
48
51
<p>See also <a href="qtablewidgetselectionrange.html#topRow">topRow</a>(), <a href="qtablewidgetselectionrange.html#leftColumn">leftColumn</a>(), <a href="qtablewidgetselectionrange.html#bottomRow">bottomRow</a>(), and <a href="qtablewidgetselectionrange.html#rightColumn">rightColumn</a>().</p>
49
52
<h3 class="fn"><a name="QTableWidgetSelectionRange-3"></a>QTableWidgetSelectionRange::QTableWidgetSelectionRange ( const QTableWidgetSelectionRange &amp; <i>other</i> )</h3>
50
53
<p>Constructs a the table selection range by copying the given <i>other</i> table selection range.</p>
 
54
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/~QTableWidgetSelectionRange" />
51
55
<h3 class="fn"><a name="dtor.QTableWidgetSelectionRange"></a>QTableWidgetSelectionRange::~QTableWidgetSelectionRange ()</h3>
52
56
<p>Destroys the table selection range.</p>
 
57
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/bottomRow" />
53
58
<h3 class="fn"><a name="bottomRow"></a>int QTableWidgetSelectionRange::bottomRow () const</h3>
54
59
<p>Returns the bottom row of the range.</p>
55
60
<p>See also <a href="qtablewidgetselectionrange.html#topRow">topRow</a>(), <a href="qtablewidgetselectionrange.html#rightColumn">rightColumn</a>(), and <a href="qtablewidgetselectionrange.html#rowCount">rowCount</a>().</p>
 
61
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/columnCount" />
56
62
<h3 class="fn"><a name="columnCount"></a>int QTableWidgetSelectionRange::columnCount () const</h3>
57
63
<p>Returns the number of columns in the range.</p>
58
64
<p>This is equivalent to <a href="qtablewidgetselectionrange.html#rightColumn">rightColumn</a>() - <a href="qtablewidgetselectionrange.html#leftColumn">leftColumn</a>() + 1.</p>
59
65
<p>This function was introduced in Qt 4.1.</p>
60
66
<p>See also <a href="qtablewidgetselectionrange.html#rowCount">rowCount</a>(), <a href="qtablewidgetselectionrange.html#leftColumn">leftColumn</a>(), and <a href="qtablewidgetselectionrange.html#rightColumn">rightColumn</a>().</p>
 
67
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/leftColumn" />
61
68
<h3 class="fn"><a name="leftColumn"></a>int QTableWidgetSelectionRange::leftColumn () const</h3>
62
69
<p>Returns the left column of the range.</p>
63
70
<p>See also <a href="qtablewidgetselectionrange.html#rightColumn">rightColumn</a>(), <a href="qtablewidgetselectionrange.html#topRow">topRow</a>(), and <a href="qtablewidgetselectionrange.html#columnCount">columnCount</a>().</p>
 
71
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/rightColumn" />
64
72
<h3 class="fn"><a name="rightColumn"></a>int QTableWidgetSelectionRange::rightColumn () const</h3>
65
73
<p>Returns the right column of the range.</p>
66
74
<p>See also <a href="qtablewidgetselectionrange.html#leftColumn">leftColumn</a>(), <a href="qtablewidgetselectionrange.html#bottomRow">bottomRow</a>(), and <a href="qtablewidgetselectionrange.html#columnCount">columnCount</a>().</p>
 
75
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/rowCount" />
67
76
<h3 class="fn"><a name="rowCount"></a>int QTableWidgetSelectionRange::rowCount () const</h3>
68
77
<p>Returns the number of rows in the range.</p>
69
78
<p>This is equivalent to <a href="qtablewidgetselectionrange.html#bottomRow">bottomRow</a>() - <a href="qtablewidgetselectionrange.html#topRow">topRow</a>() + 1.</p>
70
79
<p>This function was introduced in Qt 4.1.</p>
71
80
<p>See also <a href="qtablewidgetselectionrange.html#columnCount">columnCount</a>(), <a href="qtablewidgetselectionrange.html#topRow">topRow</a>(), and <a href="qtablewidgetselectionrange.html#bottomRow">bottomRow</a>().</p>
 
81
<a name="//apple_ref/cpp/instm/QTableWidgetSelectionRange/topRow" />
72
82
<h3 class="fn"><a name="topRow"></a>int QTableWidgetSelectionRange::topRow () const</h3>
73
83
<p>Returns the top row of the range.</p>
74
84
<p>See also <a href="qtablewidgetselectionrange.html#bottomRow">bottomRow</a>(), <a href="qtablewidgetselectionrange.html#leftColumn">leftColumn</a>(), and <a href="qtablewidgetselectionrange.html#rowCount">rowCount</a>().</p>
75
85
<p /><address><hr /><div align="center">
76
86
<table width="100%" cellspacing="0" border="0"><tr class="address">
77
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
78
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
79
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
80
 
</tr></table></div></address></body>
 
87
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
88
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
89
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
90
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
81
91
</html>