Popup new window on top of modal
-
In my program im using integrated keyboard that i developed. When lineedit fields focused it shows up. But one of my window opens as modal and block interaction with main window. In this modal window i have lineedits too. When i clicked them my keyboard shows up but i cant interact with keyboard. Modal window block keyboard too.
Its like this:

I want to open keyboard on top of the modal so i can use keyboard on modal window too. How can i do this?
-
@jsulm never mind, i solved it with removing
setWindowModality(Qt::ApplicationModal);and addingsetWindowFlags(Qt::WindowStaysOnTopHint|Qt::FramelessWindowHint);it. It still works like modal window and its possible to interact with keyboard since i addedWindowStaysOnTopHintflag to keyboard too. -
In my program im using integrated keyboard that i developed. When lineedit fields focused it shows up. But one of my window opens as modal and block interaction with main window. In this modal window i have lineedits too. When i clicked them my keyboard shows up but i cant interact with keyboard. Modal window block keyboard too.
Its like this:

I want to open keyboard on top of the modal so i can use keyboard on modal window too. How can i do this?
-
@jsulm never mind, i solved it with removing
setWindowModality(Qt::ApplicationModal);and addingsetWindowFlags(Qt::WindowStaysOnTopHint|Qt::FramelessWindowHint);it. It still works like modal window and its possible to interact with keyboard since i addedWindowStaysOnTopHintflag to keyboard too.