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

branch
eric7
changeset 10431
64157aeb0312
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10430:e440aaf179ce 10431:64157aeb0312
140 <p> 140 <p>
141 Constructor 141 Constructor
142 </p> 142 </p>
143 <dl> 143 <dl>
144 144
145 <dt><i>parent</i></dt> 145 <dt><i>parent</i> (QWidget)</dt>
146 <dd> 146 <dd>
147 reference to the parent widget (QWidget) 147 reference to the parent widget
148 </dd> 148 </dd>
149 </dl> 149 </dl>
150 <a NAME="SqlBrowserWidget.__deleteRow" ID="SqlBrowserWidget.__deleteRow"></a> 150 <a NAME="SqlBrowserWidget.__deleteRow" ID="SqlBrowserWidget.__deleteRow"></a>
151 <h4>SqlBrowserWidget.__deleteRow</h4> 151 <h4>SqlBrowserWidget.__deleteRow</h4>
152 <b>__deleteRow</b>(<i></i>) 152 <b>__deleteRow</b>(<i></i>)
168 <p> 168 <p>
169 Public method to add a database connection. 169 Public method to add a database connection.
170 </p> 170 </p>
171 <dl> 171 <dl>
172 172
173 <dt><i>driver</i></dt> 173 <dt><i>driver</i> (str)</dt>
174 <dd> 174 <dd>
175 name of the Qt database driver (string) 175 name of the Qt database driver
176 </dd> 176 </dd>
177 <dt><i>dbName</i></dt> 177 <dt><i>dbName</i> (str)</dt>
178 <dd> 178 <dd>
179 name of the database (string) 179 name of the database
180 </dd> 180 </dd>
181 <dt><i>user</i></dt> 181 <dt><i>user</i> (str)</dt>
182 <dd> 182 <dd>
183 user name (string) 183 user name
184 </dd> 184 </dd>
185 <dt><i>password</i></dt> 185 <dt><i>password</i> (str)</dt>
186 <dd> 186 <dd>
187 password (string) 187 password
188 </dd> 188 </dd>
189 <dt><i>host</i></dt> 189 <dt><i>host</i> (str)</dt>
190 <dd> 190 <dd>
191 host name (string) 191 host name
192 </dd> 192 </dd>
193 <dt><i>port</i></dt> 193 <dt><i>port</i> (int)</dt>
194 <dd> 194 <dd>
195 port number (integer) 195 port number
196 </dd> 196 </dd>
197 </dl> 197 </dl>
198 <dl> 198 <dl>
199 <dt>Return:</dt> 199 <dt>Return:</dt>
200 <dd> 200 <dd>
201 SQL error object (QSqlError) 201 SQL error object
202 </dd>
203 </dl>
204 <dl>
205 <dt>Return Type:</dt>
206 <dd>
207 QSqlError
202 </dd> 208 </dd>
203 </dl> 209 </dl>
204 <a NAME="SqlBrowserWidget.addConnectionByDialog" ID="SqlBrowserWidget.addConnectionByDialog"></a> 210 <a NAME="SqlBrowserWidget.addConnectionByDialog" ID="SqlBrowserWidget.addConnectionByDialog"></a>
205 <h4>SqlBrowserWidget.addConnectionByDialog</h4> 211 <h4>SqlBrowserWidget.addConnectionByDialog</h4>
206 <b>addConnectionByDialog</b>(<i></i>) 212 <b>addConnectionByDialog</b>(<i></i>)
236 <p> 242 <p>
237 Private slot to show the schema of a table. 243 Private slot to show the schema of a table.
238 </p> 244 </p>
239 <dl> 245 <dl>
240 246
241 <dt><i>table</i></dt> 247 <dt><i>table</i> (str)</dt>
242 <dd> 248 <dd>
243 name of the table for which to show the schema (string) 249 name of the table for which to show the schema
244 </dd> 250 </dd>
245 </dl> 251 </dl>
246 <a NAME="SqlBrowserWidget.on_connections_tableActivated" ID="SqlBrowserWidget.on_connections_tableActivated"></a> 252 <a NAME="SqlBrowserWidget.on_connections_tableActivated" ID="SqlBrowserWidget.on_connections_tableActivated"></a>
247 <h4>SqlBrowserWidget.on_connections_tableActivated</h4> 253 <h4>SqlBrowserWidget.on_connections_tableActivated</h4>
248 <b>on_connections_tableActivated</b>(<i>table</i>) 254 <b>on_connections_tableActivated</b>(<i>table</i>)
250 <p> 256 <p>
251 Private slot to show the contents of a table. 257 Private slot to show the contents of a table.
252 </p> 258 </p>
253 <dl> 259 <dl>
254 260
255 <dt><i>table</i></dt> 261 <dt><i>table</i> (str)</dt>
256 <dd> 262 <dd>
257 name of the table for which to show the contents (string) 263 name of the table for which to show the contents
258 </dd> 264 </dd>
259 </dl> 265 </dl>
260 <a NAME="SqlBrowserWidget.on_deleteRowAction_triggered" ID="SqlBrowserWidget.on_deleteRowAction_triggered"></a> 266 <a NAME="SqlBrowserWidget.on_deleteRowAction_triggered" ID="SqlBrowserWidget.on_deleteRowAction_triggered"></a>
261 <h4>SqlBrowserWidget.on_deleteRowAction_triggered</h4> 267 <h4>SqlBrowserWidget.on_deleteRowAction_triggered</h4>
262 <b>on_deleteRowAction_triggered</b>(<i></i>) 268 <b>on_deleteRowAction_triggered</b>(<i></i>)
285 <p> 291 <p>
286 Public slot to show the schema of a table. 292 Public slot to show the schema of a table.
287 </p> 293 </p>
288 <dl> 294 <dl>
289 295
290 <dt><i>table</i></dt> 296 <dt><i>table</i> (str)</dt>
291 <dd> 297 <dd>
292 name of the table to be shown (string) 298 name of the table to be shown
293 </dd> 299 </dd>
294 </dl> 300 </dl>
295 <a NAME="SqlBrowserWidget.showTable" ID="SqlBrowserWidget.showTable"></a> 301 <a NAME="SqlBrowserWidget.showTable" ID="SqlBrowserWidget.showTable"></a>
296 <h4>SqlBrowserWidget.showTable</h4> 302 <h4>SqlBrowserWidget.showTable</h4>
297 <b>showTable</b>(<i>table</i>) 303 <b>showTable</b>(<i>table</i>)
299 <p> 305 <p>
300 Public slot to show the contents of a table. 306 Public slot to show the contents of a table.
301 </p> 307 </p>
302 <dl> 308 <dl>
303 309
304 <dt><i>table</i></dt> 310 <dt><i>table</i> (str)</dt>
305 <dd> 311 <dd>
306 name of the table to be shown (string) 312 name of the table to be shown
307 </dd> 313 </dd>
308 </dl> 314 </dl>
309 <a NAME="SqlBrowserWidget.updateActions" ID="SqlBrowserWidget.updateActions"></a> 315 <a NAME="SqlBrowserWidget.updateActions" ID="SqlBrowserWidget.updateActions"></a>
310 <h4>SqlBrowserWidget.updateActions</h4> 316 <h4>SqlBrowserWidget.updateActions</h4>
311 <b>updateActions</b>(<i></i>) 317 <b>updateActions</b>(<i></i>)

eric ide

mercurial