528 if itm.data(column) == text: |
528 if itm.data(column) == text: |
529 return itm |
529 return itm |
530 |
530 |
531 return None |
531 return None |
532 |
532 |
533 def addNewItem(self, typeString, name, additionalTypeStrings=[]): |
533 def addNewItem(self, typeString, name, additionalTypeStrings=None): |
534 """ |
534 """ |
535 Public method to add a new item to the model. |
535 Public method to add a new item to the model. |
536 |
536 |
537 @param typeString string denoting the type of the new item (string) |
537 @param typeString string denoting the type of the new item (string) |
538 @param name name of the new item (string) |
538 @param name name of the new item (string) |