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
Post a Comment