Helpviewer/CookieJar/CookiesDialog.py

changeset 463
8d0309c4b7f6
parent 37
bfe92e414977
child 464
a2b1d1770ef0
equal deleted inserted replaced
461:34528aaedf1c 463:8d0309c4b7f6
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()"),

eric ide

mercurial