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

« back to all changes in this revision

Viewing changes to doc/html/qtexttablecell.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/gui/text/qtexttable.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: QTextTableCell Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<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="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QTextTableCell Class Reference</h1>
 
21
<p>The QTextTableCell class represents the properties of a cell in a <a href="qtexttable.html">QTextTable</a>. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;QTextTableCell&gt;</pre><p>Part of the <a href="qtgui.html">QtGui</a> module.</p>
 
23
<ul>
 
24
<li><a href="qtexttablecell-members.html">List of all members, including inherited members</a></li>
 
25
</ul>
 
26
<a name="public-functions"></a>
 
27
<h3>Public Functions</h3>
 
28
<ul>
 
29
<li><div class="fn"/><b><a href="qtexttablecell.html#QTextTableCell">QTextTableCell</a></b> ()</li>
 
30
<li><div class="fn"/><b><a href="qtexttablecell.html#QTextTableCell-2">QTextTableCell</a></b> ( const QTextTableCell &amp; <i>other</i> )</li>
 
31
<li><div class="fn"/><b><a href="qtexttablecell.html#dtor.QTextTableCell">~QTextTableCell</a></b> ()</li>
 
32
<li><div class="fn"/>QTextFrame::iterator <b><a href="qtexttablecell.html#begin">begin</a></b> () const</li>
 
33
<li><div class="fn"/>int <b><a href="qtexttablecell.html#column">column</a></b> () const</li>
 
34
<li><div class="fn"/>int <b><a href="qtexttablecell.html#columnSpan">columnSpan</a></b> () const</li>
 
35
<li><div class="fn"/>QTextFrame::iterator <b><a href="qtexttablecell.html#end">end</a></b> () const</li>
 
36
<li><div class="fn"/>QTextCursor <b><a href="qtexttablecell.html#firstCursorPosition">firstCursorPosition</a></b> () const</li>
 
37
<li><div class="fn"/>QTextCharFormat <b><a href="qtexttablecell.html#format">format</a></b> () const</li>
 
38
<li><div class="fn"/>bool <b><a href="qtexttablecell.html#isValid">isValid</a></b> () const</li>
 
39
<li><div class="fn"/>QTextCursor <b><a href="qtexttablecell.html#lastCursorPosition">lastCursorPosition</a></b> () const</li>
 
40
<li><div class="fn"/>int <b><a href="qtexttablecell.html#row">row</a></b> () const</li>
 
41
<li><div class="fn"/>int <b><a href="qtexttablecell.html#rowSpan">rowSpan</a></b> () const</li>
 
42
<li><div class="fn"/>bool <b><a href="qtexttablecell.html#operator-not-eq">operator!=</a></b> ( const QTextTableCell &amp; <i>other</i> ) const</li>
 
43
<li><div class="fn"/>QTextTableCell &amp; <b><a href="qtexttablecell.html#operator-eq">operator=</a></b> ( const QTextTableCell &amp; <i>other</i> )</li>
 
44
<li><div class="fn"/>bool <b><a href="qtexttablecell.html#operator-eq-eq">operator==</a></b> ( const QTextTableCell &amp; <i>other</i> ) const</li>
 
45
</ul>
 
46
<a name="details"></a>
 
47
<hr />
 
48
<h2>Detailed Description</h2>
 
49
<p>The QTextTableCell class represents the properties of a cell in a <a href="qtexttable.html">QTextTable</a>.</p>
 
50
<p>Table cells are pieces of document structure that belong to a table. The table orders cells into particular rows and columns; cells can also span multiple columns and rows.</p>
 
51
<p>Cells are usually created when a table is inserted into a document with <a href="qtextcursor.html#insertTable">QTextCursor::insertTable</a>(), but they are also created and destroyed when a table is resized.</p>
 
52
<p>Cells contain information about their location in a table; you can obtain the <a href="qtexttablecell.html#row">row</a>() and <a href="qtexttablecell.html#column">column</a>() numbers of a cell, and its <a href="qtexttablecell.html#rowSpan">rowSpan</a>() and <a href="qtexttablecell.html#columnSpan">columnSpan</a>().</p>
 
53
<p>The <a href="qtexttablecell.html#format">format</a>() of a cell describes the default character format of its contents. The <a href="qtexttablecell.html#firstCursorPosition">firstCursorPosition</a>() and <a href="qtexttablecell.html#lastCursorPosition">lastCursorPosition</a>() functions are used to obtain the extent of the cell in the document.</p>
 
54
<p>See also <a href="qtexttable.html">QTextTable</a> and <a href="qtexttableformat.html">QTextTableFormat</a>.</p>
 
55
<hr />
 
56
<h2>Member Function Documentation</h2>
 
57
<h3 class="fn"><a name="QTextTableCell"></a>QTextTableCell::QTextTableCell ()</h3>
 
58
<p>Constructs an invalid table cell.</p>
 
59
<p>See also <a href="qtexttablecell.html#isValid">isValid</a>().</p>
 
60
<h3 class="fn"><a name="QTextTableCell-2"></a>QTextTableCell::QTextTableCell ( const QTextTableCell &amp; <i>other</i> )</h3>
 
61
<p>Copy constructor. Creates a new <a href="qtexttablecell.html">QTextTableCell</a> object based on the <i>other</i> cell.</p>
 
62
<h3 class="fn"><a name="dtor.QTextTableCell"></a>QTextTableCell::~QTextTableCell ()</h3>
 
63
<p>Destroys the table cell.</p>
 
64
<h3 class="fn"><a name="begin"></a><a href="qtextframe-iterator.html">QTextFrame::iterator</a> QTextTableCell::begin () const</h3>
 
65
<p>Returns a frame iterator pointing to the beginning of the table's cell.</p>
 
66
<p>See also <a href="qtexttablecell.html#end">end</a>().</p>
 
67
<h3 class="fn"><a name="column"></a>int QTextTableCell::column () const</h3>
 
68
<p>Returns the number of the column in the table that contains this cell.</p>
 
69
<p>See also <a href="qtexttablecell.html#row">row</a>().</p>
 
70
<h3 class="fn"><a name="columnSpan"></a>int QTextTableCell::columnSpan () const</h3>
 
71
<p>Returns the number of columns this cell spans. The default is 1.</p>
 
72
<p>See also <a href="qtexttablecell.html#rowSpan">rowSpan</a>().</p>
 
73
<h3 class="fn"><a name="end"></a><a href="qtextframe-iterator.html">QTextFrame::iterator</a> QTextTableCell::end () const</h3>
 
74
<p>Returns a frame iterator pointing to the end of the table's cell.</p>
 
75
<p>See also <a href="qtexttablecell.html#begin">begin</a>().</p>
 
76
<h3 class="fn"><a name="firstCursorPosition"></a><a href="qtextcursor.html">QTextCursor</a> QTextTableCell::firstCursorPosition () const</h3>
 
77
<p>Returns the first valid cursor position in this cell.</p>
 
78
<p>See also <a href="qtexttablecell.html#lastCursorPosition">lastCursorPosition</a>().</p>
 
79
<h3 class="fn"><a name="format"></a><a href="qtextcharformat.html">QTextCharFormat</a> QTextTableCell::format () const</h3>
 
80
<p>Returns the cell's character format.</p>
 
81
<h3 class="fn"><a name="isValid"></a>bool QTextTableCell::isValid () const</h3>
 
82
<p>Returns true if this is a valid table cell; otherwise returns false.</p>
 
83
<h3 class="fn"><a name="lastCursorPosition"></a><a href="qtextcursor.html">QTextCursor</a> QTextTableCell::lastCursorPosition () const</h3>
 
84
<p>Returns the last valid cursor position in this cell.</p>
 
85
<p>See also <a href="qtexttablecell.html#firstCursorPosition">firstCursorPosition</a>().</p>
 
86
<h3 class="fn"><a name="row"></a>int QTextTableCell::row () const</h3>
 
87
<p>Returns the number of the row in the table that contains this cell.</p>
 
88
<p>See also <a href="qtexttablecell.html#column">column</a>().</p>
 
89
<h3 class="fn"><a name="rowSpan"></a>int QTextTableCell::rowSpan () const</h3>
 
90
<p>Returns the number of rows this cell spans. The default is 1.</p>
 
91
<p>See also <a href="qtexttablecell.html#columnSpan">columnSpan</a>().</p>
 
92
<h3 class="fn"><a name="operator-not-eq"></a>bool QTextTableCell::operator!= ( const QTextTableCell &amp; <i>other</i> ) const</h3>
 
93
<p>Returns true if this cell object and the <i>other</i> cell object describe different cells; otherwise returns false.</p>
 
94
<h3 class="fn"><a name="operator-eq"></a>QTextTableCell &amp; QTextTableCell::operator= ( const QTextTableCell &amp; <i>other</i> )</h3>
 
95
<p>Assigns the <i>other</i> table cell to this table cell.</p>
 
96
<h3 class="fn"><a name="operator-eq-eq"></a>bool QTextTableCell::operator== ( const QTextTableCell &amp; <i>other</i> ) const</h3>
 
97
<p>Returns true if this cell object and the <i>other</i> cell object describe the same cell; otherwise returns false.</p>
 
98
<p /><address><hr /><div align="center">
 
99
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
100
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
101
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
102
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
103
</tr></table></div></address></body>
 
104
</html>