c++ - Qt - Grabbing pixmap from a Widget doesn't take proper alpha channel -


I currently use the QWidget :: grab () function to get a QFrame pixmap (and all its children) I'm using, but do not keep the function in mind, if there is no background in the widget

You see, my queueframe is set to "set etofil backfang (false)", but when its pixmap If it is captured, then it is the default light-pink background rather than full transparency Programming is dyeing think.

> Pixmap works well with the image of an alpha channel, in which case I am using it with QGL, so pixmap is being provided later in the form of texture .

I changed the background of the frame palette to include 0 alpha.

Although I still believe that the bull's set to fill in the backing should be kept in mind - and not just filling the background is normally equivalent to the same pure visual effect. Is when it has not been caught.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -