File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,33 @@ QbApp{
2323
2424 KeyNavigation .tab : objSearchField
2525
26+ Connections{
27+ target: Qt .inputMethod
28+ onVisibleChanged: {
29+ if (! Qt .inputMethod .visible ){
30+ objAndroidExtras .enableFullScreen ();
31+ objCVContentGrid .forceActiveFocus ();
32+ }
33+ else {
34+ objAndroidExtras .disableFullScreen ();
35+ }
36+ }
37+ onKeyboardRectangleChanged: {
38+ if (Qt .inputMethod .visible ) {
39+ }
40+ }
41+ }
42+
2643 Keys .onReleased : {
2744 event .accepted = false ;
2845 if (event .key === Qt .Key_Back || event .key === Qt .Key_Escape ) {
2946 if (Qt .inputMethod .visible ){
3047 Qt .inputMethod .hide ();
3148 event .accepted = true ;
49+ }
50+ else {
3251 objAndroidExtras .enableFullScreen ();
33- objMainAppUi .forceActiveFocus ();
52+ objCVContentGrid .forceActiveFocus ();
3453 }
3554 }
3655 }
You can’t perform that action at this time.
0 commit comments