Documentation/Source/eric6.Helpviewer.OfflineStorage.WebDatabasesModel.html

changeset 5656
9c21b2746218
parent 3673
e26d7d0c1088
equal deleted inserted replaced
5654:d75dfc0d10f2 5656:9c21b2746218
117 <dd> 117 <dd>
118 formatted data string (string) 118 formatted data string (string)
119 </dd> 119 </dd>
120 </dl><a NAME="WebDatabasesModel.columnCount" ID="WebDatabasesModel.columnCount"></a> 120 </dl><a NAME="WebDatabasesModel.columnCount" ID="WebDatabasesModel.columnCount"></a>
121 <h4>WebDatabasesModel.columnCount</h4> 121 <h4>WebDatabasesModel.columnCount</h4>
122 <b>columnCount</b>(<i>parent=QModelIndex()</i>) 122 <b>columnCount</b>(<i>parent=None</i>)
123 <p> 123 <p>
124 Public method to get the number of columns. 124 Public method to get the number of columns.
125 </p><dl> 125 </p><dl>
126 <dt><i>parent</i></dt> 126 <dt><i>parent</i></dt>
127 <dd> 127 <dd>
150 <dd> 150 <dd>
151 entry data 151 entry data
152 </dd> 152 </dd>
153 </dl><a NAME="WebDatabasesModel.hasChildren" ID="WebDatabasesModel.hasChildren"></a> 153 </dl><a NAME="WebDatabasesModel.hasChildren" ID="WebDatabasesModel.hasChildren"></a>
154 <h4>WebDatabasesModel.hasChildren</h4> 154 <h4>WebDatabasesModel.hasChildren</h4>
155 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) 155 <b>hasChildren</b>(<i>parent=None</i>)
156 <p> 156 <p>
157 Public method to check, if a parent node has some children. 157 Public method to check, if a parent node has some children.
158 </p><dl> 158 </p><dl>
159 <dt><i>parent</i></dt> 159 <dt><i>parent</i></dt>
160 <dd> 160 <dd>
186 <dd> 186 <dd>
187 header data 187 header data
188 </dd> 188 </dd>
189 </dl><a NAME="WebDatabasesModel.index" ID="WebDatabasesModel.index"></a> 189 </dl><a NAME="WebDatabasesModel.index" ID="WebDatabasesModel.index"></a>
190 <h4>WebDatabasesModel.index</h4> 190 <h4>WebDatabasesModel.index</h4>
191 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) 191 <b>index</b>(<i>row, column, parent=None</i>)
192 <p> 192 <p>
193 Public method to get a model index for an entry. 193 Public method to get a model index for an entry.
194 </p><dl> 194 </p><dl>
195 <dt><i>row</i></dt> 195 <dt><i>row</i></dt>
196 <dd> 196 <dd>
207 <dd> 207 <dd>
208 index (QModelIndex) 208 index (QModelIndex)
209 </dd> 209 </dd>
210 </dl><a NAME="WebDatabasesModel.parent" ID="WebDatabasesModel.parent"></a> 210 </dl><a NAME="WebDatabasesModel.parent" ID="WebDatabasesModel.parent"></a>
211 <h4>WebDatabasesModel.parent</h4> 211 <h4>WebDatabasesModel.parent</h4>
212 <b>parent</b>(<i>index=QModelIndex()</i>) 212 <b>parent</b>(<i>index=None</i>)
213 <p> 213 <p>
214 Public method to get the index of the parent entry. 214 Public method to get the index of the parent entry.
215 </p><dl> 215 </p><dl>
216 <dt><i>index</i></dt> 216 <dt><i>index</i></dt>
217 <dd> 217 <dd>
222 <dd> 222 <dd>
223 index of the parent entry (QModelIndex) 223 index of the parent entry (QModelIndex)
224 </dd> 224 </dd>
225 </dl><a NAME="WebDatabasesModel.removeRows" ID="WebDatabasesModel.removeRows"></a> 225 </dl><a NAME="WebDatabasesModel.removeRows" ID="WebDatabasesModel.removeRows"></a>
226 <h4>WebDatabasesModel.removeRows</h4> 226 <h4>WebDatabasesModel.removeRows</h4>
227 <b>removeRows</b>(<i>row, count, parent=QModelIndex()</i>) 227 <b>removeRows</b>(<i>row, count, parent=None</i>)
228 <p> 228 <p>
229 Public method to remove databases from the model. 229 Public method to remove databases from the model.
230 </p><dl> 230 </p><dl>
231 <dt><i>row</i></dt> 231 <dt><i>row</i></dt>
232 <dd> 232 <dd>
243 <dd> 243 <dd>
244 flag indicating successful removal (boolean) 244 flag indicating successful removal (boolean)
245 </dd> 245 </dd>
246 </dl><a NAME="WebDatabasesModel.rowCount" ID="WebDatabasesModel.rowCount"></a> 246 </dl><a NAME="WebDatabasesModel.rowCount" ID="WebDatabasesModel.rowCount"></a>
247 <h4>WebDatabasesModel.rowCount</h4> 247 <h4>WebDatabasesModel.rowCount</h4>
248 <b>rowCount</b>(<i>parent=QModelIndex()</i>) 248 <b>rowCount</b>(<i>parent=None</i>)
249 <p> 249 <p>
250 Public method to determine the number of rows. 250 Public method to determine the number of rows.
251 </p><dl> 251 </p><dl>
252 <dt><i>parent</i></dt> 252 <dt><i>parent</i></dt>
253 <dd> 253 <dd>

eric ide

mercurial