282 <tr> |
282 <tr> |
283 <td><a href="#VariablesModel.parent">parent</a></td> |
283 <td><a href="#VariablesModel.parent">parent</a></td> |
284 <td>Public method to get the parent of the given child.</td> |
284 <td>Public method to get the parent of the given child.</td> |
285 </tr> |
285 </tr> |
286 <tr> |
286 <tr> |
287 <td><a href="#VariablesModel.resetModifiedMarker">resetModifiedMarker</a></td> |
|
288 <td>Public method to remove the modified marker from changed items.</td> |
|
289 </tr> |
|
290 <tr> |
|
291 <td><a href="#VariablesModel.rowCount">rowCount</a></td> |
287 <td><a href="#VariablesModel.rowCount">rowCount</a></td> |
292 <td>Public method to get the row count.</td> |
288 <td>Public method to get the row count.</td> |
293 </tr> |
289 </tr> |
294 <tr> |
290 <tr> |
295 <td><a href="#VariablesModel.setExpanded">setExpanded</a></td> |
291 <td><a href="#VariablesModel.setExpanded">setExpanded</a></td> |
296 <td>Public method to set the expanded state of item.</td> |
292 <td>Public method to set the expanded state of item.</td> |
297 </tr> |
293 </tr> |
298 <tr> |
294 <tr> |
299 <td><a href="#VariablesModel.showVariables">showVariables</a></td> |
295 <td><a href="#VariablesModel.showVariables">showVariables</a></td> |
300 <td>Public method to update the data model of variable in pathlist.</td> |
296 <td>Public method to update the data model of variable in pathlist.</td> |
|
297 </tr> |
|
298 <tr> |
|
299 <td><a href="#VariablesModel.updateView">updateView</a></td> |
|
300 <td>Public method to refresh all items to clear the changed marker.</td> |
301 </tr> |
301 </tr> |
302 </table> |
302 </table> |
303 |
303 |
304 <h3>Static Methods</h3> |
304 <h3>Static Methods</h3> |
305 <table> |
305 <table> |
653 </dl> |
653 </dl> |
654 <dl> |
654 <dl> |
655 <dt>Return Type:</dt> |
655 <dt>Return Type:</dt> |
656 <dd> |
656 <dd> |
657 QModelIndex |
657 QModelIndex |
658 </dd> |
|
659 </dl> |
|
660 <a NAME="VariablesModel.resetModifiedMarker" ID="VariablesModel.resetModifiedMarker"></a> |
|
661 <h4>VariablesModel.resetModifiedMarker</h4> |
|
662 <b>resetModifiedMarker</b>(<i>parentIdx=None, pathlist=None</i>) |
|
663 <p> |
|
664 Public method to remove the modified marker from changed items. |
|
665 </p> |
|
666 |
|
667 <dl> |
|
668 |
|
669 <dt><i>parentIdx</i> (QModelIndex (optional))</dt> |
|
670 <dd> |
|
671 item to reset marker (defaults to None) |
|
672 </dd> |
|
673 <dt><i>pathlist</i> (list of str (optional))</dt> |
|
674 <dd> |
|
675 full path to the variable (defaults to None) |
|
676 </dd> |
658 </dd> |
677 </dl> |
659 </dl> |
678 <a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> |
660 <a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> |
679 <h4>VariablesModel.rowCount</h4> |
661 <h4>VariablesModel.rowCount</h4> |
680 <b>rowCount</b>(<i>parent=None</i>) |
662 <b>rowCount</b>(<i>parent=None</i>) |
748 <dt><i>pathlist</i> (list of str)</dt> |
730 <dt><i>pathlist</i> (list of str)</dt> |
749 <dd> |
731 <dd> |
750 full path to the variable |
732 full path to the variable |
751 </dd> |
733 </dd> |
752 </dl> |
734 </dl> |
|
735 <a NAME="VariablesModel.updateView" ID="VariablesModel.updateView"></a> |
|
736 <h4>VariablesModel.updateView</h4> |
|
737 <b>updateView</b>(<i></i>) |
|
738 <p> |
|
739 Public method to refresh all items to clear the changed marker. |
|
740 </p> |
|
741 |
753 <div align="right"><a href="#top">Up</a></div> |
742 <div align="right"><a href="#top">Up</a></div> |
754 <hr /> |
743 <hr /> |
755 <hr /> |
744 <hr /> |
756 <a NAME="VariablesProxyModel" ID="VariablesProxyModel"></a> |
745 <a NAME="VariablesProxyModel" ID="VariablesProxyModel"></a> |
757 <h2>VariablesProxyModel</h2> |
746 <h2>VariablesProxyModel</h2> |