OGS
|
A dialog window for adding a layer to the top or bottom of a mesh.
Definition at line 25 of file AddLayerToMeshDialog.h.
#include <AddLayerToMeshDialog.h>
Public Member Functions | |
AddLayerToMeshDialog (QDialog *parent=nullptr) | |
bool | isTopLayer () const |
Returns if the top layer button is selected (if false, bottom is selected). | |
double | getThickness () const |
Returns the thickness of the new layer. | |
std::string | getName () const |
Returns the name of the new mesh. | |
Private Slots | |
void | accept () override |
Instructions if the OK-Button has been pressed. | |
void | reject () override |
Instructions if the Cancel-Button has been pressed. | |
|
explicit |
Definition at line 20 of file AddLayerToMeshDialog.cpp.
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 28 of file AddLayerToMeshDialog.cpp.
References OGSError::box().
|
inline |
Returns the name of the new mesh.
Definition at line 39 of file AddLayerToMeshDialog.h.
Referenced by MeshView::openAddLayerDialog().
|
inline |
Returns the thickness of the new layer.
Definition at line 36 of file AddLayerToMeshDialog.h.
Referenced by MeshView::openAddLayerDialog().
|
inline |
Returns if the top layer button is selected (if false, bottom is selected).
Definition at line 33 of file AddLayerToMeshDialog.h.
Referenced by MeshView::openAddLayerDialog().
|
overrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 45 of file AddLayerToMeshDialog.cpp.