OGS
|
A dialog window for setting preferences for GMSH.
Definition at line 30 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 23 of file MergeGeometriesDialog.cpp.
References _allGeo, _geo_objects, _selGeo, GeoLib::GEOObjects::getGeometryNames(), GeoLib::GEOObjects::getStationVectorNames(), and GeoLib::GEOObjects::isUniquePointVecName().
|
override |
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 103 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 130 of file MergeGeometriesDialog.cpp.
Referenced by MainWindow::showMergeGeometriesDialog().
std::vector< std::string > MergeGeometriesDialog::getSelectedGeometries | ( | ) | const |
Returns a vector of selected geometries.
Definition at line 121 of file MergeGeometriesDialog.cpp.
References _selGeo.
Referenced by MainWindow::showMergeGeometriesDialog().
|
privateslot |
Definition at line 88 of file MergeGeometriesDialog.cpp.
|
privateslot |
Definition at line 73 of file MergeGeometriesDialog.cpp.
|
overrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 116 of file MergeGeometriesDialog.cpp.
|
private |
Definition at line 47 of file MergeGeometriesDialog.h.
Referenced by MergeGeometriesDialog(), ~MergeGeometriesDialog(), on_deselectGeoButton_pressed(), and on_selectGeoButton_pressed().
|
private |
Definition at line 46 of file MergeGeometriesDialog.h.
Referenced by MergeGeometriesDialog().
|
private |
Definition at line 48 of file MergeGeometriesDialog.h.
Referenced by MergeGeometriesDialog(), ~MergeGeometriesDialog(), accept(), getSelectedGeometries(), on_deselectGeoButton_pressed(), and on_selectGeoButton_pressed().