I create a window with some widgets in a layout and there is a QLabel in a fixed position from right-bottom, while I create other widgets replacing old ones and put them into the old layout , which means the QLabel is created before the new widgets. Then the QLabel is shadowed by others. How could I set the QLabel on top all the way . I've tried setWindowFlags(Qt::WindowStaysOnTopHint), but it doesn't work.
Any suggestions?
Bookmarks