85 <td>Public method to determine the number of rows.</td> |
85 <td>Public method to determine the number of rows.</td> |
86 </tr> |
86 </tr> |
87 </table> |
87 </table> |
88 <a NAME="WebDatabasesModel.__init__" ID="WebDatabasesModel.__init__"></a> |
88 <a NAME="WebDatabasesModel.__init__" ID="WebDatabasesModel.__init__"></a> |
89 <h4>WebDatabasesModel (Constructor)</h4> |
89 <h4>WebDatabasesModel (Constructor)</h4> |
90 <b>WebDatabasesModel</b>(<i>parent = None</i>) |
90 <b>WebDatabasesModel</b>(<i>parent=None</i>) |
91 <p> |
91 <p> |
92 Constructor |
92 Constructor |
93 </p><dl> |
93 </p><dl> |
94 <dt><i>parent</i></dt> |
94 <dt><i>parent</i></dt> |
95 <dd> |
95 <dd> |
110 <dd> |
110 <dd> |
111 formatted data string (string) |
111 formatted data string (string) |
112 </dd> |
112 </dd> |
113 </dl><a NAME="WebDatabasesModel.columnCount" ID="WebDatabasesModel.columnCount"></a> |
113 </dl><a NAME="WebDatabasesModel.columnCount" ID="WebDatabasesModel.columnCount"></a> |
114 <h4>WebDatabasesModel.columnCount</h4> |
114 <h4>WebDatabasesModel.columnCount</h4> |
115 <b>columnCount</b>(<i>parent = QModelIndex()</i>) |
115 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
116 <p> |
116 <p> |
117 Public method to get the number of columns. |
117 Public method to get the number of columns. |
118 </p><dl> |
118 </p><dl> |
119 <dt><i>parent</i></dt> |
119 <dt><i>parent</i></dt> |
120 <dd> |
120 <dd> |
125 <dd> |
125 <dd> |
126 number of columns (integer) |
126 number of columns (integer) |
127 </dd> |
127 </dd> |
128 </dl><a NAME="WebDatabasesModel.data" ID="WebDatabasesModel.data"></a> |
128 </dl><a NAME="WebDatabasesModel.data" ID="WebDatabasesModel.data"></a> |
129 <h4>WebDatabasesModel.data</h4> |
129 <h4>WebDatabasesModel.data</h4> |
130 <b>data</b>(<i>index, role = Qt.DisplayRole</i>) |
130 <b>data</b>(<i>index, role=Qt.DisplayRole</i>) |
131 <p> |
131 <p> |
132 Public method to get data from the model. |
132 Public method to get data from the model. |
133 </p><dl> |
133 </p><dl> |
134 <dt><i>index</i></dt> |
134 <dt><i>index</i></dt> |
135 <dd> |
135 <dd> |
143 <dd> |
143 <dd> |
144 entry data |
144 entry data |
145 </dd> |
145 </dd> |
146 </dl><a NAME="WebDatabasesModel.hasChildren" ID="WebDatabasesModel.hasChildren"></a> |
146 </dl><a NAME="WebDatabasesModel.hasChildren" ID="WebDatabasesModel.hasChildren"></a> |
147 <h4>WebDatabasesModel.hasChildren</h4> |
147 <h4>WebDatabasesModel.hasChildren</h4> |
148 <b>hasChildren</b>(<i>parent = QModelIndex()</i>) |
148 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) |
149 <p> |
149 <p> |
150 Public method to check, if a parent node has some children. |
150 Public method to check, if a parent node has some children. |
151 </p><dl> |
151 </p><dl> |
152 <dt><i>parent</i></dt> |
152 <dt><i>parent</i></dt> |
153 <dd> |
153 <dd> |
158 <dd> |
158 <dd> |
159 flag indicating the presence of children (boolean) |
159 flag indicating the presence of children (boolean) |
160 </dd> |
160 </dd> |
161 </dl><a NAME="WebDatabasesModel.headerData" ID="WebDatabasesModel.headerData"></a> |
161 </dl><a NAME="WebDatabasesModel.headerData" ID="WebDatabasesModel.headerData"></a> |
162 <h4>WebDatabasesModel.headerData</h4> |
162 <h4>WebDatabasesModel.headerData</h4> |
163 <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>) |
163 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) |
164 <p> |
164 <p> |
165 Public method to get the header data. |
165 Public method to get the header data. |
166 </p><dl> |
166 </p><dl> |
167 <dt><i>section</i></dt> |
167 <dt><i>section</i></dt> |
168 <dd> |
168 <dd> |
179 <dd> |
179 <dd> |
180 header data |
180 header data |
181 </dd> |
181 </dd> |
182 </dl><a NAME="WebDatabasesModel.index" ID="WebDatabasesModel.index"></a> |
182 </dl><a NAME="WebDatabasesModel.index" ID="WebDatabasesModel.index"></a> |
183 <h4>WebDatabasesModel.index</h4> |
183 <h4>WebDatabasesModel.index</h4> |
184 <b>index</b>(<i>row, column, parent = QModelIndex()</i>) |
184 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
185 <p> |
185 <p> |
186 Public method to get a model index for an entry. |
186 Public method to get a model index for an entry. |
187 </p><dl> |
187 </p><dl> |
188 <dt><i>row</i></dt> |
188 <dt><i>row</i></dt> |
189 <dd> |
189 <dd> |
200 <dd> |
200 <dd> |
201 index (QModelIndex) |
201 index (QModelIndex) |
202 </dd> |
202 </dd> |
203 </dl><a NAME="WebDatabasesModel.parent" ID="WebDatabasesModel.parent"></a> |
203 </dl><a NAME="WebDatabasesModel.parent" ID="WebDatabasesModel.parent"></a> |
204 <h4>WebDatabasesModel.parent</h4> |
204 <h4>WebDatabasesModel.parent</h4> |
205 <b>parent</b>(<i>index = QModelIndex()</i>) |
205 <b>parent</b>(<i>index=QModelIndex()</i>) |
206 <p> |
206 <p> |
207 Public method to get the index of the parent entry. |
207 Public method to get the index of the parent entry. |
208 </p><dl> |
208 </p><dl> |
209 <dt><i>index</i></dt> |
209 <dt><i>index</i></dt> |
210 <dd> |
210 <dd> |
215 <dd> |
215 <dd> |
216 index of the parent entry (QModelIndex) |
216 index of the parent entry (QModelIndex) |
217 </dd> |
217 </dd> |
218 </dl><a NAME="WebDatabasesModel.removeRows" ID="WebDatabasesModel.removeRows"></a> |
218 </dl><a NAME="WebDatabasesModel.removeRows" ID="WebDatabasesModel.removeRows"></a> |
219 <h4>WebDatabasesModel.removeRows</h4> |
219 <h4>WebDatabasesModel.removeRows</h4> |
220 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>) |
220 <b>removeRows</b>(<i>row, count, parent=QModelIndex()</i>) |
221 <p> |
221 <p> |
222 Public method to remove databases from the model. |
222 Public method to remove databases from the model. |
223 </p><dl> |
223 </p><dl> |
224 <dt><i>row</i></dt> |
224 <dt><i>row</i></dt> |
225 <dd> |
225 <dd> |
236 <dd> |
236 <dd> |
237 flag indicating successful removal (boolean) |
237 flag indicating successful removal (boolean) |
238 </dd> |
238 </dd> |
239 </dl><a NAME="WebDatabasesModel.rowCount" ID="WebDatabasesModel.rowCount"></a> |
239 </dl><a NAME="WebDatabasesModel.rowCount" ID="WebDatabasesModel.rowCount"></a> |
240 <h4>WebDatabasesModel.rowCount</h4> |
240 <h4>WebDatabasesModel.rowCount</h4> |
241 <b>rowCount</b>(<i>parent = QModelIndex()</i>) |
241 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
242 <p> |
242 <p> |
243 Public method to determine the number of rows. |
243 Public method to determine the number of rows. |
244 </p><dl> |
244 </p><dl> |
245 <dt><i>parent</i></dt> |
245 <dt><i>parent</i></dt> |
246 <dd> |
246 <dd> |