Results 1 to 4 of 4

Thread: Scribble to GraphicsView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    29
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Scribble to GraphicsView

    Hello,

    I was wondering if it is possible, in Qt, to convert a scribbled paint into a QGraphicsItem.

    What I am trying to do is a scribble area where, for example, I draw a circle with the mouse, and then after the circle is finish and I release the mouse button, then that figure is
    somehow converted into an item I can drag, rotate, and treat as an individual item. The same way, I want to be able to draw a square, and then use that square as a GraphicsView item, get the bounding rect, move it, use collision detection, etc.

    Do you think it is possible to do that in Qt?
    Do you have any suggestions?

    Thank you very much!
    Last edited by rdelgado; 10th November 2009 at 20:19.

Similar Threads

  1. The problem when add QAxWidget into graphicsView.
    By Scott Liu in forum Qt Programming
    Replies: 8
    Last Post: 9th September 2009, 06:39
  2. Replies: 2
    Last Post: 5th September 2009, 11:23
  3. GraphicsView paintEvent() method implementation problem
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 2
    Last Post: 17th August 2009, 06:54
  4. Newbie: Circuits and GraphicsView
    By RY in forum Newbie
    Replies: 10
    Last Post: 1st October 2008, 05:12
  5. QT GraphicsView Help
    By mistertoony in forum Qt Programming
    Replies: 15
    Last Post: 15th February 2007, 04:17

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.