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