[Qt-interest] How to punch a hole in a widget.

Stephen Chu stephen at ju-ju.com
Wed Feb 17 15:49:21 CET 2010


In article <4B274613.3000706 at iv-srl.it>,
 Stefano Rosellini <s.rosellini at iv-srl.it> wrote:

> Il 15/12/2009 06:54, Nitin Mahajan ha scritto:
> > How to make, only a part of a widget as transparent?
> >
> > regards
> >
> > -Nitin
> >
> >
> >        New Email names for you!
> > Get the Email name you&#39;ve always wanted on the new @ymail and 
> > @rocketmail.
> > Hurry before someone else does!
> > http://mail.promotions.yahoo.com/newdomains/aa/
> >
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
> >
> >    
> Take a look to QWidget::setmask().

This will make a hard-edge hole with a 1-bit mask, right? How can I make 
it a soft-edge one with a 8-bit alpha mask?

-- 
Stephen Chu



More information about the Qt-interest-old mailing list