blob: 7df7299c899cbe2e47041435f4dbc4b7899e98ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env python3
# SPDX-FileCopyrightText: 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()
|