Qt key handling

Fix the popup versions of qt_yn_function() to handle control
characters by using the same key press event decoding routine
and menus and extended commands.  Moves 'keyValue()' to
qt_key.cpp and its declaration to qt_key.h, requring several
files to start using #include "qt_key.h".

'make depend' update to follow.
This commit is contained in:
PatR
2021-01-08 13:47:34 -08:00
parent 129ff12245
commit 2c02d5daac
6 changed files with 47 additions and 30 deletions
+1
View File
@@ -90,6 +90,7 @@ extern "C" {
#include "qt_post.h"
#include "qt_xcmd.h"
#include "qt_xcmd.moc"
#include "qt_key.h" // for keyValue()
#include "qt_bind.h"
#include "qt_set.h"
#include "qt_str.h"