窗口居中:
adjustSize();
move((availableGeometry.width() - width()) / 2, (availableGeometry.height() - height()) / 2);满放子窗口: setCentralWidget输入对话框: QInputDialog