Results 1 to 2 of 2

Thread: What's the difference? (QLineF, pos, setPoints())

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: What's the difference? (QLineF, pos, setPoints())

    QGraphicsLineItem::line() doesn't return a pointer/reference with which you could change the coordinates of the QGraphicsLineItem. It only returns a copy. So all changes you are made are lost.

  2. The following user says thank you to Lykurg for this useful post:

    jano_alex_es (28th October 2009)

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.