Why don't you try QWidget::setMask( const QRegion& ).
Using a painter to achieve this will probably not work, because the background of the widget is not (yet) transparent. You could first fill the widget rect with a transparent pixmap but it is better and easier to use QWidget::setMask.
Regards




Reply With Quote
Bookmarks