76 |
76 |
77 @param pattern pattern of the entry (string) |
77 @param pattern pattern of the entry (string) |
78 @param filetype file type of the entry (string) |
78 @param filetype file type of the entry (string) |
79 @return reference to the newly generated entry (QTreeWidgetItem) |
79 @return reference to the newly generated entry (QTreeWidgetItem) |
80 """ |
80 """ |
81 itm = QTreeWidgetItem(self.filetypeAssociationList, [pattern, filetype]) |
81 itm = QTreeWidgetItem( |
|
82 self.filetypeAssociationList, [pattern, filetype]) |
82 return itm |
83 return itm |
83 |
84 |
84 def on_filetypeAssociationList_currentItemChanged(self, itm, prevItm): |
85 def on_filetypeAssociationList_currentItemChanged(self, itm, prevItm): |
85 """ |
86 """ |
86 Private slot to handle the currentItemChanged signal of the |
87 Private slot to handle the currentItemChanged signal of the |