How to set absolute position of the widgets in qt -


i using qt develop rich ui application.

  1. i need position widgets @ absolute positions
  2. i should able put widget in background / foreground add few effects.

simple example be, have show boiler water level inside feed tank.

  1. take feed tank image , embed in label.
  2. position progress bar in center of feedtank display water level.

now in case progress bar in foreground , label in background.

regards,

you need create widget, indicate parent qwidget , display it.

don't add parent layout else not able move want.

don't forget indicate parent else displayed independent widget.

in these conditions widget considered child of qwidget not member of parent's layout. "floating" child , must manage it's behavior when resizing parent's qwidget.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -