PYQT5(三十三)输入对话框

    QID = QInputDialog()
    QID.setGeometry(int((screen.width() - size.width()) / 2),
                    int((screen.height() - size.height())) / 2, 200, 200)
    text, ok = QID.getText(self.window, '输入', '标题')

你可能感兴趣的:(PYQT5(三十三)输入对话框)