--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.SqlBrowser.SqlConnectionDialog.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,150 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.SqlBrowser.SqlConnectionDialog</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.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_databasePicker_textChanged">on_databasePicker_textChanged</a></td> +<td>Private slot handling the change of the database name.</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>Return:</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_databasePicker_textChanged" ID="SqlConnectionDialog.on_databasePicker_textChanged"></a> +<h4>SqlConnectionDialog.on_databasePicker_textChanged</h4> +<b>on_databasePicker_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_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> +<h4>SqlConnectionDialog.on_driverCombo_activated</h4> +<b>on_driverCombo_activated</b>(<i>index</i>) + +<p> + Private slot handling the selection of a database driver. +</p> +<dl> + +<dt><i>index</i> (int)</dt> +<dd> +index of the selected entry +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file