PDA

View Full Version : How to make a label be on the background?



Bong.Da.City
6th September 2010, 11:18
I created a label on my mainwindow of my app.. and i had add to it a pixmap... but if i enlarge it it covers everything on the window... how to make it be on the background?

wysota
6th September 2010, 11:19
Discard the label, set the pixmap as the background brush for the palette of your window (as I understand that is what you want - your English is not easy to understand).

Bong.Da.City
6th September 2010, 11:26
Come on... The reason why i am asking on the Newbie section is to have a detailed answer.. you said discard label .. how? set the pixmap as the background brush for the palette of your window.. how? ( What i want to is the label that i created to be on the backround and do not cover all the button and all that... )

wysota
6th September 2010, 11:37
you said discard label .. how?
Don't use it at all.

set the pixmap as the background brush for the palette of your window.. how?
Open up Qt Assistant, type in "palette" into the index tab and when results pop up (choose QWidget), find something related to "background".

Being a newbie doesn't allow you to not do research by yourself and expect others to give you complete solutions.