src/eric7/Documentation/Source/eric7.SqlBrowser.SqlConnectionDialog.html

branch
eric7
changeset 10479
856476537696
parent 10431
64157aeb0312
child 10692
9becf9ca115c
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.SqlBrowser.SqlConnectionDialog</h1> 9 <h1>eric7.SqlBrowser.SqlConnectionDialog</h1>
10
11 <p> 10 <p>
12 Module implementing a dialog to enter the connection parameters. 11 Module implementing a dialog to enter the connection parameters.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#SqlConnectionDialog">SqlConnectionDialog</a></td> 22 <td><a href="#SqlConnectionDialog">SqlConnectionDialog</a></td>
25 <td>Class implementing a dialog to enter the connection parameters.</td> 23 <td>Class implementing a dialog to enter the connection parameters.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="SqlConnectionDialog" ID="SqlConnectionDialog"></a> 34 <a NAME="SqlConnectionDialog" ID="SqlConnectionDialog"></a>
36 <h2>SqlConnectionDialog</h2> 35 <h2>SqlConnectionDialog</h2>
37
38 <p> 36 <p>
39 Class implementing a dialog to enter the connection parameters. 37 Class implementing a dialog to enter the connection parameters.
40 </p> 38 </p>
39
41 <h3>Derived from</h3> 40 <h3>Derived from</h3>
42 QDialog, Ui_SqlConnectionDialog 41 QDialog, Ui_SqlConnectionDialog
43 <h3>Class Attributes</h3> 42 <h3>Class Attributes</h3>
44
45 <table> 43 <table>
46 <tr><td>None</td></tr> 44 <tr><td>None</td></tr>
47 </table> 45 </table>
46
48 <h3>Class Methods</h3> 47 <h3>Class Methods</h3>
49
50 <table> 48 <table>
51 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
52 </table> 50 </table>
51
53 <h3>Methods</h3> 52 <h3>Methods</h3>
54
55 <table> 53 <table>
56
57 <tr> 54 <tr>
58 <td><a href="#SqlConnectionDialog.__init__">SqlConnectionDialog</a></td> 55 <td><a href="#SqlConnectionDialog.__init__">SqlConnectionDialog</a></td>
59 <td>Constructor</td> 56 <td>Constructor</td>
60 </tr> 57 </tr>
61 <tr> 58 <tr>
73 <tr> 70 <tr>
74 <td><a href="#SqlConnectionDialog.on_driverCombo_activated">on_driverCombo_activated</a></td> 71 <td><a href="#SqlConnectionDialog.on_driverCombo_activated">on_driverCombo_activated</a></td>
75 <td>Private slot handling the selection of a database driver.</td> 72 <td>Private slot handling the selection of a database driver.</td>
76 </tr> 73 </tr>
77 </table> 74 </table>
75
78 <h3>Static Methods</h3> 76 <h3>Static Methods</h3>
79
80 <table> 77 <table>
81 <tr><td>None</td></tr> 78 <tr><td>None</td></tr>
82 </table> 79 </table>
83 80
81
84 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a> 82 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a>
85 <h4>SqlConnectionDialog (Constructor)</h4> 83 <h4>SqlConnectionDialog (Constructor)</h4>
86 <b>SqlConnectionDialog</b>(<i>parent=None</i>) 84 <b>SqlConnectionDialog</b>(<i>parent=None</i>)
87
88 <p> 85 <p>
89 Constructor 86 Constructor
90 </p> 87 </p>
88
91 <dl> 89 <dl>
92 90
93 <dt><i>parent</i> (QWidget)</dt> 91 <dt><i>parent</i> (QWidget)</dt>
94 <dd> 92 <dd>
95 reference to the parent widget 93 reference to the parent widget
96 </dd> 94 </dd>
97 </dl> 95 </dl>
98 <a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a> 96 <a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a>
99 <h4>SqlConnectionDialog.__updateDialog</h4> 97 <h4>SqlConnectionDialog.__updateDialog</h4>
100 <b>__updateDialog</b>(<i></i>) 98 <b>__updateDialog</b>(<i></i>)
101
102 <p> 99 <p>
103 Private slot to update the dialog depending on its contents. 100 Private slot to update the dialog depending on its contents.
104 </p> 101 </p>
102
105 <a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a> 103 <a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a>
106 <h4>SqlConnectionDialog.getData</h4> 104 <h4>SqlConnectionDialog.getData</h4>
107 <b>getData</b>(<i></i>) 105 <b>getData</b>(<i></i>)
108
109 <p> 106 <p>
110 Public method to retrieve the connection data. 107 Public method to retrieve the connection data.
111 </p> 108 </p>
109
112 <dl> 110 <dl>
113 <dt>Return:</dt> 111 <dt>Return:</dt>
114 <dd> 112 <dd>
115 tuple giving the driver name, the database name, the user name, 113 tuple giving the driver name, the database name, the user name,
116 the password, the host name and the port 114 the password, the host name and the port
123 </dd> 121 </dd>
124 </dl> 122 </dl>
125 <a NAME="SqlConnectionDialog.on_databasePicker_textChanged" ID="SqlConnectionDialog.on_databasePicker_textChanged"></a> 123 <a NAME="SqlConnectionDialog.on_databasePicker_textChanged" ID="SqlConnectionDialog.on_databasePicker_textChanged"></a>
126 <h4>SqlConnectionDialog.on_databasePicker_textChanged</h4> 124 <h4>SqlConnectionDialog.on_databasePicker_textChanged</h4>
127 <b>on_databasePicker_textChanged</b>(<i>txt</i>) 125 <b>on_databasePicker_textChanged</b>(<i>txt</i>)
128
129 <p> 126 <p>
130 Private slot handling the change of the database name. 127 Private slot handling the change of the database name.
131 </p> 128 </p>
129
132 <dl> 130 <dl>
133 131
134 <dt><i>txt</i> (str)</dt> 132 <dt><i>txt</i> (str)</dt>
135 <dd> 133 <dd>
136 text of the edit 134 text of the edit
137 </dd> 135 </dd>
138 </dl> 136 </dl>
139 <a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> 137 <a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a>
140 <h4>SqlConnectionDialog.on_driverCombo_activated</h4> 138 <h4>SqlConnectionDialog.on_driverCombo_activated</h4>
141 <b>on_driverCombo_activated</b>(<i>index</i>) 139 <b>on_driverCombo_activated</b>(<i>index</i>)
142
143 <p> 140 <p>
144 Private slot handling the selection of a database driver. 141 Private slot handling the selection of a database driver.
145 </p> 142 </p>
143
146 <dl> 144 <dl>
147 145
148 <dt><i>index</i> (int)</dt> 146 <dt><i>index</i> (int)</dt>
149 <dd> 147 <dd>
150 index of the selected entry 148 index of the selected entry

eric ide

mercurial