Results 1 to 1 of 1

Thread: Move function for widget won't works in QGraphicsScene

  1. #1
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: Move function for widget won't works in QGraphicsScene

    Hi all.
    I have a QgraphicsScene and i've use widget by addWidget. When i use widget.move(x,y) it won't work at all :S


    Added after 33 minutes:


    I used ScenePos(x,y) and it works fine! thanks!
    Last edited by alizadeh91; 3rd March 2012 at 09:43.

Similar Threads

  1. How can I move a QWidget across a QGraphicsScene
    By Maduka in forum Qt Programming
    Replies: 0
    Last Post: 8th November 2011, 12:40
  2. Replies: 1
    Last Post: 27th September 2011, 07:08
  3. How QGraphicsScene::setSceneRect exactly works?
    By rippa in forum Qt Programming
    Replies: 1
    Last Post: 10th September 2011, 22:53
  4. Replies: 1
    Last Post: 22nd October 2010, 13:28
  5. Is there a move file to function ?
    By _SamSoft_ in forum Qt Programming
    Replies: 2
    Last Post: 4th June 2007, 19:32

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.