59 </table> |
59 </table> |
60 <h3>Methods</h3> |
60 <h3>Methods</h3> |
61 <table> |
61 <table> |
62 <tr> |
62 <tr> |
63 <td><a href="#SqlBrowserWidget.__init__">SqlBrowserWidget</a></td> |
63 <td><a href="#SqlBrowserWidget.__init__">SqlBrowserWidget</a></td> |
64 <td>Constructor</td> |
64 <td>Constructor</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#SqlBrowserWidget.__deleteRow">__deleteRow</a></td> |
66 <td><a href="#SqlBrowserWidget.__deleteRow">__deleteRow</a></td> |
67 <td>Privat slot to delete a row from the database table.</td> |
67 <td>Privat slot to delete a row from the database table.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#SqlBrowserWidget.__insertRow">__insertRow</a></td> |
69 <td><a href="#SqlBrowserWidget.__insertRow">__insertRow</a></td> |
70 <td>Privat slot to insert a row into the database table.</td> |
70 <td>Privat slot to insert a row into the database table.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#SqlBrowserWidget.addConnection">addConnection</a></td> |
72 <td><a href="#SqlBrowserWidget.addConnection">addConnection</a></td> |
73 <td>Public method to add a database connection.</td> |
73 <td>Public method to add a database connection.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#SqlBrowserWidget.addConnectionByDialog">addConnectionByDialog</a></td> |
75 <td><a href="#SqlBrowserWidget.addConnectionByDialog">addConnectionByDialog</a></td> |
76 <td>Public slot to add a database connection via an input dialog.</td> |
76 <td>Public slot to add a database connection via an input dialog.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#SqlBrowserWidget.executeQuery">executeQuery</a></td> |
78 <td><a href="#SqlBrowserWidget.executeQuery">executeQuery</a></td> |
79 <td>Public slot to execute the entered query.</td> |
79 <td>Public slot to execute the entered query.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#SqlBrowserWidget.on_clearButton_clicked">on_clearButton_clicked</a></td> |
81 <td><a href="#SqlBrowserWidget.on_clearButton_clicked">on_clearButton_clicked</a></td> |
82 <td>Private slot to clear the SQL entry widget.</td> |
82 <td>Private slot to clear the SQL entry widget.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#SqlBrowserWidget.on_connections_cleared">on_connections_cleared</a></td> |
84 <td><a href="#SqlBrowserWidget.on_connections_cleared">on_connections_cleared</a></td> |
85 <td>Private slot to clear the table.</td> |
85 <td>Private slot to clear the table.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#SqlBrowserWidget.on_connections_schemaRequested">on_connections_schemaRequested</a></td> |
87 <td><a href="#SqlBrowserWidget.on_connections_schemaRequested">on_connections_schemaRequested</a></td> |
88 <td>Private slot to show the schema of a table.</td> |
88 <td>Private slot to show the schema of a table.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#SqlBrowserWidget.on_connections_tableActivated">on_connections_tableActivated</a></td> |
90 <td><a href="#SqlBrowserWidget.on_connections_tableActivated">on_connections_tableActivated</a></td> |
91 <td>Private slot to show the contents of a table.</td> |
91 <td>Private slot to show the contents of a table.</td> |
92 </tr><tr> |
92 </tr><tr> |
93 <td><a href="#SqlBrowserWidget.on_deleteRowAction_triggered">on_deleteRowAction_triggered</a></td> |
93 <td><a href="#SqlBrowserWidget.on_deleteRowAction_triggered">on_deleteRowAction_triggered</a></td> |
94 <td>Private slot handling the action to delete a row.</td> |
94 <td>Private slot handling the action to delete a row.</td> |
95 </tr><tr> |
95 </tr><tr> |
96 <td><a href="#SqlBrowserWidget.on_executeButton_clicked">on_executeButton_clicked</a></td> |
96 <td><a href="#SqlBrowserWidget.on_executeButton_clicked">on_executeButton_clicked</a></td> |
97 <td>Private slot to execute the entered SQL query.</td> |
97 <td>Private slot to execute the entered SQL query.</td> |
98 </tr><tr> |
98 </tr><tr> |
99 <td><a href="#SqlBrowserWidget.on_insertRowAction_triggered">on_insertRowAction_triggered</a></td> |
99 <td><a href="#SqlBrowserWidget.on_insertRowAction_triggered">on_insertRowAction_triggered</a></td> |
100 <td>Private slot handling the action to insert a new row.</td> |
100 <td>Private slot handling the action to insert a new row.</td> |
101 </tr><tr> |
101 </tr><tr> |
102 <td><a href="#SqlBrowserWidget.showSchema">showSchema</a></td> |
102 <td><a href="#SqlBrowserWidget.showSchema">showSchema</a></td> |
103 <td>Public slot to show the schema of a table.</td> |
103 <td>Public slot to show the schema of a table.</td> |
104 </tr><tr> |
104 </tr><tr> |
105 <td><a href="#SqlBrowserWidget.showTable">showTable</a></td> |
105 <td><a href="#SqlBrowserWidget.showTable">showTable</a></td> |
106 <td>Public slot to show the contents of a table.</td> |
106 <td>Public slot to show the contents of a table.</td> |
107 </tr><tr> |
107 </tr><tr> |
108 <td><a href="#SqlBrowserWidget.updateActions">updateActions</a></td> |
108 <td><a href="#SqlBrowserWidget.updateActions">updateActions</a></td> |
109 <td>Public slot to update the actions.</td> |
109 <td>Public slot to update the actions.</td> |
110 </tr> |
110 </tr> |
111 </table> |
111 </table> |
112 <a NAME="SqlBrowserWidget.__init__" ID="SqlBrowserWidget.__init__"></a> |
112 <a NAME="SqlBrowserWidget.__init__" ID="SqlBrowserWidget.__init__"></a> |
113 <h4>SqlBrowserWidget (Constructor)</h4> |
113 <h4>SqlBrowserWidget (Constructor)</h4> |
114 <b>SqlBrowserWidget</b>(<i>parent = None</i>) |
114 <b>SqlBrowserWidget</b>(<i>parent = None</i>) |
115 <p> |
115 <p> |
116 Constructor |
116 Constructor |
117 </p><dl> |
117 </p><dl> |
118 <dt><i>parent</i></dt> |
118 <dt><i>parent</i></dt> |
119 <dd> |
119 <dd> |
120 reference to the parent widget (QWidget) |
120 reference to the parent widget (QWidget) |
121 </dd> |
121 </dd> |
122 </dl><a NAME="SqlBrowserWidget.__deleteRow" ID="SqlBrowserWidget.__deleteRow"></a> |
122 </dl><a NAME="SqlBrowserWidget.__deleteRow" ID="SqlBrowserWidget.__deleteRow"></a> |
123 <h4>SqlBrowserWidget.__deleteRow</h4> |
123 <h4>SqlBrowserWidget.__deleteRow</h4> |
124 <b>__deleteRow</b>(<i></i>) |
124 <b>__deleteRow</b>(<i></i>) |
125 <p> |
125 <p> |
126 Privat slot to delete a row from the database table. |
126 Privat slot to delete a row from the database table. |
127 </p><a NAME="SqlBrowserWidget.__insertRow" ID="SqlBrowserWidget.__insertRow"></a> |
127 </p><a NAME="SqlBrowserWidget.__insertRow" ID="SqlBrowserWidget.__insertRow"></a> |
128 <h4>SqlBrowserWidget.__insertRow</h4> |
128 <h4>SqlBrowserWidget.__insertRow</h4> |
129 <b>__insertRow</b>(<i></i>) |
129 <b>__insertRow</b>(<i></i>) |
130 <p> |
130 <p> |
131 Privat slot to insert a row into the database table. |
131 Privat slot to insert a row into the database table. |
132 </p><a NAME="SqlBrowserWidget.addConnection" ID="SqlBrowserWidget.addConnection"></a> |
132 </p><a NAME="SqlBrowserWidget.addConnection" ID="SqlBrowserWidget.addConnection"></a> |
133 <h4>SqlBrowserWidget.addConnection</h4> |
133 <h4>SqlBrowserWidget.addConnection</h4> |
134 <b>addConnection</b>(<i>driver, dbName, user, password, host, port</i>) |
134 <b>addConnection</b>(<i>driver, dbName, user, password, host, port</i>) |
135 <p> |
135 <p> |
136 Public method to add a database connection. |
136 Public method to add a database connection. |
137 </p><dl> |
137 </p><dl> |
138 <dt><i>driver</i></dt> |
138 <dt><i>driver</i></dt> |
139 <dd> |
139 <dd> |
140 name of the Qt database driver (string) |
140 name of the Qt database driver (string) |
141 </dd><dt><i>dbName</i></dt> |
141 </dd><dt><i>dbName</i></dt> |
142 <dd> |
142 <dd> |
143 name of the database (string) |
143 name of the database (string) |
144 </dd><dt><i>user</i></dt> |
144 </dd><dt><i>user</i></dt> |
145 <dd> |
145 <dd> |
146 user name (string) |
146 user name (string) |
147 </dd><dt><i>password</i></dt> |
147 </dd><dt><i>password</i></dt> |
148 <dd> |
148 <dd> |
149 password (string) |
149 password (string) |
150 </dd><dt><i>host</i></dt> |
150 </dd><dt><i>host</i></dt> |
151 <dd> |
151 <dd> |
152 host name (string) |
152 host name (string) |
153 </dd><dt><i>port</i></dt> |
153 </dd><dt><i>port</i></dt> |
154 <dd> |
154 <dd> |
155 port number (integer) |
155 port number (integer) |
156 </dd> |
156 </dd> |
157 </dl><a NAME="SqlBrowserWidget.addConnectionByDialog" ID="SqlBrowserWidget.addConnectionByDialog"></a> |
157 </dl><a NAME="SqlBrowserWidget.addConnectionByDialog" ID="SqlBrowserWidget.addConnectionByDialog"></a> |
158 <h4>SqlBrowserWidget.addConnectionByDialog</h4> |
158 <h4>SqlBrowserWidget.addConnectionByDialog</h4> |
159 <b>addConnectionByDialog</b>(<i></i>) |
159 <b>addConnectionByDialog</b>(<i></i>) |
160 <p> |
160 <p> |
161 Public slot to add a database connection via an input dialog. |
161 Public slot to add a database connection via an input dialog. |
162 </p><a NAME="SqlBrowserWidget.executeQuery" ID="SqlBrowserWidget.executeQuery"></a> |
162 </p><a NAME="SqlBrowserWidget.executeQuery" ID="SqlBrowserWidget.executeQuery"></a> |
163 <h4>SqlBrowserWidget.executeQuery</h4> |
163 <h4>SqlBrowserWidget.executeQuery</h4> |
164 <b>executeQuery</b>(<i></i>) |
164 <b>executeQuery</b>(<i></i>) |
165 <p> |
165 <p> |
166 Public slot to execute the entered query. |
166 Public slot to execute the entered query. |
167 </p><a NAME="SqlBrowserWidget.on_clearButton_clicked" ID="SqlBrowserWidget.on_clearButton_clicked"></a> |
167 </p><a NAME="SqlBrowserWidget.on_clearButton_clicked" ID="SqlBrowserWidget.on_clearButton_clicked"></a> |
168 <h4>SqlBrowserWidget.on_clearButton_clicked</h4> |
168 <h4>SqlBrowserWidget.on_clearButton_clicked</h4> |
169 <b>on_clearButton_clicked</b>(<i></i>) |
169 <b>on_clearButton_clicked</b>(<i></i>) |
170 <p> |
170 <p> |
171 Private slot to clear the SQL entry widget. |
171 Private slot to clear the SQL entry widget. |
172 </p><a NAME="SqlBrowserWidget.on_connections_cleared" ID="SqlBrowserWidget.on_connections_cleared"></a> |
172 </p><a NAME="SqlBrowserWidget.on_connections_cleared" ID="SqlBrowserWidget.on_connections_cleared"></a> |
173 <h4>SqlBrowserWidget.on_connections_cleared</h4> |
173 <h4>SqlBrowserWidget.on_connections_cleared</h4> |
174 <b>on_connections_cleared</b>(<i></i>) |
174 <b>on_connections_cleared</b>(<i></i>) |
175 <p> |
175 <p> |
176 Private slot to clear the table. |
176 Private slot to clear the table. |
177 </p><a NAME="SqlBrowserWidget.on_connections_schemaRequested" ID="SqlBrowserWidget.on_connections_schemaRequested"></a> |
177 </p><a NAME="SqlBrowserWidget.on_connections_schemaRequested" ID="SqlBrowserWidget.on_connections_schemaRequested"></a> |
178 <h4>SqlBrowserWidget.on_connections_schemaRequested</h4> |
178 <h4>SqlBrowserWidget.on_connections_schemaRequested</h4> |
179 <b>on_connections_schemaRequested</b>(<i>table</i>) |
179 <b>on_connections_schemaRequested</b>(<i>table</i>) |
180 <p> |
180 <p> |
181 Private slot to show the schema of a table. |
181 Private slot to show the schema of a table. |
182 </p><dl> |
182 </p><dl> |
183 <dt><i>table</i></dt> |
183 <dt><i>table</i></dt> |
184 <dd> |
184 <dd> |
185 name of the table for which to show the schema (string) |
185 name of the table for which to show the schema (string) |
186 </dd> |
186 </dd> |
187 </dl><a NAME="SqlBrowserWidget.on_connections_tableActivated" ID="SqlBrowserWidget.on_connections_tableActivated"></a> |
187 </dl><a NAME="SqlBrowserWidget.on_connections_tableActivated" ID="SqlBrowserWidget.on_connections_tableActivated"></a> |
188 <h4>SqlBrowserWidget.on_connections_tableActivated</h4> |
188 <h4>SqlBrowserWidget.on_connections_tableActivated</h4> |
189 <b>on_connections_tableActivated</b>(<i>table</i>) |
189 <b>on_connections_tableActivated</b>(<i>table</i>) |
190 <p> |
190 <p> |
191 Private slot to show the contents of a table. |
191 Private slot to show the contents of a table. |
192 </p><dl> |
192 </p><dl> |
193 <dt><i>table</i></dt> |
193 <dt><i>table</i></dt> |
194 <dd> |
194 <dd> |
195 name of the table for which to show the contents (string) |
195 name of the table for which to show the contents (string) |
196 </dd> |
196 </dd> |
197 </dl><a NAME="SqlBrowserWidget.on_deleteRowAction_triggered" ID="SqlBrowserWidget.on_deleteRowAction_triggered"></a> |
197 </dl><a NAME="SqlBrowserWidget.on_deleteRowAction_triggered" ID="SqlBrowserWidget.on_deleteRowAction_triggered"></a> |
198 <h4>SqlBrowserWidget.on_deleteRowAction_triggered</h4> |
198 <h4>SqlBrowserWidget.on_deleteRowAction_triggered</h4> |
199 <b>on_deleteRowAction_triggered</b>(<i></i>) |
199 <b>on_deleteRowAction_triggered</b>(<i></i>) |
200 <p> |
200 <p> |
201 Private slot handling the action to delete a row. |
201 Private slot handling the action to delete a row. |
202 </p><a NAME="SqlBrowserWidget.on_executeButton_clicked" ID="SqlBrowserWidget.on_executeButton_clicked"></a> |
202 </p><a NAME="SqlBrowserWidget.on_executeButton_clicked" ID="SqlBrowserWidget.on_executeButton_clicked"></a> |
203 <h4>SqlBrowserWidget.on_executeButton_clicked</h4> |
203 <h4>SqlBrowserWidget.on_executeButton_clicked</h4> |
204 <b>on_executeButton_clicked</b>(<i></i>) |
204 <b>on_executeButton_clicked</b>(<i></i>) |
205 <p> |
205 <p> |
206 Private slot to execute the entered SQL query. |
206 Private slot to execute the entered SQL query. |
207 </p><a NAME="SqlBrowserWidget.on_insertRowAction_triggered" ID="SqlBrowserWidget.on_insertRowAction_triggered"></a> |
207 </p><a NAME="SqlBrowserWidget.on_insertRowAction_triggered" ID="SqlBrowserWidget.on_insertRowAction_triggered"></a> |
208 <h4>SqlBrowserWidget.on_insertRowAction_triggered</h4> |
208 <h4>SqlBrowserWidget.on_insertRowAction_triggered</h4> |
209 <b>on_insertRowAction_triggered</b>(<i></i>) |
209 <b>on_insertRowAction_triggered</b>(<i></i>) |
210 <p> |
210 <p> |
211 Private slot handling the action to insert a new row. |
211 Private slot handling the action to insert a new row. |
212 </p><a NAME="SqlBrowserWidget.showSchema" ID="SqlBrowserWidget.showSchema"></a> |
212 </p><a NAME="SqlBrowserWidget.showSchema" ID="SqlBrowserWidget.showSchema"></a> |
213 <h4>SqlBrowserWidget.showSchema</h4> |
213 <h4>SqlBrowserWidget.showSchema</h4> |
214 <b>showSchema</b>(<i>table</i>) |
214 <b>showSchema</b>(<i>table</i>) |
215 <p> |
215 <p> |
216 Public slot to show the schema of a table. |
216 Public slot to show the schema of a table. |
217 </p><dl> |
217 </p><dl> |
218 <dt><i>table</i></dt> |
218 <dt><i>table</i></dt> |
219 <dd> |
219 <dd> |
220 name of the table to be shown (string) |
220 name of the table to be shown (string) |
221 </dd> |
221 </dd> |
222 </dl><a NAME="SqlBrowserWidget.showTable" ID="SqlBrowserWidget.showTable"></a> |
222 </dl><a NAME="SqlBrowserWidget.showTable" ID="SqlBrowserWidget.showTable"></a> |
223 <h4>SqlBrowserWidget.showTable</h4> |
223 <h4>SqlBrowserWidget.showTable</h4> |
224 <b>showTable</b>(<i>table</i>) |
224 <b>showTable</b>(<i>table</i>) |
225 <p> |
225 <p> |
226 Public slot to show the contents of a table. |
226 Public slot to show the contents of a table. |
227 </p><dl> |
227 </p><dl> |
228 <dt><i>table</i></dt> |
228 <dt><i>table</i></dt> |
229 <dd> |
229 <dd> |
230 name of the table to be shown (string) |
230 name of the table to be shown (string) |
231 </dd> |
231 </dd> |
232 </dl><a NAME="SqlBrowserWidget.updateActions" ID="SqlBrowserWidget.updateActions"></a> |
232 </dl><a NAME="SqlBrowserWidget.updateActions" ID="SqlBrowserWidget.updateActions"></a> |
233 <h4>SqlBrowserWidget.updateActions</h4> |
233 <h4>SqlBrowserWidget.updateActions</h4> |
234 <b>updateActions</b>(<i></i>) |
234 <b>updateActions</b>(<i></i>) |
235 <p> |
235 <p> |
236 Public slot to update the actions. |
236 Public slot to update the actions. |
237 </p> |
237 </p> |
238 <div align="right"><a href="#top">Up</a></div> |
238 <div align="right"><a href="#top">Up</a></div> |
239 <hr /> |
239 <hr /> |
240 </body></html> |
240 </body></html> |