83 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a> |
83 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a> |
84 <h4>SqlConnectionDialog (Constructor)</h4> |
84 <h4>SqlConnectionDialog (Constructor)</h4> |
85 <b>SqlConnectionDialog</b>(<i>parent=None</i>) |
85 <b>SqlConnectionDialog</b>(<i>parent=None</i>) |
86 <p> |
86 <p> |
87 Constructor |
87 Constructor |
88 </p><a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a> |
88 </p><dl> |
|
89 <dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl><a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a> |
89 <h4>SqlConnectionDialog.__updateDialog</h4> |
94 <h4>SqlConnectionDialog.__updateDialog</h4> |
90 <b>__updateDialog</b>(<i></i>) |
95 <b>__updateDialog</b>(<i></i>) |
91 <p> |
96 <p> |
92 Private slot to update the dialog depending on its contents. |
97 Private slot to update the dialog depending on its contents. |
93 </p><a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a> |
98 </p><a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a> |
96 <p> |
101 <p> |
97 Public method to retrieve the connection data. |
102 Public method to retrieve the connection data. |
98 </p><dl> |
103 </p><dl> |
99 <dt>Returns:</dt> |
104 <dt>Returns:</dt> |
100 <dd> |
105 <dd> |
101 tuple giving the driver name (string), the database name (string), |
106 tuple giving the driver name (string), the database name |
102 the user name (string), the password (string), the host name (string) |
107 (string), the user name (string), the password (string), the |
103 and the port (integer) |
108 host name (string) and the port (integer) |
104 </dd> |
109 </dd> |
105 </dl><a NAME="SqlConnectionDialog.on_databaseEdit_textChanged" ID="SqlConnectionDialog.on_databaseEdit_textChanged"></a> |
110 </dl><a NAME="SqlConnectionDialog.on_databaseEdit_textChanged" ID="SqlConnectionDialog.on_databaseEdit_textChanged"></a> |
106 <h4>SqlConnectionDialog.on_databaseEdit_textChanged</h4> |
111 <h4>SqlConnectionDialog.on_databaseEdit_textChanged</h4> |
107 <b>on_databaseEdit_textChanged</b>(<i>p0</i>) |
112 <b>on_databaseEdit_textChanged</b>(<i>txt</i>) |
108 <p> |
113 <p> |
109 Private slot handling the change of the database name. |
114 Private slot handling the change of the database name. |
110 </p><a NAME="SqlConnectionDialog.on_databaseFileButton_clicked" ID="SqlConnectionDialog.on_databaseFileButton_clicked"></a> |
115 </p><dl> |
|
116 <dt><i>txt</i></dt> |
|
117 <dd> |
|
118 text of the edit (string) |
|
119 </dd> |
|
120 </dl><a NAME="SqlConnectionDialog.on_databaseFileButton_clicked" ID="SqlConnectionDialog.on_databaseFileButton_clicked"></a> |
111 <h4>SqlConnectionDialog.on_databaseFileButton_clicked</h4> |
121 <h4>SqlConnectionDialog.on_databaseFileButton_clicked</h4> |
112 <b>on_databaseFileButton_clicked</b>(<i></i>) |
122 <b>on_databaseFileButton_clicked</b>(<i></i>) |
113 <p> |
123 <p> |
114 Private slot to open a database file via a file selection dialog. |
124 Private slot to open a database file via a file selection dialog. |
115 </p><a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> |
125 </p><a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> |
116 <h4>SqlConnectionDialog.on_driverCombo_activated</h4> |
126 <h4>SqlConnectionDialog.on_driverCombo_activated</h4> |
117 <b>on_driverCombo_activated</b>(<i>txt</i>) |
127 <b>on_driverCombo_activated</b>(<i>txt</i>) |
118 <p> |
128 <p> |
119 Private slot handling the selection of a database driver. |
129 Private slot handling the selection of a database driver. |
120 </p> |
130 </p><dl> |
|
131 <dt><i>txt</i></dt> |
|
132 <dd> |
|
133 text of the driver combo (string) |
|
134 </dd> |
|
135 </dl> |
121 <div align="right"><a href="#top">Up</a></div> |
136 <div align="right"><a href="#top">Up</a></div> |
122 <hr /> |
137 <hr /> |
123 </body></html> |
138 </body></html> |