Results 1 to 5 of 5

Thread: How can I move object over another object smoothly in QML?

  1. #1
    Join Date
    Sep 2012
    Posts
    66
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question How can I move object over another object smoothly in QML?

    I have two object in QML and the two are move able(one is small and another is big). One,the small, is moved over an other,the big,. How can I move the two smoothly because whenever I move the small one, it always conflict with the big one.

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

    Default Re: How can I move object over another object smoothly in QML?

    I'm not sure what you mean exactly. For smooth animations you can use either the Behavior element or the PropertyAnimation element.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2012
    Posts
    66
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: How can I move object over another object smoothly in QML?

    My problem is Capture.PNG

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

    Default Re: How can I move object over another object smoothly in QML?

    I'm sorry, I don't understand what you mean. What do you mean by that they "conflict" with each other?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Sep 2012
    Posts
    66
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: How can I move object over another object smoothly in QML?

    Oh sorry, it mean when I want to move the small object, the program mostly move the big object. The small object is hardly move even I try to point the mouse on it but instead it move the big. So I want them to be easier to move mean if i point to the space of the big, it move the big and if I point to the small's space, it move the small not the big anymore.

Similar Threads

  1. Replies: 1
    Last Post: 8th November 2011, 22:27
  2. Replies: 4
    Last Post: 15th July 2011, 18:31
  3. Replies: 4
    Last Post: 20th August 2010, 13:07
  4. Replies: 19
    Last Post: 18th October 2009, 09:34
  5. Move mouse over object
    By ToddAtWSU in forum Qt Programming
    Replies: 17
    Last Post: 3rd October 2007, 15:53

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.