| 51 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 52 | 
   | 
 void BGImagePage3::on_leLevelId_textChanged(const QString &arg1) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 53 | 
   | 
 { | 
 
 
 
 
 
 
 
 
 
 
 
 | 54 | 
 < | 
     if(!arg1.isEmpty() && !Util::isStringInteger(arg1)){ | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 55 | 
 < | 
         Util::showErrorPopUp("Level id must be a number."); | 
 
 
 
 
 
 
 
 
 
 | 54 | 
 > | 
     if(!arg1.isEmpty() && !Util::Validation::isStringInteger(arg1)){ | 
 
 
 
 
 
 | 55 | 
 > | 
         Util::Dialogs::showError("Level id must be a number."); | 
 
 
 
 
 
 
 
 
 
 
 
 | 56 | 
   | 
         ui->leLevelId->clear(); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 57 | 
   | 
         return; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 58 | 
   | 
     } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 135 | 
   | 
     QStringList namesList; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 136 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 137 | 
   | 
     if(ui->leImageName->text().trimmed().isEmpty()){ | 
 
 
 
 
 
 
 
 
 
 
 
 | 138 | 
 < | 
         Util::showErrorPopUp("You need to input a name to the image!"); | 
 
 
 
 
 
 
 
 
 
 | 138 | 
 > | 
         Util::Dialogs::showError("You need to input a name to the image!"); | 
 
 
 
 
 
 
 
 
 
 
 
 | 139 | 
   | 
         return false; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 140 | 
   | 
     } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 141 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 142 | 
   | 
     if(ui->cbCreateTXMB->isChecked() && ui->leTXMBName->text().trimmed().isEmpty()){ | 
 
 
 
 
 
 
 
 
 
 
 
 | 143 | 
 < | 
         Util::showErrorPopUp("You need to input a name to the TXMB file!"); | 
 
 
 
 
 
 
 
 
 
 | 143 | 
 > | 
         Util::Dialogs::showError("You need to input a name to the TXMB file!"); | 
 
 
 
 
 
 
 
 
 
 
 
 | 144 | 
   | 
         return false; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 145 | 
   | 
     } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 146 | 
   | 
  |