📅  最后修改于: 2022-03-11 14:45:05.539000             🧑  作者: Mango
name, result = QtWidgets.QInputDialog.getText(MainWindow, "Name of the Team",
"Enter the name of your team:")
# Put this code inside a function and connect it to any signal.