对于像QInputDialog这样的内置对话框,我读到可以做到这一点: text, ok = QtGui.QInputDialog.getText(self, 'Input Dialog', 'Enter your name:').
確定! 回上一頁