eric6/Documentation/Source/eric6.SqlBrowser.SqlConnectionDialog.html

changeset 6942
2602857055c5
parent 4602
48cc4820e2c2
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.SqlBrowser.SqlConnectionDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.SqlBrowser.SqlConnectionDialog</h1>
23 <p>
24 Module implementing a dialog to enter the connection parameters.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#SqlConnectionDialog">SqlConnectionDialog</a></td>
34 <td>Class implementing a dialog to enter the connection parameters.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="SqlConnectionDialog" ID="SqlConnectionDialog"></a>
43 <h2>SqlConnectionDialog</h2>
44 <p>
45 Class implementing a dialog to enter the connection parameters.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_SqlConnectionDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#SqlConnectionDialog.__init__">SqlConnectionDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#SqlConnectionDialog.__updateDialog">__updateDialog</a></td>
64 <td>Private slot to update the dialog depending on its contents.</td>
65 </tr><tr>
66 <td><a href="#SqlConnectionDialog.getData">getData</a></td>
67 <td>Public method to retrieve the connection data.</td>
68 </tr><tr>
69 <td><a href="#SqlConnectionDialog.on_databasePicker_textChanged">on_databasePicker_textChanged</a></td>
70 <td>Private slot handling the change of the database name.</td>
71 </tr><tr>
72 <td><a href="#SqlConnectionDialog.on_driverCombo_activated">on_driverCombo_activated</a></td>
73 <td>Private slot handling the selection of a database driver.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77 <table>
78 <tr><td>None</td></tr>
79 </table>
80 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a>
81 <h4>SqlConnectionDialog (Constructor)</h4>
82 <b>SqlConnectionDialog</b>(<i>parent=None</i>)
83 <p>
84 Constructor
85 </p><dl>
86 <dt><i>parent</i></dt>
87 <dd>
88 reference to the parent widget (QWidget)
89 </dd>
90 </dl><a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a>
91 <h4>SqlConnectionDialog.__updateDialog</h4>
92 <b>__updateDialog</b>(<i></i>)
93 <p>
94 Private slot to update the dialog depending on its contents.
95 </p><a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a>
96 <h4>SqlConnectionDialog.getData</h4>
97 <b>getData</b>(<i></i>)
98 <p>
99 Public method to retrieve the connection data.
100 </p><dl>
101 <dt>Returns:</dt>
102 <dd>
103 tuple giving the driver name (string), the database name
104 (string), the user name (string), the password (string), the
105 host name (string) and the port (integer)
106 </dd>
107 </dl><a NAME="SqlConnectionDialog.on_databasePicker_textChanged" ID="SqlConnectionDialog.on_databasePicker_textChanged"></a>
108 <h4>SqlConnectionDialog.on_databasePicker_textChanged</h4>
109 <b>on_databasePicker_textChanged</b>(<i>txt</i>)
110 <p>
111 Private slot handling the change of the database name.
112 </p><dl>
113 <dt><i>txt</i></dt>
114 <dd>
115 text of the edit (string)
116 </dd>
117 </dl><a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a>
118 <h4>SqlConnectionDialog.on_driverCombo_activated</h4>
119 <b>on_driverCombo_activated</b>(<i>txt</i>)
120 <p>
121 Private slot handling the selection of a database driver.
122 </p><dl>
123 <dt><i>txt</i></dt>
124 <dd>
125 text of the driver combo (string)
126 </dd>
127 </dl>
128 <div align="right"><a href="#top">Up</a></div>
129 <hr />
130 </body></html>

eric ide

mercurial