QID = QInputDialog()
QID.setGeometry(int((screen.width() - size.width()) / 2),
int((screen.height() - size.height())) / 2, 200, 200)
text, ok = QID.getText(self.window, '输入', '标题')
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(三十三)输入对话框
本文链接:https://www.haomeiwen.com/subject/xpgvjqtx.html
网友评论