scripts: Add docstring for keytester.

This commit is contained in:
Florian Bruhin 2015-05-16 14:12:16 +02:00
parent 137badc77f
commit c91344cdf5

View File

@ -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)),
'',