def clear(self): QtGui.QStandardItemModel.clear(self) self._addDefaultTreeItems() self._initFilterTypeMappings()