Results 1 to 10 of 10

Thread: How to animate the transparency of a child QPushButton using QPropertyAnimation ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to animate the transparency of a child QPushButton using QPropertyAnimation ?

    This is the side effect of child widgets not being windows in Qt.
    You can only do the opacity on the parent.

    edit: however, this doesn't mean it is impossible.
    Use a style specific for your button.
    Last edited by tbscope; 17th October 2010 at 18:31.

  2. The following user says thank you to tbscope for this useful post:

    daudiam (17th October 2010)

Similar Threads

  1. QPropertyAnimation and animation speed
    By themk in forum Qt Programming
    Replies: 0
    Last Post: 13th October 2010, 00:05
  2. QPropertyAnimation and QStackedLayout:functionality.
    By savaliya_ambani in forum Qt for Embedded and Mobile
    Replies: 11
    Last Post: 24th September 2010, 08:33
  3. Using QPropertyAnimation with QGraphicsPixmapItem
    By Luc4 in forum Qt Programming
    Replies: 8
    Last Post: 29th March 2010, 09:47
  4. Replies: 1
    Last Post: 8th January 2010, 12:21
  5. Replies: 2
    Last Post: 11th November 2009, 08:03

Tags for this Thread

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.