--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric6.SqlBrowser.SqlConnectionDialog.html Sat Jul 05 12:29:15 2014 +0200 @@ -0,0 +1,138 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.SqlBrowser.SqlConnectionDialog</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric6.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>Class Methods</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 its 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> +<h3>Static Methods</h3> +<table> +<tr><td>None</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><dl> +<dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl><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 its 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 (string), the database name + (string), the user name (string), the password (string), the + host name (string) 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>txt</i>) +<p> + Private slot handling the change of the database name. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text of the edit (string) +</dd> +</dl><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><dl> +<dt><i>txt</i></dt> +<dd> +text of the driver combo (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file