Documentation/Source/eric6.Helpviewer.History.HistoryTreeModel.html

changeset 5656
9c21b2746218
parent 3673
e26d7d0c1088
equal deleted inserted replaced
5654:d75dfc0d10f2 5656:9c21b2746218
179 <dd> 179 <dd>
180 end row (integer) 180 end row (integer)
181 </dd> 181 </dd>
182 </dl><a NAME="HistoryTreeModel.columnCount" ID="HistoryTreeModel.columnCount"></a> 182 </dl><a NAME="HistoryTreeModel.columnCount" ID="HistoryTreeModel.columnCount"></a>
183 <h4>HistoryTreeModel.columnCount</h4> 183 <h4>HistoryTreeModel.columnCount</h4>
184 <b>columnCount</b>(<i>parent=QModelIndex()</i>) 184 <b>columnCount</b>(<i>parent=None</i>)
185 <p> 185 <p>
186 Public method to get the number of columns. 186 Public method to get the number of columns.
187 </p><dl> 187 </p><dl>
188 <dt><i>parent</i></dt> 188 <dt><i>parent</i></dt>
189 <dd> 189 <dd>
227 <dd> 227 <dd>
228 flags (Qt.ItemFlags) 228 flags (Qt.ItemFlags)
229 </dd> 229 </dd>
230 </dl><a NAME="HistoryTreeModel.hasChildren" ID="HistoryTreeModel.hasChildren"></a> 230 </dl><a NAME="HistoryTreeModel.hasChildren" ID="HistoryTreeModel.hasChildren"></a>
231 <h4>HistoryTreeModel.hasChildren</h4> 231 <h4>HistoryTreeModel.hasChildren</h4>
232 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) 232 <b>hasChildren</b>(<i>parent=None</i>)
233 <p> 233 <p>
234 Public method to check, if an entry has some children. 234 Public method to check, if an entry has some children.
235 </p><dl> 235 </p><dl>
236 <dt><i>parent</i></dt> 236 <dt><i>parent</i></dt>
237 <dd> 237 <dd>
263 <dd> 263 <dd>
264 header data 264 header data
265 </dd> 265 </dd>
266 </dl><a NAME="HistoryTreeModel.index" ID="HistoryTreeModel.index"></a> 266 </dl><a NAME="HistoryTreeModel.index" ID="HistoryTreeModel.index"></a>
267 <h4>HistoryTreeModel.index</h4> 267 <h4>HistoryTreeModel.index</h4>
268 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) 268 <b>index</b>(<i>row, column, parent=None</i>)
269 <p> 269 <p>
270 Public method to create an index. 270 Public method to create an index.
271 </p><dl> 271 </p><dl>
272 <dt><i>row</i></dt> 272 <dt><i>row</i></dt>
273 <dd> 273 <dd>
329 <dd> 329 <dd>
330 index of parent (QModelIndex) 330 index of parent (QModelIndex)
331 </dd> 331 </dd>
332 </dl><a NAME="HistoryTreeModel.removeRows" ID="HistoryTreeModel.removeRows"></a> 332 </dl><a NAME="HistoryTreeModel.removeRows" ID="HistoryTreeModel.removeRows"></a>
333 <h4>HistoryTreeModel.removeRows</h4> 333 <h4>HistoryTreeModel.removeRows</h4>
334 <b>removeRows</b>(<i>row, count, parent=QModelIndex()</i>) 334 <b>removeRows</b>(<i>row, count, parent=None</i>)
335 <p> 335 <p>
336 Public method to remove entries from the model. 336 Public method to remove entries from the model.
337 </p><dl> 337 </p><dl>
338 <dt><i>row</i></dt> 338 <dt><i>row</i></dt>
339 <dd> 339 <dd>
350 <dd> 350 <dd>
351 flag indicating successful removal (boolean) 351 flag indicating successful removal (boolean)
352 </dd> 352 </dd>
353 </dl><a NAME="HistoryTreeModel.rowCount" ID="HistoryTreeModel.rowCount"></a> 353 </dl><a NAME="HistoryTreeModel.rowCount" ID="HistoryTreeModel.rowCount"></a>
354 <h4>HistoryTreeModel.rowCount</h4> 354 <h4>HistoryTreeModel.rowCount</h4>
355 <b>rowCount</b>(<i>parent=QModelIndex()</i>) 355 <b>rowCount</b>(<i>parent=None</i>)
356 <p> 356 <p>
357 Public method to determine the number of rows. 357 Public method to determine the number of rows.
358 </p><dl> 358 </p><dl>
359 <dt><i>parent</i></dt> 359 <dt><i>parent</i></dt>
360 <dd> 360 <dd>

eric ide

mercurial