这个示例有一个按钮和一个输入框,点击按钮显示对话框,输入的文本会显示在输入框里。 text, ok = QInputDialog.getText(self, 'Input Dialog', ' ...
確定! 回上一頁