Results 1 to 3 of 3

Thread: Qt Drag and Drop Snap

  1. #1
    Join Date
    Mar 2011
    Posts
    2
    Platforms
    Windows

    Default Qt Drag and Drop Snap

    Hey guys,

    Was just curious if anyone has tried a drag and drop GUI in which shapes dragged into a particular area snap to the base of one another.

    Have looked around and can only find simple drag and drop graphics. I'm after getting several blocks attached to one another and obtaining some strings attatched to each object in a ordered grouping fashion.

    Any help would be appreciated.

    Thanks

    Sean

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

    Default Re: Qt Drag and Drop Snap

    Quote Originally Posted by seano182 View Post
    Was just curious if anyone has tried a drag and drop GUI in which shapes dragged into a particular area snap to the base of one another.
    Yes.
    Any help would be appreciated.
    "Qt in Education" section of Qt/Nokia website contains a lecture on Graphics View with a lab (jigsaw puzzle) that handles such a thing. It doesn't use drag&drop per se but rather the item moving mechanism built into graphics view. But the idea is the same regardless of what mechanism you use.
    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
    Mar 2011
    Posts
    2
    Platforms
    Windows

    Default Re: Qt Drag and Drop Snap

    Thanks for that, I'll have a look into it.

Similar Threads

  1. Replies: 2
    Last Post: 13th October 2010, 21:51
  2. Replies: 3
    Last Post: 10th June 2010, 15:13
  3. Replies: 0
    Last Post: 4th May 2010, 10:24
  4. Drag and drop
    By iswm in forum Qt Programming
    Replies: 2
    Last Post: 10th April 2007, 01:41
  5. drag and drop
    By christopher in forum Newbie
    Replies: 1
    Last Post: 19th August 2006, 20:59

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.