Results 1 to 9 of 9

Thread: QGraphicsObject color change animation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2010
    Posts
    97
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QGraphicsObject color change animation

    I have created QGraphicsObject which has multiple rectangles attached to each other. All these rects has default color as orange. This is working correctly. Now I want to change color of one particular rect after certain condition is met. I am not sure how animation will take place to change color of one rect.

    I am attaching my implemention for your reference.


    Thanks

    Manish
    Attached Files Attached Files

Similar Threads

  1. How to make an QGraphicsObject animation?
    By luisvaldes88 in forum Qt Programming
    Replies: 2
    Last Post: 25th August 2011, 18:01
  2. Change in color map?
    By bigjoeystud in forum Qwt
    Replies: 4
    Last Post: 8th September 2010, 20:00
  3. Replies: 3
    Last Post: 22nd January 2010, 16:46
  4. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 22:25
  5. How to change color of a QPushButton?
    By vishal.chauhan in forum Qt Programming
    Replies: 6
    Last Post: 5th March 2008, 13:22

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.