121 <p> |
121 <p> |
122 Constructor |
122 Constructor |
123 </p> |
123 </p> |
124 <dl> |
124 <dl> |
125 |
125 |
126 <dt><i>parent</i></dt> |
126 <dt><i>parent</i> (QWidget)</dt> |
127 <dd> |
127 <dd> |
128 reference to the parent widget (QWidget) |
128 reference to the parent widget |
129 </dd> |
129 </dd> |
130 </dl> |
130 </dl> |
131 <a NAME="SqlConnectionWidget.__currentItemChanged" ID="SqlConnectionWidget.__currentItemChanged"></a> |
131 <a NAME="SqlConnectionWidget.__currentItemChanged" ID="SqlConnectionWidget.__currentItemChanged"></a> |
132 <h4>SqlConnectionWidget.__currentItemChanged</h4> |
132 <h4>SqlConnectionWidget.__currentItemChanged</h4> |
133 <b>__currentItemChanged</b>(<i>current, previous</i>) |
133 <b>__currentItemChanged</b>(<i>current, previous</i>) |
135 <p> |
135 <p> |
136 Private slot handling a change of the current item. |
136 Private slot handling a change of the current item. |
137 </p> |
137 </p> |
138 <dl> |
138 <dl> |
139 |
139 |
140 <dt><i>current</i></dt> |
140 <dt><i>current</i> (QTreeWidgetItem)</dt> |
141 <dd> |
141 <dd> |
142 reference to the new current item (QTreeWidgetItem) |
142 reference to the new current item |
143 </dd> |
143 </dd> |
144 <dt><i>previous</i></dt> |
144 <dt><i>previous</i> (QTreeWidgetItem)</dt> |
145 <dd> |
145 <dd> |
146 reference to the previous current item |
146 reference to the previous current item |
147 (QTreeWidgetItem) |
|
148 </dd> |
147 </dd> |
149 </dl> |
148 </dl> |
150 <a NAME="SqlConnectionWidget.__dbCaption" ID="SqlConnectionWidget.__dbCaption"></a> |
149 <a NAME="SqlConnectionWidget.__dbCaption" ID="SqlConnectionWidget.__dbCaption"></a> |
151 <h4>SqlConnectionWidget.__dbCaption</h4> |
150 <h4>SqlConnectionWidget.__dbCaption</h4> |
152 <b>__dbCaption</b>(<i>db</i>) |
151 <b>__dbCaption</b>(<i>db</i>) |
154 <p> |
153 <p> |
155 Private method to assemble a string for the caption. |
154 Private method to assemble a string for the caption. |
156 </p> |
155 </p> |
157 <dl> |
156 <dl> |
158 |
157 |
159 <dt><i>db</i></dt> |
158 <dt><i>db</i> (QSqlDatabase)</dt> |
160 <dd> |
159 <dd> |
161 reference to the database object (QSqlDatabase) |
160 reference to the database object |
162 </dd> |
161 </dd> |
163 </dl> |
162 </dl> |
164 <dl> |
163 <dl> |
165 <dt>Return:</dt> |
164 <dt>Return:</dt> |
166 <dd> |
165 <dd> |
167 caption string (string) |
166 caption string |
|
167 </dd> |
|
168 </dl> |
|
169 <dl> |
|
170 <dt>Return Type:</dt> |
|
171 <dd> |
|
172 str |
168 </dd> |
173 </dd> |
169 </dl> |
174 </dl> |
170 <a NAME="SqlConnectionWidget.__itemActivated" ID="SqlConnectionWidget.__itemActivated"></a> |
175 <a NAME="SqlConnectionWidget.__itemActivated" ID="SqlConnectionWidget.__itemActivated"></a> |
171 <h4>SqlConnectionWidget.__itemActivated</h4> |
176 <h4>SqlConnectionWidget.__itemActivated</h4> |
172 <b>__itemActivated</b>(<i>itm, column</i>) |
177 <b>__itemActivated</b>(<i>itm, column</i>) |
174 <p> |
179 <p> |
175 Private slot handling the activation of an item. |
180 Private slot handling the activation of an item. |
176 </p> |
181 </p> |
177 <dl> |
182 <dl> |
178 |
183 |
179 <dt><i>itm</i></dt> |
184 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
180 <dd> |
185 <dd> |
181 reference to the item (QTreeWidgetItem) |
186 reference to the item |
182 </dd> |
187 </dd> |
183 <dt><i>column</i></dt> |
188 <dt><i>column</i> (int)</dt> |
184 <dd> |
189 <dd> |
185 column that was activated (integer) |
190 column that was activated |
186 </dd> |
191 </dd> |
187 </dl> |
192 </dl> |
188 <a NAME="SqlConnectionWidget.__setActive" ID="SqlConnectionWidget.__setActive"></a> |
193 <a NAME="SqlConnectionWidget.__setActive" ID="SqlConnectionWidget.__setActive"></a> |
189 <h4>SqlConnectionWidget.__setActive</h4> |
194 <h4>SqlConnectionWidget.__setActive</h4> |
190 <b>__setActive</b>(<i>itm</i>) |
195 <b>__setActive</b>(<i>itm</i>) |
192 <p> |
197 <p> |
193 Private slot to set an item to active. |
198 Private slot to set an item to active. |
194 </p> |
199 </p> |
195 <dl> |
200 <dl> |
196 |
201 |
197 <dt><i>itm</i></dt> |
202 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
198 <dd> |
203 <dd> |
199 reference to the item to set as the active item |
204 reference to the item to set as the active item |
200 (QTreeWidgetItem) |
|
201 </dd> |
205 </dd> |
202 </dl> |
206 </dl> |
203 <a NAME="SqlConnectionWidget.__setBold" ID="SqlConnectionWidget.__setBold"></a> |
207 <a NAME="SqlConnectionWidget.__setBold" ID="SqlConnectionWidget.__setBold"></a> |
204 <h4>SqlConnectionWidget.__setBold</h4> |
208 <h4>SqlConnectionWidget.__setBold</h4> |
205 <b>__setBold</b>(<i>itm, bold</i>) |
209 <b>__setBold</b>(<i>itm, bold</i>) |
207 <p> |
211 <p> |
208 Private slot to set the font to bold. |
212 Private slot to set the font to bold. |
209 </p> |
213 </p> |
210 <dl> |
214 <dl> |
211 |
215 |
212 <dt><i>itm</i></dt> |
216 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
213 <dd> |
217 <dd> |
214 reference to the item to be changed (QTreeWidgetItem) |
218 reference to the item to be changed |
215 </dd> |
219 </dd> |
216 <dt><i>bold</i></dt> |
220 <dt><i>bold</i> (bool)</dt> |
217 <dd> |
221 <dd> |
218 flag indicating bold (boolean) |
222 flag indicating bold |
219 </dd> |
223 </dd> |
220 </dl> |
224 </dl> |
221 <a NAME="SqlConnectionWidget.currentDatabase" ID="SqlConnectionWidget.currentDatabase"></a> |
225 <a NAME="SqlConnectionWidget.currentDatabase" ID="SqlConnectionWidget.currentDatabase"></a> |
222 <h4>SqlConnectionWidget.currentDatabase</h4> |
226 <h4>SqlConnectionWidget.currentDatabase</h4> |
223 <b>currentDatabase</b>(<i></i>) |
227 <b>currentDatabase</b>(<i></i>) |
226 Public method to get the current database. |
230 Public method to get the current database. |
227 </p> |
231 </p> |
228 <dl> |
232 <dl> |
229 <dt>Return:</dt> |
233 <dt>Return:</dt> |
230 <dd> |
234 <dd> |
231 reference to the current database (QSqlDatabase) |
235 reference to the current database |
|
236 </dd> |
|
237 </dl> |
|
238 <dl> |
|
239 <dt>Return Type:</dt> |
|
240 <dd> |
|
241 QSqlDatabase |
232 </dd> |
242 </dd> |
233 </dl> |
243 </dl> |
234 <a NAME="SqlConnectionWidget.refresh" ID="SqlConnectionWidget.refresh"></a> |
244 <a NAME="SqlConnectionWidget.refresh" ID="SqlConnectionWidget.refresh"></a> |
235 <h4>SqlConnectionWidget.refresh</h4> |
245 <h4>SqlConnectionWidget.refresh</h4> |
236 <b>refresh</b>(<i></i>) |
246 <b>refresh</b>(<i></i>) |