【qt】无/有输入简单对话框
参考博客:
bool isOK=0;
QString _IP = QInputDialog::getText(nullptr, "编辑",
"请修改XXX",
QLineEdit::Normal,
"输入框默认文字",
&isOK);