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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.SqlBrowser.SqlConnectionDialog</h1> 23 <h1>eric6.SqlBrowser.SqlConnectionDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter the connection parameters. 26 Module implementing a dialog to enter the connection parameters.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#SqlConnectionDialog">SqlConnectionDialog</a></td> 38 <td><a href="#SqlConnectionDialog">SqlConnectionDialog</a></td>
34 <td>Class implementing a dialog to enter the connection parameters.</td> 39 <td>Class implementing a dialog to enter the connection parameters.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="SqlConnectionDialog" ID="SqlConnectionDialog"></a> 49 <a NAME="SqlConnectionDialog" ID="SqlConnectionDialog"></a>
43 <h2>SqlConnectionDialog</h2> 50 <h2>SqlConnectionDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to enter the connection parameters. 53 Class implementing a dialog to enter the connection parameters.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_SqlConnectionDialog 56 QDialog, Ui_SqlConnectionDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#SqlConnectionDialog.__init__">SqlConnectionDialog</a></td> 72 <td><a href="#SqlConnectionDialog.__init__">SqlConnectionDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#SqlConnectionDialog.__updateDialog">__updateDialog</a></td> 76 <td><a href="#SqlConnectionDialog.__updateDialog">__updateDialog</a></td>
64 <td>Private slot to update the dialog depending on its contents.</td> 77 <td>Private slot to update the dialog depending on its contents.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#SqlConnectionDialog.getData">getData</a></td> 80 <td><a href="#SqlConnectionDialog.getData">getData</a></td>
67 <td>Public method to retrieve the connection data.</td> 81 <td>Public method to retrieve the connection data.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#SqlConnectionDialog.on_databasePicker_textChanged">on_databasePicker_textChanged</a></td> 84 <td><a href="#SqlConnectionDialog.on_databasePicker_textChanged">on_databasePicker_textChanged</a></td>
70 <td>Private slot handling the change of the database name.</td> 85 <td>Private slot handling the change of the database name.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#SqlConnectionDialog.on_driverCombo_activated">on_driverCombo_activated</a></td> 88 <td><a href="#SqlConnectionDialog.on_driverCombo_activated">on_driverCombo_activated</a></td>
73 <td>Private slot handling the selection of a database driver.</td> 89 <td>Private slot handling the selection of a database driver.</td>
74 </tr> 90 </tr>
75 </table> 91 </table>
76 <h3>Static Methods</h3> 92 <h3>Static Methods</h3>
93
77 <table> 94 <table>
78 <tr><td>None</td></tr> 95 <tr><td>None</td></tr>
79 </table> 96 </table>
97
80 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a> 98 <a NAME="SqlConnectionDialog.__init__" ID="SqlConnectionDialog.__init__"></a>
81 <h4>SqlConnectionDialog (Constructor)</h4> 99 <h4>SqlConnectionDialog (Constructor)</h4>
82 <b>SqlConnectionDialog</b>(<i>parent=None</i>) 100 <b>SqlConnectionDialog</b>(<i>parent=None</i>)
101
83 <p> 102 <p>
84 Constructor 103 Constructor
85 </p><dl> 104 </p>
105 <dl>
106
86 <dt><i>parent</i></dt> 107 <dt><i>parent</i></dt>
87 <dd> 108 <dd>
88 reference to the parent widget (QWidget) 109 reference to the parent widget (QWidget)
89 </dd> 110 </dd>
90 </dl><a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a> 111 </dl>
112 <a NAME="SqlConnectionDialog.__updateDialog" ID="SqlConnectionDialog.__updateDialog"></a>
91 <h4>SqlConnectionDialog.__updateDialog</h4> 113 <h4>SqlConnectionDialog.__updateDialog</h4>
92 <b>__updateDialog</b>(<i></i>) 114 <b>__updateDialog</b>(<i></i>)
115
93 <p> 116 <p>
94 Private slot to update the dialog depending on its contents. 117 Private slot to update the dialog depending on its contents.
95 </p><a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a> 118 </p>
119 <a NAME="SqlConnectionDialog.getData" ID="SqlConnectionDialog.getData"></a>
96 <h4>SqlConnectionDialog.getData</h4> 120 <h4>SqlConnectionDialog.getData</h4>
97 <b>getData</b>(<i></i>) 121 <b>getData</b>(<i></i>)
122
98 <p> 123 <p>
99 Public method to retrieve the connection data. 124 Public method to retrieve the connection data.
100 </p><dl> 125 </p>
126 <dl>
101 <dt>Returns:</dt> 127 <dt>Returns:</dt>
102 <dd> 128 <dd>
103 tuple giving the driver name (string), the database name 129 tuple giving the driver name (string), the database name
104 (string), the user name (string), the password (string), the 130 (string), the user name (string), the password (string), the
105 host name (string) and the port (integer) 131 host name (string) and the port (integer)
106 </dd> 132 </dd>
107 </dl><a NAME="SqlConnectionDialog.on_databasePicker_textChanged" ID="SqlConnectionDialog.on_databasePicker_textChanged"></a> 133 </dl>
134 <a NAME="SqlConnectionDialog.on_databasePicker_textChanged" ID="SqlConnectionDialog.on_databasePicker_textChanged"></a>
108 <h4>SqlConnectionDialog.on_databasePicker_textChanged</h4> 135 <h4>SqlConnectionDialog.on_databasePicker_textChanged</h4>
109 <b>on_databasePicker_textChanged</b>(<i>txt</i>) 136 <b>on_databasePicker_textChanged</b>(<i>txt</i>)
137
110 <p> 138 <p>
111 Private slot handling the change of the database name. 139 Private slot handling the change of the database name.
112 </p><dl> 140 </p>
141 <dl>
142
113 <dt><i>txt</i></dt> 143 <dt><i>txt</i></dt>
114 <dd> 144 <dd>
115 text of the edit (string) 145 text of the edit (string)
116 </dd> 146 </dd>
117 </dl><a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> 147 </dl>
148 <a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a>
118 <h4>SqlConnectionDialog.on_driverCombo_activated</h4> 149 <h4>SqlConnectionDialog.on_driverCombo_activated</h4>
119 <b>on_driverCombo_activated</b>(<i>txt</i>) 150 <b>on_driverCombo_activated</b>(<i>txt</i>)
151
120 <p> 152 <p>
121 Private slot handling the selection of a database driver. 153 Private slot handling the selection of a database driver.
122 </p><dl> 154 </p>
155 <dl>
156
123 <dt><i>txt</i></dt> 157 <dt><i>txt</i></dt>
124 <dd> 158 <dd>
125 text of the driver combo (string) 159 text of the driver combo (string)
126 </dd> 160 </dd>
127 </dl> 161 </dl>

eric ide

mercurial