[feat] Non-touch improvements (#8859)

FocusManager: fix round x use y layout
FocusManager: add tab and shift tab focus navigation support
FocusManager: handle Press key by default
FocusManager: make sure selected in instance level
FocusManager: add hold event support
FocusManager: Half move instead of edge move
FocusManager: add keymap override support
FocusManager: refocusWidget will delegate to parent FocusManager
Focusmanager: refocusWidget can execute on next tick
inputtext: can move out of focus on back
inputtext: fix cannot exit for non-touch device
inputtext: fix cannot input text with kindle dx physical keyboard
fontlightwidget: add non-touch support
datetimewidget: add non-touch support
datetimewidget: fix set date failed in kindle DX, fix datetimewidget month range to 1~23 by default
datetimewidget: make hour max value to 23
multiinputdialog: add non-touch support
checkbox: focusable and focus style
virtualkeyboard: no need to press two back to unfocus inputtext
virtualkeyboard: collect FocusManager event key names to let VirtualKeyboard disable them
openwithdialog: add non-touch support
inputdialog: can close via back button
enable all InputDialog and MultiInputDialog can be close by back
keyboardlayoutdialog: non-touch support
readertoc: non touch device can expand/collapse in toc
bookstatuswidget: non touch support
keyvaluepage: non-touch support
calendarview: non-touch support
This commit is contained in:
Philip Chan
2022-03-05 04:20:00 +08:00
committed by GitHub
parent a2b641822f
commit 107156c0a8
65 changed files with 838 additions and 432 deletions

View File

@@ -137,6 +137,7 @@ function Exporter:addToMainMenu(menu_items)
{
{
text = _("Cancel"),
id = "close",
callback = function()
UIManager:close(url_dialog)
end
@@ -176,6 +177,7 @@ function Exporter:addToMainMenu(menu_items)
{
{
text = _("Cancel"),
id = "close",
callback = function()
UIManager:close(auth_dialog)
end
@@ -246,6 +248,7 @@ For more information, please visit https://github.com/koreader/koreader/wiki/Hig
{
{
text = _("Cancel"),
id = "close",
callback = function()
UIManager:close(auth_dialog)
end