Results 1 to 9 of 9

Thread: drawing errors

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: drawing errors

    I've prepared the project:
    qtguierror.zip
    Press the buttons to animate
    That is awful..
    Last edited by Dp0H; 28th February 2012 at 06:34.

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

    Default Re: drawing errors

    I don't have time to test everything right now but from skeeming your code I can say your setRect() implementation is somewhat incorrect (it shouldn't influence the primary problem though).

    setPos() should be expressed in the coordinate space of the parent item, so putting it in the same call as setting bounding rect for the item might be confusing for the user.

    As for the main problem I'm guessing it all have to do with inability to express every fractional number in the datatype used. Increase your scaling and all should be fine.
    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.


Similar Threads

  1. Qt errors?
    By nthung in forum Newbie
    Replies: 1
    Last Post: 16th October 2011, 21:33
  2. errors
    By manu in forum Newbie
    Replies: 4
    Last Post: 16th June 2008, 11:29
  3. Errors
    By hgedek in forum Newbie
    Replies: 7
    Last Post: 25th November 2007, 23:21
  4. Example with errors
    By fahmi in forum Qt Programming
    Replies: 1
    Last Post: 29th July 2007, 01:37
  5. Replies: 4
    Last Post: 17th January 2006, 17:46

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.