[Qt-interest] How to punch a hole in a widget.
Nitin Mahajan
nitinm76 at yahoo.com
Tue Dec 15 14:19:05 CET 2009
--- On Tue, 15/12/09, Nitin Mahajan <nitinm76 at yahoo.com> wrote:
> From: Nitin Mahajan <nitinm76 at yahoo.com>
> Subject: Re: [Qt-interest] How to punch a hole in a widget.
> To: "QT Mailing LIST" <qt-interest at trolltech.com>
> Date: Tuesday, 15 December, 2009, 6:05 PM
> Hello,
>
> --- On Tue, 15/12/09, Stefano Rosellini <s.rosellini at iv-srl.it>
> wrote:
>
> > From: Stefano Rosellini <s.rosellini at iv-srl.it>
> > Subject: Re: [Qt-interest] How to punch a hole in a
> widget.
> > To: "QT Mailing LIST" <qt-interest at trolltech.com>
> > Date: Tuesday, 15 December, 2009, 1:47 PM
> > Il 15/12/2009 06:54, Nitin Mahajan ha
> > scritto:
> > > How to make, only a part of a widget as
> transparent?
> > >
> > > regards
> > >
> > > -Nitin
> > >
>
> I am trying to make a part of QWebView as transparent using
> setMask(). I am doing this experiment with the demo
> browser.
>
> The demo browser is allowed to run for some time.Later some
> region of web view is made transparent using setMask().
>
> What I find is that the region where a whole should have
> been punched remains white, instead of becoming transparent.
> Can some one help me with this?
>
Got it. While using demo browser, I need to punch a hole in BrowserMainWindow also.
regards
-Nitin
> Using same method when I try to punch a whole in a QWidget,
> I am able to do that.
>
> regards
>
> -Nitin
>
> > >
> > > New Email names for you!
> > > Get the Email name you'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().
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
> >
>
>
> New Email names for you!
> Get the Email name you'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
>
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
More information about the Qt-interest-old
mailing list