Results 1 to 20 of 20

Thread: How to draw a Qgraphicsitem on a Qimage?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to draw a Qgraphicsitem on a Qimage?

    Quote Originally Posted by eternalthinker View Post
    As I have mentioned in the question, the most recent item is editable by the user.
    ie, it can be dragged around, resized and rotated before the final permamnent version is drawn.
    I thought this could be easier to implement with QGraphicsView
    That doesn't require graphics view. Nevertheless my question still stands -- if your fill is to create a new "most recent item" that is to be "editable by the user" then it is much different from filling an existing item or canvas.
    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.


  2. #2
    Join Date
    Feb 2012
    Posts
    12
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: How to draw a Qgraphicsitem on a Qimage?

    Quote Originally Posted by wysota View Post
    That doesn't require graphics view. Nevertheless my question still stands -- if your fill is to create a new "most recent item" that is to be "editable by the user" then it is much different from filling an existing item or canvas.
    Actually 'editable' apply to only a selected few items in the application. This excludes floodfills and freehand lines.

Similar Threads

  1. How to draw QGraphicsItem at the same location?
    By jeanremi in forum Qt Programming
    Replies: 13
    Last Post: 20th September 2011, 16:08
  2. Replies: 10
    Last Post: 10th February 2011, 23:31
  3. Zooming a qimage on a QGraphicsItem
    By paolom in forum Qt Programming
    Replies: 14
    Last Post: 23rd June 2010, 08:47
  4. Replies: 0
    Last Post: 16th August 2009, 17:46
  5. QPainter doesn't seem to draw QImage
    By Denarius in forum Qt Programming
    Replies: 7
    Last Post: 3rd March 2009, 14:12

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.