Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22

Thread: problem of opacity for textLabel

  1. #21
    Join Date
    Apr 2006
    Posts
    21
    Thanks
    6

    Arrow Re: problem of opacity for textLabel

    What for? Maybe you could explain what do you intend to do with it.

    i explique:

    i need the color transparense
    because:
    -when the user move some widgets(herits from Qframe or qlabel) by the cursor;
    the upper widget must be transparent ansd dont has the color of his parent,
    just the color of background will be transparent....
    i hope that u will understand the problem

    My regards!

  2. #22
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem of opacity for textLabel

    Quote Originally Posted by Stephano
    -when the user move some widgets(herits from Qframe or qlabel) by the cursor;
    the upper widget must be transparent ansd dont has the color of his parent,
    just the color of background will be transparent....
    Then maybe you need QCanvas? If not, then try the first method from the article I mentioned earlier (i.e. "You can use QPainter::redirect() and then call the parent widget's paintEvent() to have the parent draw itself onto the widget's background directly.").

Similar Threads

  1. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  2. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  3. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.