src/eric7/QtHelpInterface/HelpIndexWidget.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
88 self.__index.customContextMenuRequested.connect(self.__showContextMenu) 88 self.__index.customContextMenuRequested.connect(self.__showContextMenu)
89 self.__searchEdit.returnPressed.connect(self.__index.activateCurrentItem) 89 self.__searchEdit.returnPressed.connect(self.__index.activateCurrentItem)
90 self.__layout.addWidget(self.__index) 90 self.__layout.addWidget(self.__index)
91 91
92 @pyqtSlot(QHelpLink, str) 92 @pyqtSlot(QHelpLink, str)
93 def __documentActivated(self, document, keyword, modifiers=None): 93 def __documentActivated(self, document, _keyword, modifiers=None):
94 """ 94 """
95 Private slot to handle the activation of a keyword entry. 95 Private slot to handle the activation of a keyword entry.
96 96
97 @param document reference to a data structure containing the 97 @param document reference to a data structure containing the
98 document info 98 document info
99 @type QHelpLink 99 @type QHelpLink
100 @param keyword keyword for the URL 100 @param _keyword keyword for the URL (unused)
101 @type str 101 @type str
102 @param modifiers keyboard modifiers 102 @param modifiers keyboard modifiers
103 @type Qt.KeyboardModifiers or None 103 @type Qt.KeyboardModifiers or None
104 """ 104 """
105 if modifiers is None: 105 if modifiers is None:

eric ide

mercurial