28 |
|
ui->leMinAngle->text() << ui->leMaxAngle->text() << ui->leMinAttenuation->text() << |
29 |
|
ui->leImpactVelocity->text() << ui->leMinOcclusion->text(); |
30 |
|
|
31 |
< |
if(Util::checkEmptySpaces(leContents)){ |
32 |
< |
Util::showErrorPopUp("Please fill all fields first!"); |
31 |
> |
if(Util::Validation::checkEmptySpaces(leContents)){ |
32 |
> |
Util::Dialogs::showError("Please fill all fields first!"); |
33 |
|
return false; |
34 |
|
} |
35 |
|
|
36 |
< |
if(Util::checkIfDoubles(leContents)){ |
37 |
< |
Util::showErrorPopUp("All fields must contains numbers!"); |
36 |
> |
if(Util::Validation::checkIfDoubles(leContents)){ |
37 |
> |
Util::Dialogs::showError("All fields must contains numbers!"); |
38 |
|
return false; |
39 |
|
} |
40 |
|
|