How to make a widget in the center of the screen in PySide/PyQt?
self.move(QDesktopWidget().availableGeometry().center() - self.frameGeometry().center())
just add this line to your main windows :
self.move(QtGui.QApplication.desktop().screen().rect().center()- self.rect().center())