305 Public method to clear the model data. |
305 Public method to clear the model data. |
306 </p> |
306 </p> |
307 |
307 |
308 <a NAME="TestResultsModel.columnCount" ID="TestResultsModel.columnCount"></a> |
308 <a NAME="TestResultsModel.columnCount" ID="TestResultsModel.columnCount"></a> |
309 <h4>TestResultsModel.columnCount</h4> |
309 <h4>TestResultsModel.columnCount</h4> |
310 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
310 <b>columnCount</b>(<i>parent=None</i>) |
311 <p> |
311 <p> |
312 Public method to get the number of columns. |
312 Public method to get the number of columns. |
313 </p> |
313 </p> |
314 |
314 |
315 <dl> |
315 <dl> |
316 |
316 |
317 <dt><i>parent</i> (QModelIndex (optional))</dt> |
317 <dt><i>parent</i> (QModelIndex (optional))</dt> |
318 <dd> |
318 <dd> |
319 index of the parent item (defaults to QModelIndex()) |
319 index of the parent item (defaults to None) |
320 </dd> |
320 </dd> |
321 </dl> |
321 </dl> |
322 <dl> |
322 <dl> |
323 <dt>Return:</dt> |
323 <dt>Return:</dt> |
324 <dd> |
324 <dd> |
478 str |
478 str |
479 </dd> |
479 </dd> |
480 </dl> |
480 </dl> |
481 <a NAME="TestResultsModel.index" ID="TestResultsModel.index"></a> |
481 <a NAME="TestResultsModel.index" ID="TestResultsModel.index"></a> |
482 <h4>TestResultsModel.index</h4> |
482 <h4>TestResultsModel.index</h4> |
483 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
483 <b>index</b>(<i>row, column, parent=None</i>) |
484 <p> |
484 <p> |
485 Public method to generate an index for the given row and column to |
485 Public method to generate an index for the given row and column to |
486 identify the item. |
486 identify the item. |
487 </p> |
487 </p> |
488 |
488 |
539 QModelIndex |
539 QModelIndex |
540 </dd> |
540 </dd> |
541 </dl> |
541 </dl> |
542 <a NAME="TestResultsModel.rowCount" ID="TestResultsModel.rowCount"></a> |
542 <a NAME="TestResultsModel.rowCount" ID="TestResultsModel.rowCount"></a> |
543 <h4>TestResultsModel.rowCount</h4> |
543 <h4>TestResultsModel.rowCount</h4> |
544 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
544 <b>rowCount</b>(<i>parent=None</i>) |
545 <p> |
545 <p> |
546 Public method to get the number of row for a given parent index. |
546 Public method to get the number of row for a given parent index. |
547 </p> |
547 </p> |
548 |
548 |
549 <dl> |
549 <dl> |
550 |
550 |
551 <dt><i>parent</i> (QModelIndex (optional))</dt> |
551 <dt><i>parent</i> (QModelIndex (optional))</dt> |
552 <dd> |
552 <dd> |
553 index of the parent item (defaults to QModelIndex()) |
553 index of the parent item (defaults to None) |
554 </dd> |
554 </dd> |
555 </dl> |
555 </dl> |
556 <dl> |
556 <dl> |
557 <dt>Return:</dt> |
557 <dt>Return:</dt> |
558 <dd> |
558 <dd> |
814 relative position for the context menu |
814 relative position for the context menu |
815 </dd> |
815 </dd> |
816 </dl> |
816 </dl> |
817 <a NAME="TestResultsTreeView.dataChanged" ID="TestResultsTreeView.dataChanged"></a> |
817 <a NAME="TestResultsTreeView.dataChanged" ID="TestResultsTreeView.dataChanged"></a> |
818 <h4>TestResultsTreeView.dataChanged</h4> |
818 <h4>TestResultsTreeView.dataChanged</h4> |
819 <b>dataChanged</b>(<i>topLeft, bottomRight, roles=[]</i>) |
819 <b>dataChanged</b>(<i>topLeft, bottomRight, roles=None</i>) |
820 <p> |
820 <p> |
821 Public method called when the model data has changed. |
821 Public method called when the model data has changed. |
822 </p> |
822 </p> |
823 |
823 |
824 <dl> |
824 <dl> |
831 <dd> |
831 <dd> |
832 index of the bottom right element |
832 index of the bottom right element |
833 </dd> |
833 </dd> |
834 <dt><i>roles</i> (list of Qt.ItemDataRole (optional))</dt> |
834 <dt><i>roles</i> (list of Qt.ItemDataRole (optional))</dt> |
835 <dd> |
835 <dd> |
836 list of roles changed (defaults to []) |
836 list of roles changed (defaults to None) |
837 </dd> |
837 </dd> |
838 </dl> |
838 </dl> |
839 <a NAME="TestResultsTreeView.reset" ID="TestResultsTreeView.reset"></a> |
839 <a NAME="TestResultsTreeView.reset" ID="TestResultsTreeView.reset"></a> |
840 <h4>TestResultsTreeView.reset</h4> |
840 <h4>TestResultsTreeView.reset</h4> |
841 <b>reset</b>(<i></i>) |
841 <b>reset</b>(<i></i>) |