Results 1 to 12 of 12

Thread: cursor artifact while grabbing graphics item

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    128
    Thanks
    7
    Thanked 14 Times in 14 Posts
    Platforms
    Unix/X11 Windows

    Default cursor artifact while grabbing graphics item

    Hi!

    I make an application using QGraphicsItems (Qt 4.5.3), which basically allows the user to draw polygons in a scene/view


    Now, when I grab a vertex, a graphic artifact appears under my cursor (see attached picture). I suspect this is due to either the vertex bounding rect (which is computed in order to be zoom-independant), or to the cursor itself; but i can't figure out what is happening.

    If anyone has a few minutes to spend on my case, the project can be found here :
    project home page on google code

    A Windows executable can be found here :
    Windows executable download


    The artifact appears when i use the [Add Vertex] tool, not when i simply move a vertex with the [Select] tool :S

    I'm sorry if i'm not clear enough, i could try to be more precise if you have questions

    Thank you all
    Attached Images Attached Images

Similar Threads

  1. How do you embed a widget in a graphics item?
    By technoViking in forum Qt Programming
    Replies: 4
    Last Post: 10th November 2009, 06:09
  2. how to you send signals to a graphics item?
    By technoViking in forum Qt Programming
    Replies: 4
    Last Post: 6th November 2009, 19:40
  3. Graphics item position after drag
    By Miihkali in forum Qt Programming
    Replies: 3
    Last Post: 17th March 2009, 10:01
  4. Graphics View - Scene & Item hierarchy
    By mooreaa in forum Qt Programming
    Replies: 0
    Last Post: 29th June 2008, 23:49
  5. Reimplementing The MousePressEvent for Graphics Item
    By ashishrai in forum Qt Programming
    Replies: 3
    Last Post: 25th May 2008, 20:11

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
  •  
Qt is a trademark of The Qt Company.