441 flag to clear the expanded keys also |
441 flag to clear the expanded keys also |
442 </dd> |
442 </dd> |
443 </dl> |
443 </dl> |
444 <a NAME="VariablesModel.columnCount" ID="VariablesModel.columnCount"></a> |
444 <a NAME="VariablesModel.columnCount" ID="VariablesModel.columnCount"></a> |
445 <h4>VariablesModel.columnCount</h4> |
445 <h4>VariablesModel.columnCount</h4> |
446 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
446 <b>columnCount</b>(<i>parent=None</i>) |
447 <p> |
447 <p> |
448 Public method to get the column count. |
448 Public method to get the column count. |
449 </p> |
449 </p> |
450 |
450 |
451 <dl> |
451 <dl> |
452 |
452 |
453 <dt><i>parent</i> (QModelIndex)</dt> |
453 <dt><i>parent</i> (QModelIndex (optional))</dt> |
454 <dd> |
454 <dd> |
455 the model parent (unused) |
455 the model parent (defaults to None) (unused) |
456 </dd> |
456 </dd> |
457 </dl> |
457 </dl> |
458 <dl> |
458 <dl> |
459 <dt>Return:</dt> |
459 <dt>Return:</dt> |
460 <dd> |
460 <dd> |
537 Public slot to handle the preferencesChanged signal. |
537 Public slot to handle the preferencesChanged signal. |
538 </p> |
538 </p> |
539 |
539 |
540 <a NAME="VariablesModel.hasChildren" ID="VariablesModel.hasChildren"></a> |
540 <a NAME="VariablesModel.hasChildren" ID="VariablesModel.hasChildren"></a> |
541 <h4>VariablesModel.hasChildren</h4> |
541 <h4>VariablesModel.hasChildren</h4> |
542 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) |
542 <b>hasChildren</b>(<i>parent=None</i>) |
543 <p> |
543 <p> |
544 Public method to get a flag if parent has children. |
544 Public method to get a flag if parent has children. |
545 </p> |
545 </p> |
546 |
546 |
547 <dl> |
547 <dl> |
548 |
548 |
549 <dt><i>parent</i> (QModelIndex)</dt> |
549 <dt><i>parent</i> (QModelIndex (optional))</dt> |
550 <dd> |
550 <dd> |
551 the model parent |
551 the model parent (defaults to None) |
552 </dd> |
552 </dd> |
553 </dl> |
553 </dl> |
554 <dl> |
554 <dl> |
555 <dt>Return:</dt> |
555 <dt>Return:</dt> |
556 <dd> |
556 <dd> |
597 str or None |
597 str or None |
598 </dd> |
598 </dd> |
599 </dl> |
599 </dl> |
600 <a NAME="VariablesModel.index" ID="VariablesModel.index"></a> |
600 <a NAME="VariablesModel.index" ID="VariablesModel.index"></a> |
601 <h4>VariablesModel.index</h4> |
601 <h4>VariablesModel.index</h4> |
602 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
602 <b>index</b>(<i>row, column, parent=None</i>) |
603 <p> |
603 <p> |
604 Public method to get the index of item at row:column of parent. |
604 Public method to get the index of item at row:column of parent. |
605 </p> |
605 </p> |
606 |
606 |
607 <dl> |
607 <dl> |
657 QModelIndex |
657 QModelIndex |
658 </dd> |
658 </dd> |
659 </dl> |
659 </dl> |
660 <a NAME="VariablesModel.resetModifiedMarker" ID="VariablesModel.resetModifiedMarker"></a> |
660 <a NAME="VariablesModel.resetModifiedMarker" ID="VariablesModel.resetModifiedMarker"></a> |
661 <h4>VariablesModel.resetModifiedMarker</h4> |
661 <h4>VariablesModel.resetModifiedMarker</h4> |
662 <b>resetModifiedMarker</b>(<i>parentIdx=QModelIndex(), pathlist=()</i>) |
662 <b>resetModifiedMarker</b>(<i>parentIdx=None, pathlist=None</i>) |
663 <p> |
663 <p> |
664 Public method to remove the modified marker from changed items. |
664 Public method to remove the modified marker from changed items. |
665 </p> |
665 </p> |
666 |
666 |
667 <dl> |
667 <dl> |
668 |
668 |
669 <dt><i>parentIdx</i> (QModelIndex)</dt> |
669 <dt><i>parentIdx</i> (QModelIndex (optional))</dt> |
670 <dd> |
670 <dd> |
671 item to reset marker |
671 item to reset marker (defaults to None) |
672 </dd> |
672 </dd> |
673 <dt><i>pathlist</i> (list of str)</dt> |
673 <dt><i>pathlist</i> (list of str (optional))</dt> |
674 <dd> |
674 <dd> |
675 full path to the variable |
675 full path to the variable (defaults to None) |
676 </dd> |
676 </dd> |
677 </dl> |
677 </dl> |
678 <a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> |
678 <a NAME="VariablesModel.rowCount" ID="VariablesModel.rowCount"></a> |
679 <h4>VariablesModel.rowCount</h4> |
679 <h4>VariablesModel.rowCount</h4> |
680 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
680 <b>rowCount</b>(<i>parent=None</i>) |
681 <p> |
681 <p> |
682 Public method to get the row count. |
682 Public method to get the row count. |
683 </p> |
683 </p> |
684 |
684 |
685 <dl> |
685 <dl> |
686 |
686 |
687 <dt><i>parent</i> (QModelIndex)</dt> |
687 <dt><i>parent</i> (QModelIndex (optional))</dt> |
688 <dd> |
688 <dd> |
689 the model parent |
689 the model parent (defaults to None) |
690 </dd> |
690 </dd> |
691 </dl> |
691 </dl> |
692 <dl> |
692 <dl> |
693 <dt>Return:</dt> |
693 <dt>Return:</dt> |
694 <dd> |
694 <dd> |