61 self.historyTree.customContextMenuRequested.connect( |
61 self.historyTree.customContextMenuRequested.connect( |
62 self.__customContextMenuRequested) |
62 self.__customContextMenuRequested) |
63 |
63 |
64 self.connect(self.searchEdit, SIGNAL("textChanged(QString)"), |
64 self.connect(self.searchEdit, SIGNAL("textChanged(QString)"), |
65 self.__proxyModel.setFilterFixedString) |
65 self.__proxyModel.setFilterFixedString) |
66 self.connect(self.removeButton, SIGNAL("clicked()"), |
66 self.removeButton.clicked[()].connect(self.historyTree.removeSelected) |
67 self.historyTree.removeSelected) |
67 self.removeAllButton.clicked[()].connect(self.__historyManager.clear) |
68 self.connect(self.removeAllButton, SIGNAL("clicked()"), |
|
69 self.__historyManager.clear) |
|
70 |
68 |
71 self.connect(self.__proxyModel, SIGNAL("modelReset()"), self.__modelReset) |
69 self.connect(self.__proxyModel, SIGNAL("modelReset()"), self.__modelReset) |
72 |
70 |
73 def __modelReset(self): |
71 def __modelReset(self): |
74 """ |
72 """ |