Results 1 to 16 of 16

Thread: A Object inheriting from QGraphicsLineItem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Location
    Valencia (Spain)
    Posts
    245
    Qt products
    Qt4
    Platforms
    Symbian S60
    Thanks
    38
    Thanked 19 Times in 19 Posts

    Default Re: A Object inheriting from QGraphicsLineItem

    it's just an example that happens sometimes... the code is quite extended and the problem should be hidden somewhere (please note the item come into another items sometimes, they change their parents and are saved and loaded few times... so just "paste" the problematic code seems impossible to me). I'd like to know if this is normal or, as I suppose, it has no sense at all (so I'll start to dive and find the problem).

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

    Default Re: A Object inheriting from QGraphicsLineItem

    I can't say if something is normal or not if I don't know what you did It seems you are overcomplicating things somewhat but that is just an impression, I can't be certain without seeing what you did.
    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.


  3. #3
    Join Date
    Apr 2009
    Location
    Valencia (Spain)
    Posts
    245
    Qt products
    Qt4
    Platforms
    Symbian S60
    Thanks
    38
    Thanked 19 Times in 19 Posts

    Default Re: A Object inheriting from QGraphicsLineItem

    I'm more than 200% sure I'm overcomplicating things :P I'm very good on that! ^^

    Anyway, now it works... cheating a little bit (forcing coordinates in other functions) but it works; the point seems to be that I don't really understand how the scene system coordinates work, and this is something out of the scope of the forum; I'll find a tutorial somewhere.

    thanks!!

Similar Threads

  1. Getting std::string object from QString object ( qt3)
    By joseph in forum Qt Programming
    Replies: 11
    Last Post: 28th March 2013, 20:09
  2. Replies: 4
    Last Post: 19th February 2009, 11:10
  3. Help with Q_PROPERTY with object pointer
    By lni in forum Qt Programming
    Replies: 1
    Last Post: 16th January 2009, 17:31
  4. A form returning an object.
    By cbarmpar in forum Qt Programming
    Replies: 3
    Last Post: 8th September 2008, 05:21
  5. Open a QMainWindow Object in QDialog Object
    By chuengchuenghq in forum Qt Programming
    Replies: 1
    Last Post: 13th June 2008, 06:33

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.