Currently, I am working on a Navigation QT application. The Navigation SDK provided a implementation to connect the map control and windows like that:
bRequestCreateRenderView( windowHandle);
I get the windowshandle with the code : "this->winId()" (this = MainWindow) and that works.
Then, I came across with problems about Z-order. All the widgets in that windows are invisible, until I move the mouse to these widgets' position. I think it is because of the rendering view is the topmost layer, and covers all the widgets in that windows.
I had tried all the methods like "setWindowFlags(Qt::WindowStaysOnTopHint);" "hide() & show()"; "raise()"; "activateWindow();". but none works. Could anyone give me some advice about how to place a widget at topmost layer in this case?
(another method to work around this problem):
Meanwhile, I am trying to implement a window embedded in the application. This embedded window would connect with the map control, and rendering continuous. And another window with transparency background (included all the widgets) was placed on the topmost layer?
Is that possible? Or could anyone give me some advice to deal with my case?
Bookmarks