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