Hi!

I have a top-level window which is painted using QPixmap with varying alpha-channel. With Qt 4.5.x I use setAttribute( Qt::WA_TranslucentBackground) to make these regions semi-transparent depending on alpha value.

Now I have the need to achieve the same effect with Qt 4.3.2 (please don't ask me why 4.3.2, I have my reasons ).

I can't find a way to do this, perhaps someone can give me an advice? Is it possible at all?

QLabel::setMask() won't do, because it only respects alpha 0 and alpha 1, not a values in between.