~ubuntu-branches/ubuntu/precise/python-qt4/precise-proposed

« back to all changes in this revision

Viewing changes to doc/html/qsqlrelation.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell, Jonathan Riddell
  • Date: 2010-11-08 16:13:33 UTC
  • mfrom: (1.5.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101108161333-0nec4wu0nz3wpf9r
Tags: 4.8.1-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Build against python-sip-dev 4.11.2
* Remove kubuntu_02_fix-scpk-and-flag-issue.diff merged upstream
* Install __init__.py into /usr/lib/python3.2/dist-packages/PyQt4,
  fixes Python 3 support
* Add QtDeclarative to python-qt4
* Add kubuntu_03_uiparser.diff from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
td.postheader { font-family: sans-serif }
7
7
tr.address { font-family: sans-serif }
8
8
body { background: #ffffff; color: black; }
9
 
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QSqlRelation Class Reference<br /><sup><sup>[<a href="qtsql.html">QtSql</a> module]</sup></sup></h1><p>The QSqlRelation class stores information about an SQL foreign key. <a href="#details">More...</a></p>
10
 
<h3>Methods</h3><ul><li><div class="fn" /><b><a href="qsqlrelation.html#QSqlRelation">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qsqlrelation.html#QSqlRelation-2">__init__</a></b> (<i>self</i>, QString, QString, QString)</li><li><div class="fn" /><b><a href="qsqlrelation.html#QSqlRelation-3">__init__</a></b> (<i>self</i>, QSqlRelation)</li><li><div class="fn" />QString <b><a href="qsqlrelation.html#displayColumn">displayColumn</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsqlrelation.html#indexColumn">indexColumn</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qsqlrelation.html#isValid">isValid</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsqlrelation.html#tableName">tableName</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QSqlRelation class stores information about an SQL foreign key.</p>
11
 
<p>QSqlRelation is a helper class for <a href="qsqlrelationaltablemodel.html">QSqlRelationalTableModel</a>. See <a href="qsqlrelationaltablemodel.html#setRelation">QSqlRelationalTableModel.setRelation</a>() and <a href="qsqlrelationaltablemodel.html#relation">QSqlRelationalTableModel.relation</a>() for details.</p>
12
 
<p>See also <a href="qsqlrelationaltablemodel.html">QSqlRelationalTableModel</a>, <a href="qsqlrelationaldelegate.html">QSqlRelationalDelegate</a>, and <a href="sql-relationaltablemodel.html">Relational Table Model Example</a>.</p>
 
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QSqlRelation Class Reference<br /><sup><sup>[<a href="qtsql.html">QtSql</a> module]</sup></sup></h1><p>The QSqlRelation class stores information about an SQL foreign
 
10
key. <a href="#details">More...</a></p>
 
11
 
 
12
<h3>Methods</h3><ul><li><div class="fn" /><b><a href="qsqlrelation.html#QSqlRelation">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qsqlrelation.html#QSqlRelation-2">__init__</a></b> (<i>self</i>, QString, QString, QString)</li><li><div class="fn" /><b><a href="qsqlrelation.html#QSqlRelation-3">__init__</a></b> (<i>self</i>, QSqlRelation)</li><li><div class="fn" />QString <b><a href="qsqlrelation.html#displayColumn">displayColumn</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsqlrelation.html#indexColumn">indexColumn</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qsqlrelation.html#isValid">isValid</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsqlrelation.html#tableName">tableName</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QSqlRelation class stores information about an SQL foreign
 
13
key.</p>
 
14
<p>QSqlRelation is a helper class for <a href="qsqlrelationaltablemodel.html">QSqlRelationalTableModel</a>. See
 
15
<a href="qsqlrelationaltablemodel.html#setRelation">QSqlRelationalTableModel.setRelation</a>()
 
16
and <a href="qsqlrelationaltablemodel.html#relation">QSqlRelationalTableModel.relation</a>()
 
17
for details.</p>
13
18
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QSqlRelation" />QSqlRelation.__init__ (<i>self</i>)</h3><p>Constructs an invalid <a href="qsqlrelation.html">QSqlRelation</a> object.</p>
14
 
<p>For such an object, the <a href="qsqlrelation.html#tableName">tableName</a>(), <a href="qsqlrelation.html#indexColumn">indexColumn</a>(), and <a href="qsqlrelation.html#displayColumn">displayColumn</a>() functions return an empty string.</p>
 
19
<p>For such an object, the <a href="qsqlrelation.html#tableName">tableName</a>(), <a href="qsqlrelation.html#indexColumn">indexColumn</a>(), and <a href="qsqlrelation.html#displayColumn">displayColumn</a>() functions
 
20
return an empty string.</p>
15
21
<p>See also <a href="qsqlrelation.html#isValid">isValid</a>().</p>
16
 
<h3 class="fn"><a name="QSqlRelation-2" />QSqlRelation.__init__ (<i>self</i>, QString, QString, QString)</h3><p>Constructs a <a href="qsqlrelation.html">QSqlRelation</a> object, where <i>tableName</i> is the SQL table name to which a foreign key refers, <i>indexColumn</i> is the foreign key, and <i>displayColumn</i> is the field that should be presented to the user.</p>
17
 
<p>See also <a href="qsqlrelation.html#tableName">tableName</a>(), <a href="qsqlrelation.html#indexColumn">indexColumn</a>(), and <a href="qsqlrelation.html#displayColumn">displayColumn</a>().</p>
18
 
<a name="//apple_ref/cpp/instm/QSqlRelation/displayColumn" />
19
 
<h3 class="fn"><a name="QSqlRelation-3" />QSqlRelation.__init__ (<i>self</i>, <a href="qsqlrelation.html">QSqlRelation</a>)</h3><h3 class="fn"><a name="displayColumn" />QString QSqlRelation.displayColumn (<i>self</i>)</h3><p>Returns the column from table <a href="qsqlrelation.html#tableName">tableName</a>() that should be presented to the user instead of a foreign key.</p>
20
 
<a name="//apple_ref/cpp/instm/QSqlRelation/indexColumn" />
21
 
<h3 class="fn"><a name="indexColumn" />QString QSqlRelation.indexColumn (<i>self</i>)</h3><p>Returns the index column from table <a href="qsqlrelation.html#tableName">tableName</a>() to which a foreign key refers.</p>
22
 
<a name="//apple_ref/cpp/instm/QSqlRelation/isValid" />
23
 
<h3 class="fn"><a name="isValid" />bool QSqlRelation.isValid (<i>self</i>)</h3><p>Returns true if the <a href="qsqlrelation.html">QSqlRelation</a> object is valid; otherwise returns false.</p>
24
 
<a name="//apple_ref/cpp/instm/QSqlRelation/tableName" />
 
22
 
 
23
 
 
24
<h3 class="fn"><a name="QSqlRelation-2" />QSqlRelation.__init__ (<i>self</i>, QString, QString, QString)</h3><p>Constructs a <a href="qsqlrelation.html">QSqlRelation</a>
 
25
object, where <i>tableName</i> is the SQL table name to which a
 
26
foreign key refers, <i>indexColumn</i> is the foreign key, and
 
27
<i>displayColumn</i> is the field that should be presented to the
 
28
user.</p>
 
29
<p>See also <a href="qsqlrelation.html#tableName">tableName</a>(),
 
30
<a href="qsqlrelation.html#indexColumn">indexColumn</a>(), and
 
31
<a href="qsqlrelation.html#displayColumn">displayColumn</a>().</p>
 
32
 
 
33
 
 
34
<h3 class="fn"><a name="QSqlRelation-3" />QSqlRelation.__init__ (<i>self</i>, <a href="qsqlrelation.html">QSqlRelation</a>)</h3><h3 class="fn"><a name="displayColumn" />QString QSqlRelation.displayColumn (<i>self</i>)</h3><p>Returns the column from table <a href="qsqlrelation.html#tableName">tableName</a>() that should be
 
35
presented to the user instead of a foreign key.</p>
 
36
 
 
37
 
 
38
<h3 class="fn"><a name="indexColumn" />QString QSqlRelation.indexColumn (<i>self</i>)</h3><p>Returns the index column from table <a href="qsqlrelation.html#tableName">tableName</a>() to which a foreign
 
39
key refers.</p>
 
40
 
 
41
 
 
42
<h3 class="fn"><a name="isValid" />bool QSqlRelation.isValid (<i>self</i>)</h3><p>Returns true if the <a href="qsqlrelation.html">QSqlRelation</a>
 
43
object is valid; otherwise returns false.</p>
 
44
 
 
45
 
25
46
<h3 class="fn"><a name="tableName" />QString QSqlRelation.tableName (<i>self</i>)</h3><p>Returns the name of the table to which a foreign key refers.</p>
26
 
<p /><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.7.7 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.6.3</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'
 
47
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.8.1 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.7.0</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'