Results 1 to 9 of 9

Thread: QToolButton customization / skinning

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2010
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QToolButton customization / skinning

    Correct ... I mean the background. Have already read the stylesheet docu, but haven't found a way to draw only half the background with a Gradient and keep the other half part transparent or as it is.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QToolButton customization / skinning

    Quote Originally Posted by Treggie View Post
    Correct ... I mean the background.
    than write it next time....
    Have already read the stylesheet docu, but haven't found a way to draw only half the background with a Gradient and keep the other half part transparent or as it is.
    Then use a gradient which is from 0.0 to 0.5 transparent and for 0.500000000000000000000000000000000000000000000000 000000000000000000000001 to 1.0 make your colours. How to use gradient has BalaQt written and all that are wounderfull explained in the docus.

  3. #3
    Join Date
    Feb 2010
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QToolButton customization / skinning

    Hi Lykurg ... why so aggressive? You helped me with the first part of the question (the hint to the qproperty was helpful indeed). For the second part (as noted ... and written) in my initial question I will try the gradient (which I already know).

Similar Threads

  1. QTabWidget customization
    By asafzakay in forum Qt Programming
    Replies: 16
    Last Post: 26th November 2017, 11:01
  2. QSqlTableModel column customization
    By kishore7771 in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2009, 09:07
  3. Window customization
    By Kostanev in forum Qt Programming
    Replies: 11
    Last Post: 14th August 2008, 18:04
  4. Replies: 1
    Last Post: 10th July 2008, 17:59
  5. Layout runtime customization
    By altVis in forum Qt Programming
    Replies: 3
    Last Post: 18th April 2008, 07:59

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
  •  
Qt is a trademark of The Qt Company.