Results 1 to 6 of 6

Thread: Warning: Calling move() inside moveEvent() can lead to infinite recursion

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2007
    Posts
    291
    Thanks
    85
    Thanked 1 Time in 1 Post

    Default Re: Warning: Calling move() inside moveEvent() can lead to infinite recursion

    i read the article and it works because it takes the reference coordinate of its parents(
    else
    move(mapToParent(event->pos() - offset));
    )

    but i have a qscrollarea as my labels parent so i am going for global referencing.

    cant we use move function for positioning the child widgets using global reference system.

  2. #2
    Join Date
    Nov 2007
    Posts
    291
    Thanks
    85
    Thanked 1 Time in 1 Post

    Default Re: Warning: Calling move() inside moveEvent() can lead to infinite recursion

    oh thanks it works actually there was a mix between the global and parent coordinates.

Similar Threads

  1. Problem at time compilation in traslation of language
    By thomasjoy in forum Qt Programming
    Replies: 3
    Last Post: 22nd May 2007, 14:18
  2. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23

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.