47 self.__proxyModel = QSortFilterProxyModel(self) |
47 self.__proxyModel = QSortFilterProxyModel(self) |
48 self.__proxyModel.setSourceModel(model) |
48 self.__proxyModel.setSourceModel(model) |
49 self.connect(self.searchEdit, SIGNAL("textChanged(QString)"), |
49 self.connect(self.searchEdit, SIGNAL("textChanged(QString)"), |
50 self.__proxyModel.setFilterFixedString) |
50 self.__proxyModel.setFilterFixedString) |
51 self.cookiesTable.setModel(self.__proxyModel) |
51 self.cookiesTable.setModel(self.__proxyModel) |
52 self.connect(self.cookiesTable, |
52 self.cookiesTable.doubleClicked.connect(self.__showCookieDetails) |
53 SIGNAL("doubleClicked(const QModelIndex&)"), |
|
54 self.__showCookieDetails) |
|
55 self.connect(self.cookiesTable.selectionModel(), |
53 self.connect(self.cookiesTable.selectionModel(), |
56 SIGNAL("selectionChanged(const QItemSelection&, const QItemSelection&)"), |
54 SIGNAL("selectionChanged(const QItemSelection&, const QItemSelection&)"), |
57 self.__tableSelectionChanged) |
55 self.__tableSelectionChanged) |
58 self.connect(self.cookiesTable.model(), |
56 self.connect(self.cookiesTable.model(), |
59 SIGNAL("modelReset()"), |
57 SIGNAL("modelReset()"), |