Results 1 to 2 of 2

Thread: How to make QRubberBand to be filled with semitransparent color ?

  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to make QRubberBand to be filled with semitransparent color ?

    Hi, guys:
    How to make QRubberBand to be filled with a semitransparent color? I'v googled , but the answer is still not got. Sigh ...
    BTW, I work on the linux box.
    I tried the QRubberBand, it only displayed a line style rectangle, but I want to let it filled in a semitransparent color. What do I do? Thanks!

  2. #2
    Join Date
    Jan 2008
    Location
    Forstinning, Germany
    Posts
    10
    Thanked 7 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to make QRubberBand to be filled with semitransparent color ?

    QRubberBand is a subclass of QWidget.
    Try to find a solution there.

Similar Threads

  1. How to get QGraphicsRectItem filled color
    By wisconxing in forum Qt Programming
    Replies: 1
    Last Post: 3rd February 2009, 02:28
  2. How to get QGraphicsItem's filled color
    By wisconxing in forum Newbie
    Replies: 1
    Last Post: 2nd February 2009, 14:48
  3. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 22:25
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05: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.