blob: 225b22e2cbc2d92c3ae02995487cd38ed97f83c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env python3
# Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Small test script to show key presses.
Use python3 -m scripts.keytester to launch it.
"""
from qutebrowser.qt.widgets import QApplication
from qutebrowser.misc import miscwidgets
app = QApplication([])
w = miscwidgets.KeyTesterWidget()
w.show()
app.exec()
|