Dear visitor, welcome to QtForum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.

bitBlt

Hi,

I have a problem with the bitBlt() method.
I wanna draw a histogram of an Image from a QPixmap to a QPixmap using bitBlt and a Qt:rROP function. The target QPixmap contains two colored rects to indicate the upper and lower binarization bounds.
The histogram is now drawn in the color of the rects because of the OR function. Now I copy the QPixmap to a QLabel to display it.
This works fine, no flickering, smooth updating, but the problem is: When I move my dialog out of the desktop rectangle, the colored bounds disappear and only the black histogram is drawn. The same happens if I move another dialog over the histogram.
I did it this way: