OGS
GMSHPrefsDialog.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "ui_GMSHPrefs.h"
18#include <QDialog>
19
20class QStringListModel;
21
22namespace GeoLib
23{
24class GEOObjects;
25}
26
30class GMSHPrefsDialog : public QDialog, private Ui_GMSHPrefs
31{
32 Q_OBJECT
33
34public:
35 explicit GMSHPrefsDialog(GeoLib::GEOObjects const& geoObjects,
36 QDialog* parent = nullptr);
37 ~GMSHPrefsDialog() override;
38
39private:
40 std::vector<std::string> getSelectedObjects(QStringList list);
41
42 QStringListModel* _allGeo;
43 QStringListModel* _selGeo;
44
45private slots:
48 void on_radioAdaptive_toggled(bool isTrue);
49
51 void accept() override;
52
54 void reject() override;
55
56signals:
57 void requestMeshing(std::vector<std::string> &, unsigned, double, double, double, bool);
58};
A dialog window for setting preferences for GMSH.
void on_selectGeoButton_pressed()
std::vector< std::string > getSelectedObjects(QStringList list)
void reject() override
Instructions if the Cancel-Button has been pressed.
void on_radioAdaptive_toggled(bool isTrue)
QStringListModel * _selGeo
QStringListModel * _allGeo
GMSHPrefsDialog(GeoLib::GEOObjects const &geoObjects, QDialog *parent=nullptr)
void accept() override
Instructions if the OK-Button has been pressed.
~GMSHPrefsDialog() override
void on_deselectGeoButton_pressed()
void requestMeshing(std::vector< std::string > &, unsigned, double, double, double, bool)
Container class for geometric objects.
Definition GEOObjects.h:57