LINUX.ORG.RU

void QWidget::setMask ( const QBitmap & bitmap ) [virtual]


Causes only the pixels of the widget for which bitmap has a corresponding 1 bit to be visible. If the region includes pixels outside the rect() of the widget, window system controls in that area may or may not be visible, depending on the platform.
Note that this effect can be slow if the region is particularly complex.


See examples/tux for an example of masking for transparency.


See also clearMask().

Sveta_F
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.