Hey trolltechs,

Here is a piece of code

Qt Code:
  1. QPoint point = mClientView->.mapToGlobal(QPoint(0,0));
  2.  
  3. mNewAccountView.move(point.x() - mNewAccountView.width() - 18, point.y());
  4.  
  5. mNewAccountView.setFixedWidth(200);
  6.  
  7. mNewAccountView.setWidget(mNewMasterWidget);
  8.  
  9. mNewAccountView.show();
  10.  
  11. mNewAccountView.update();
To copy to clipboard, switch view to plain text mode 



As you can see I'm moving a widget and then setting it visible.

Even after show and update call, the window won't move to the new location, just as if it wasn't repaint.


Is there an instant move function method ?



Thanks.

Mr AreNow.