Results 1 to 6 of 6

Thread: drop image fly back

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 42 Times in 37 Posts

    Default Re: drop image fly back

    http://doc.trolltech.com/4.1/dnd.html

    As for the "flyback" animation, you may have to implement that yourself by showing and moving a transparent widget on a timer.
    Last edited by Chicken Blood Machine; 7th March 2006 at 21:31.
    Save yourself some pain. Learn C++ before learning Qt.

  2. #2
    Join Date
    Feb 2006
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    21

    Default Re: drop image fly back

    Thanks for the reply,
    But can you provide me an example code of how to do it

    regards,
    sreed

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: drop image fly back

    Create a widget representing your "icon", create a timer and animate (move) the widget on each timeout. Look at QTimer class docs for details. There are some examples there.

Similar Threads

  1. can Qlabel display a series of image one by one ?
    By jirach_gag in forum Qt Tools
    Replies: 3
    Last Post: 11th August 2008, 15:36
  2. Finding marks on scanned image for alignment
    By caduel in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 02:10
  3. problem with the back ground image
    By Seema Rao in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2006, 21:34
  4. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 16:36
  5. Question about updating an image on screen
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 19:01

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.