682 @param index index of the item to set current |
682 @param index index of the item to set current |
683 @type int |
683 @type int |
684 """ |
684 """ |
685 self._editor.setCurrentIndex(index) |
685 self._editor.setCurrentIndex(index) |
686 |
686 |
|
687 def setCurrentText(self, text): |
|
688 """ |
|
689 Public slot to set the current text. |
|
690 |
|
691 @param text text of the item to set current |
|
692 @type str |
|
693 """ |
|
694 self._editor.setCurrentText(text) |
|
695 |
687 def setInsertPolicy(self, policy): |
696 def setInsertPolicy(self, policy): |
688 """ |
697 """ |
689 Public method to set the insertion policy of the combo box. |
698 Public method to set the insertion policy of the combo box. |
690 |
699 |
691 @param policy insertion policy |
700 @param policy insertion policy |