![]() |
OGS
|
|
A dialog window for setting preferences for GMSH.
Definition at line 19 of file MergeGeometriesDialog.h.
#include <MergeGeometriesDialog.h>
Public Member Functions | |
| MergeGeometriesDialog (GeoLib::GEOObjects &geoObjects, QDialog *parent=nullptr) | |
| ~MergeGeometriesDialog () override | |
| std::vector< std::string > | getSelectedGeometries () const |
| Returns a vector of selected geometries. | |
| std::string | getGeometryName () const |
| Returns the name of the new merged geometry. | |
Private Slots | |
| void | on_selectGeoButton_pressed () |
| void | on_deselectGeoButton_pressed () |
| void | accept () override |
| Instructions if the OK-Button has been pressed. | |
| void | reject () override |
| Instructions if the Cancel-Button has been pressed. | |
Private Attributes | |
| GeoLib::GEOObjects & | _geo_objects |
| QStringListModel * | _allGeo |
| QStringListModel * | _selGeo |
|
explicit |
Definition at line 12 of file MergeGeometriesDialog.cpp.
References _allGeo, _geo_objects, and _selGeo.
|
override |
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 92 of file MergeGeometriesDialog.cpp.
References _selGeo, and OGSError::box().
| std::string MergeGeometriesDialog::getGeometryName | ( | ) | const |
Returns the name of the new merged geometry.
Definition at line 119 of file MergeGeometriesDialog.cpp.
Referenced by MainWindow::showMergeGeometriesDialog().
| std::vector< std::string > MergeGeometriesDialog::getSelectedGeometries | ( | ) | const |
Returns a vector of selected geometries.
Definition at line 110 of file MergeGeometriesDialog.cpp.
References _selGeo.
Referenced by MainWindow::showMergeGeometriesDialog().
|
privateslot |
Definition at line 77 of file MergeGeometriesDialog.cpp.
|
privateslot |
Definition at line 62 of file MergeGeometriesDialog.cpp.
|
overrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 105 of file MergeGeometriesDialog.cpp.
|
private |
Definition at line 36 of file MergeGeometriesDialog.h.
Referenced by MergeGeometriesDialog(), ~MergeGeometriesDialog(), on_deselectGeoButton_pressed(), and on_selectGeoButton_pressed().
|
private |
Definition at line 35 of file MergeGeometriesDialog.h.
Referenced by MergeGeometriesDialog().
|
private |
Definition at line 37 of file MergeGeometriesDialog.h.
Referenced by MergeGeometriesDialog(), ~MergeGeometriesDialog(), accept(), getSelectedGeometries(), on_deselectGeoButton_pressed(), and on_selectGeoButton_pressed().