A dialog window for creating DIRECT boundary conditions from raster files.
Definition at line 29 of file GeoOnMeshMappingDialog.h.
#include <GeoOnMeshMappingDialog.h>
◆ GeoOnMeshMappingDialog()
GeoOnMeshMappingDialog::GeoOnMeshMappingDialog |
( |
std::vector< std::unique_ptr< MeshLib::Mesh >> const & |
mesh_vec, |
|
|
QDialog * |
parent = nullptr |
|
) |
| |
|
explicit |
Definition at line 20 of file GeoOnMeshMappingDialog.cpp.
27 for (
const auto& mesh : mesh_vec)
29 this->meshNameComboBox->addItem(
30 QString::fromStdString(mesh->getName()));
std::string _new_geo_name
◆ ~GeoOnMeshMappingDialog()
GeoOnMeshMappingDialog::~GeoOnMeshMappingDialog |
( |
| ) |
|
|
overridedefault |
◆ accept()
void GeoOnMeshMappingDialog::accept |
( |
| ) |
|
|
overrideprivate |
◆ getDataSetChoice()
int GeoOnMeshMappingDialog::getDataSetChoice |
( |
| ) |
const |
◆ getNewGeoName()
std::string const& GeoOnMeshMappingDialog::getNewGeoName |
( |
| ) |
const |
|
inline |
◆ on_advancedMappingButton_toggled
void GeoOnMeshMappingDialog::on_advancedMappingButton_toggled |
( |
bool |
isSelected | ) |
|
|
inlineprivateslot |
◆ on_meshNameComboBox_currentIndexChanged()
void GeoOnMeshMappingDialog::on_meshNameComboBox_currentIndexChanged |
( |
int |
idx | ) |
|
|
private |
Definition at line 41 of file GeoOnMeshMappingDialog.cpp.
45 this->normalMappingButton->setChecked(
true);
48 bool is_enabled(idx != 1);
49 this->normalMappingButton->setEnabled(is_enabled);
50 this->advancedMappingButton->setEnabled(is_enabled);
51 this->geoNameEdit->setEnabled(is_enabled &&
52 this->advancedMappingButton->isChecked());
◆ reject()
void GeoOnMeshMappingDialog::reject |
( |
| ) |
|
|
inlineoverrideprivate |
Instructions if the Cancel-Button has been pressed.
Definition at line 54 of file GeoOnMeshMappingDialog.h.
54 { this->done(QDialog::Rejected); };
◆ _new_geo_name
std::string GeoOnMeshMappingDialog::_new_geo_name |
|
private |
The documentation for this class was generated from the following files: