QInputDialog

class PyQt5.QtWidgets.QInputDialog

C++ documentation