PDA

View Full Version : Initial Dialog Position



nleverin
15th July 2007, 08:47
Hi,

Does anyone know how to set the initial starting position of my QMainWindow dialog.

I have looked at the api within the QMainWindow and QWidget and found no setX or setY functions to set the position it will appear once instantiated. (i.e. w.r.t my screen)

thanks in advance

nlev.

Burgpflanze
15th July 2007, 10:19
Found in the documentation:
QWidget::move( const QPoint & );
QWidget::move( int x, int y );