QDesktopWidget *pDesk = QApplication::desktop();
login->move((pDesk->width() - login->width()) / 2, (pDesk->height() - login->height()) / 2);
login->show();
QDesktopWidget *pDesk = QApplication::desktop();
login->move((pDesk->width() - login->width()) / 2, (pDesk->height() - login->height()) / 2);
login->show();