searchShortcut QShortcut QKeySequence self shortcuts Search shortcut s

1
2
3
4
5
6
7
searchShortcut = QShortcut(QKeySequence(
self.shortcuts["Search"]["shortcut"]),
self,
self.searchBtn.click
)
self.emit(SIGNAL("registerShortcut"), self.__section__, "Search", self.shortcuts["Search"]["desc"], searchShortcut)