diff -r 892c1787d666 -r edde1fe80b3e Documentation/Source/eric5.SqlBrowser.SqlConnectionDialog.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.SqlBrowser.SqlConnectionDialog.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.SqlBrowser.SqlConnectionDialog</title> +<style> +b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.SqlBrowser.SqlConnectionDialog</h1> +<p> +Module implementing a dialog to enter the connection parameters. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#SqlConnectionDialog">SqlConnectionDialog</a></td> +<td>Class implementing a dialog to enter the connection parameters.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="SqlConnectionDialog" ID="SqlConnectionDialog"></a> +<h2>SqlConnectionDialog</h2> +<p> + Class implementing a dialog to enter the connection parameters. +</p> +<h3>Derived from</h3> +QDialog, Ui_SqlConnectionDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#SqlConnectionDialog.__init__">SqlConnectionDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#SqlConnectionDialog.__updateDialog">__updateDialog</a></td> +<td>Private slot to update the dialog depending on it's contents.</td> +</tr><tr> +<td><a href="#SqlConnectionDialog.getData">getData</a></td> +<td>Public method to retrieve the connection data.</td> +</tr><tr> +<td><a href="#SqlConnectionDialog.on_databaseEdit_textChanged">on_databaseEdit_textChanged</a></td> +<td>Private slot handling the change of the database name.</td> +</tr><tr> +<td><a href="#SqlConnectionDialog.on_databaseFileButton_clicked">on_databaseFileButton_clicked</a></td> +<td>Private slot to open a database file via a file selection dialog.</td> +</tr><tr> +<td><a href="#SqlConnectionDialog.on_driverCombo_activated">on_driverCombo_activated</a></td> +<td>Private slot handling the selection of a database driver.</td> +</tr> +</table> +<a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a> +<h4>SqlConnectionDialog (Constructor)</h4> +<b>SqlConnectionDialog</b>(<i>parent = None</i>) +<p> + Constructor +</p><a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a> +<h4>SqlConnectionDialog.__updateDialog</h4> +<b>__updateDialog</b>(<i></i>) +<p> + Private slot to update the dialog depending on it's contents. +</p><a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a> +<h4>SqlConnectionDialog.getData</h4> +<b>getData</b>(<i></i>) +<p> + Public method to retrieve the connection data. +</p><dl> +<dt>Returns:</dt> +<dd> +tuple giving the driver name (QString), the database name (QString), + the user name (QString), the password (QString), the host name (QString) + and the port (integer) +</dd> +</dl><a NAME="SqlConnectionDialog.on_databaseEdit_textChanged" ID="SqlConnectionDialog.on_databaseEdit_textChanged"></a> +<h4>SqlConnectionDialog.on_databaseEdit_textChanged</h4> +<b>on_databaseEdit_textChanged</b>(<i>p0</i>) +<p> + Private slot handling the change of the database name. +</p><a NAME="SqlConnectionDialog.on_databaseFileButton_clicked" ID="SqlConnectionDialog.on_databaseFileButton_clicked"></a> +<h4>SqlConnectionDialog.on_databaseFileButton_clicked</h4> +<b>on_databaseFileButton_clicked</b>(<i></i>) +<p> + Private slot to open a database file via a file selection dialog. +</p><a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> +<h4>SqlConnectionDialog.on_driverCombo_activated</h4> +<b>on_driverCombo_activated</b>(<i>txt</i>) +<p> + Private slot handling the selection of a database driver. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file