PDA

View Full Version : creating transparent qlabel where parent widget is a techsoft3d hoops interface widge



samsamsam
15th June 2009, 13:24
hello there.

i have a big problem.

i am loading 3D-objects , manipulating them (zoom, etc...). The rendering is done by the HQWidget clas, an interface clas between techsoft3d hoops ant qt. so the rendering is actually done by hoops and not by qt.

now i am trying to display some info text onto that widget. i tried it with a qlabel and made that qlabel transparent. it didnt work. the label turned black. i assume that since qt hasnt done the rendering (hoops has), qt assumes that the widget is black, therefore black color shines through the transparent label and it appears to be black.

do you know a way how to outsmart qt?

wysota
15th June 2009, 18:22
Can you show us some code related to the problem?