|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.SqlBrowser.SqlConnectionDialog</title> |
|
6 <style> |
|
7 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' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.SqlBrowser.SqlConnectionDialog</h1> |
|
12 <p> |
|
13 Module implementing a dialog to enter the connection parameters. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#SqlConnectionDialog">SqlConnectionDialog</a></td> |
|
23 <td>Class implementing a dialog to enter the connection parameters.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="SqlConnectionDialog" ID="SqlConnectionDialog"></a> |
|
32 <h2>SqlConnectionDialog</h2> |
|
33 <p> |
|
34 Class implementing a dialog to enter the connection parameters. |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 QDialog, Ui_SqlConnectionDialog |
|
38 <h3>Class Attributes</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <h3>Methods</h3> |
|
43 <table> |
|
44 <tr> |
|
45 <td><a href="#SqlConnectionDialog.__init__">SqlConnectionDialog</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#SqlConnectionDialog.__updateDialog">__updateDialog</a></td> |
|
49 <td>Private slot to update the dialog depending on it's contents.</td> |
|
50 </tr><tr> |
|
51 <td><a href="#SqlConnectionDialog.getData">getData</a></td> |
|
52 <td>Public method to retrieve the connection data.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#SqlConnectionDialog.on_databaseEdit_textChanged">on_databaseEdit_textChanged</a></td> |
|
55 <td>Private slot handling the change of the database name.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#SqlConnectionDialog.on_databaseFileButton_clicked">on_databaseFileButton_clicked</a></td> |
|
58 <td>Private slot to open a database file via a file selection dialog.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SqlConnectionDialog.on_driverCombo_activated">on_driverCombo_activated</a></td> |
|
61 <td>Private slot handling the selection of a database driver.</td> |
|
62 </tr> |
|
63 </table> |
|
64 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a> |
|
65 <h4>SqlConnectionDialog (Constructor)</h4> |
|
66 <b>SqlConnectionDialog</b>(<i>parent = None</i>) |
|
67 <p> |
|
68 Constructor |
|
69 </p><a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a> |
|
70 <h4>SqlConnectionDialog.__updateDialog</h4> |
|
71 <b>__updateDialog</b>(<i></i>) |
|
72 <p> |
|
73 Private slot to update the dialog depending on it's contents. |
|
74 </p><a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a> |
|
75 <h4>SqlConnectionDialog.getData</h4> |
|
76 <b>getData</b>(<i></i>) |
|
77 <p> |
|
78 Public method to retrieve the connection data. |
|
79 </p><dl> |
|
80 <dt>Returns:</dt> |
|
81 <dd> |
|
82 tuple giving the driver name (QString), the database name (QString), |
|
83 the user name (QString), the password (QString), the host name (QString) |
|
84 and the port (integer) |
|
85 </dd> |
|
86 </dl><a NAME="SqlConnectionDialog.on_databaseEdit_textChanged" ID="SqlConnectionDialog.on_databaseEdit_textChanged"></a> |
|
87 <h4>SqlConnectionDialog.on_databaseEdit_textChanged</h4> |
|
88 <b>on_databaseEdit_textChanged</b>(<i>p0</i>) |
|
89 <p> |
|
90 Private slot handling the change of the database name. |
|
91 </p><a NAME="SqlConnectionDialog.on_databaseFileButton_clicked" ID="SqlConnectionDialog.on_databaseFileButton_clicked"></a> |
|
92 <h4>SqlConnectionDialog.on_databaseFileButton_clicked</h4> |
|
93 <b>on_databaseFileButton_clicked</b>(<i></i>) |
|
94 <p> |
|
95 Private slot to open a database file via a file selection dialog. |
|
96 </p><a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> |
|
97 <h4>SqlConnectionDialog.on_driverCombo_activated</h4> |
|
98 <b>on_driverCombo_activated</b>(<i>txt</i>) |
|
99 <p> |
|
100 Private slot handling the selection of a database driver. |
|
101 </p> |
|
102 <div align="right"><a href="#top">Up</a></div> |
|
103 <hr /> |
|
104 </body></html> |