sudhansu
4th February 2010, 05:25
Hi All
i've a dialog of size 401,431. I want to display it in the centre of my screen. But its showing at different position in different systems. (may be because of the different resolution ). How to achive it.
in constructor, I did like
this->move(QApplication::desktop()->screenGeometry().center());
But its not working.
Plz help.
i've a dialog of size 401,431. I want to display it in the centre of my screen. But its showing at different position in different systems. (may be because of the different resolution ). How to achive it.
in constructor, I did like
this->move(QApplication::desktop()->screenGeometry().center());
But its not working.
Plz help.