qt - Overlaying and positioning windows -


let's have widget cannot allow child widget displayed on top of it- yet that's need. i'm assuming way accomplish make child widget own window.

how can make "child" window on top of "parent", , position @ bottom (with predefined margin) , centered horizontally?

it should respond resizing of parent window well.

a example controlbar video

(in fact- guess in fullscreen mode vlc doing this... it?)

edit: here current widgets layout: http://i.imgur.com/ncrlmrd.png

note seekbar not displaying on video

the child widget should have qt::tool window flag, , parent widget should set parent widget of child usual. way top-level widget , on top of parent.

you should position child widget manually. example, can install event filter on parent widget , react on move , resize event types.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -