Thanks for help !
I used showEvent() because before showing the second window I wanted to do some settings in its widget.
So there isn't any simpler solution to keep the second window in foreground ?
I mean something that I could call a function of the second widget which keeps the second window in foreground (doesn't allow to activate other windows by clicking on them) and releases the window if I click its Apply os Cancel pushButton.
Bookmarks