qutebrowser/tests/unit/keyinput
Florian Bruhin 8f479407a0 key_data: Update key names to reflect reality
Generated by:

import key_data
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QKeySequence

for key in key_data.KEYS:
    attr = key.attribute
    member = getattr(Qt, 'Key_' + attr, None)
    if member is None:
        continue
    name = QKeySequence(member).toString()
    if name != attr:
        try:
            print("    Key('{}', '{}')".format(attr, name))
        except UnicodeEncodeError:
            print("    Key('{}', '{}')  # FIXME".format(attr, name.encode('unicode-escape').decode('ascii')))
    else:
        print()
2018-03-04 20:20:30 +01:00
..
conftest.py Update copyright years 2018-02-05 12:19:50 +01:00
key_data.py key_data: Update key names to reflect reality 2018-03-04 20:20:30 +01:00
test_basekeyparser.py Expose less from keyutils publicly 2018-03-04 20:20:30 +01:00
test_keyutils.py Initial tests on all Qt keys 2018-03-04 20:20:30 +01:00
test_modeman.py Update copyright years 2018-02-05 12:19:50 +01:00
test_modeparsers.py Get rid of BaseKeyparser.Type 2018-02-27 13:01:41 +01:00