Tue, 23 Apr 2024 11:26:04 +0200
Changed the source code and the source code documentation to improve the indication of unused method/function arguments.
<!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> (QWidget)</dt> <dd> reference to the parent widget </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, the database name, the user name, the password, the host name and the port </dd> </dl> <dl> <dt>Return Type:</dt> <dd> tuple of (str, str, str, str, str, int) </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> (str)</dt> <dd> text of the edit (unused) </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 (unused) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>