36 this->rasterPathEdit->setEnabled(isChecked);
37 this->ignoreNoDataCheckbox->setEnabled(isChecked);
38 this->noDataValueEdit->setEnabled(isChecked &&
39 !this->ignoreNoDataCheckbox->isChecked());
40 this->rasterSelectButton->setEnabled(isChecked);
41 this->staticValueEdit->setEnabled(!isChecked);
58 if (this->rasterValueButton->isChecked() &&
59 this->rasterPathEdit->text().isEmpty())
64 if (this->rasterValueButton->isChecked() &&
65 !this->ignoreNoDataCheckbox->isChecked() &&
66 this->noDataValueEdit->text().isEmpty())
71 if (this->staticValueButton->isChecked() &&
72 this->staticValueEdit->text().isEmpty())
77 if (this->newNameEdit->text().isEmpty())
79 OGSError::box(
"Please specify a name for the resulting mesh.");
82 if (this->noDataValueEdit->text().isEmpty())
84 this->noDataValueEdit->setText(
"0.0");
87 this->done(QDialog::Accepted);