OGS
GeoOnMeshMappingDialog.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "ui_GeoOnMeshMapping.h"
18#include <QDialog>
19
21
22namespace MeshLib {
23 class Mesh;
24}
25
29class GeoOnMeshMappingDialog : public QDialog, private Ui_GeoOnMeshMapping
30{
31 Q_OBJECT
32
33public:
35 std::vector<std::unique_ptr<MeshLib::Mesh>> const& mesh_vec,
36 QDialog* parent = nullptr);
38
39 std::string const& getNewGeoName() const { return _new_geo_name; };
40 int getDataSetChoice() const;
41
42private:
43 std::string _new_geo_name;
44
45private slots:
46 void on_advancedMappingButton_toggled(bool isSelected) { this->geoNameEdit->setEnabled(isSelected); };
47
49
51 void accept() override;
52
54 void reject() override { this->done(QDialog::Rejected); };
55};
Definition of the GeoMapper class.
A dialog window for creating DIRECT boundary conditions from raster files.
void reject() override
Instructions if the Cancel-Button has been pressed.
void on_meshNameComboBox_currentIndexChanged(int idx)
GeoOnMeshMappingDialog(std::vector< std::unique_ptr< MeshLib::Mesh > > const &mesh_vec, QDialog *parent=nullptr)
~GeoOnMeshMappingDialog() override
void accept() override
Instructions if the OK-Button has been pressed.
void on_advancedMappingButton_toggled(bool isSelected)
std::string const & getNewGeoName() const