139 if self.primaryButton.isChecked(): |
139 if self.primaryButton.isChecked(): |
140 self.keyEdit.setText(txt) |
140 self.keyEdit.setText(txt) |
141 else: |
141 else: |
142 self.alternateKeyEdit.setText(txt) |
142 self.alternateKeyEdit.setText(txt) |
143 |
143 |
144 def eventFilter(self, watched, event): |
144 def eventFilter(self, _watched, event): |
145 """ |
145 """ |
146 Public method called to filter the event queue. |
146 Public method called to filter the event queue. |
147 |
147 |
148 @param watched the QObject being watched |
148 @param _watched reference to the QObject being watched (unused) |
149 @type QObject |
149 @type QObject |
150 @param event the event that occurred |
150 @param event the event that occurred |
151 @type QEvent |
151 @type QEvent |
152 @return always False |
152 @return always False |
153 @rtype bool |
153 @rtype bool |