29 this->rasterPathEdit->setEnabled(isChecked);
30 this->ignoreNoDataCheckbox->setEnabled(isChecked);
31 this->noDataValueEdit->setEnabled(isChecked &&
32 !this->ignoreNoDataCheckbox->isChecked());
33 this->rasterSelectButton->setEnabled(isChecked);
34 this->staticValueEdit->setEnabled(!isChecked);
51 if (this->rasterValueButton->isChecked() &&
52 this->rasterPathEdit->text().isEmpty())
57 if (this->rasterValueButton->isChecked() &&
58 !this->ignoreNoDataCheckbox->isChecked() &&
59 this->noDataValueEdit->text().isEmpty())
64 if (this->staticValueButton->isChecked() &&
65 this->staticValueEdit->text().isEmpty())
70 if (this->newNameEdit->text().isEmpty())
72 OGSError::box(
"Please specify a name for the resulting mesh.");
75 if (this->noDataValueEdit->text().isEmpty())
77 this->noDataValueEdit->setText(
"0.0");
80 this->done(QDialog::Accepted);