添加头文件

#include <QMessageBox>
if(ui->lineEditXStart->text().isEmpty()) //判断lineedit输入内容是否为空
    {
        QMessageBox::information(this,tr("Error"),QStringLiteral("请输入相机参数"),QMessageBox::Ok);
        return;

    }

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2021-05-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
  • 2022-01-18
  • 2022-02-19
相关资源
相似解决方案