text, ok = QInputDialog.getText(self, 'input dialog', 'Is this ok?') The dialog box returns the entered text and a Boolean value. If you click ...
確定! 回上一頁