scripts: Add docstring for keytester.
This commit is contained in:
parent
137badc77f
commit
c91344cdf5
@ -39,6 +39,7 @@ class KeyWidget(QWidget):
|
||||
self._layout.addWidget(self._label)
|
||||
|
||||
def keyPressEvent(self, e):
|
||||
"""Show pressed keys."""
|
||||
lines = [
|
||||
str(utils.keyevent_to_string(e)),
|
||||
'',
|
||||
|
Loading…
Reference in New Issue
Block a user