OGS
|
A dialog window for managing properties for writing meshes to files.
Definition at line 27 of file SaveMeshDialog.h.
#include <SaveMeshDialog.h>
Public Member Functions | |
SaveMeshDialog (MeshLib::Mesh const &mesh, QDialog *parent=nullptr) | |
~SaveMeshDialog () override=default | |
Private Slots | |
void | on_selectDirButton_clicked () |
Selection of path to save file. | |
void | on_dataModeBox_currentIndexChanged (int index) |
void | accept () override |
Instructions if the OK-Button has been pressed. | |
void | reject () override |
Instructions if the Cancel-Button has been pressed. | |
Private Attributes | |
MeshLib::Mesh const & | _mesh |
|
explicit |
Definition at line 26 of file SaveMeshDialog.cpp.
References _mesh, LastSavedFileDirectory::getDir(), and MeshLib::Mesh::getName().
|
overridedefault |
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 71 of file SaveMeshDialog.cpp.
References _mesh, OGSError::box(), LastSavedFileDirectory::setDir(), MeshLib::IO::Legacy::MeshIO::setMesh(), BaseLib::IO::writeStringToFile(), MeshLib::IO::VtuInterface::writeToFile(), and BaseLib::IO::Writer::writeToString().
|
privateslot |
Definition at line 55 of file SaveMeshDialog.cpp.
|
privateslot |
Selection of path to save file.
Definition at line 35 of file SaveMeshDialog.cpp.
References _mesh, LastSavedFileDirectory::getDir(), and MeshLib::Mesh::getName().
|
inlineoverrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 46 of file SaveMeshDialog.h.
|
private |
Definition at line 49 of file SaveMeshDialog.h.
Referenced by SaveMeshDialog(), accept(), and on_selectDirButton_clicked().