Results 1 to 2 of 2

Thread: snap to grid behaviour

  1. #1
    Join Date
    Feb 2008
    Posts
    102
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default snap to grid behaviour

    I'd like to implement the snap to grid behaviour.

    I draw the grid inside my drawbackground() function.....How can my custom QGraphicsItems have this behaviour????

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: snap to grid behaviour

    I guess http://www.qtcentre.org/forum/f-qt-p...tem-13252.html is similar prob to urs

    hope it helps

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.