OGS
|
Definition at line 29 of file Layers2GridDialog.h.
#include <Layers2GridDialog.h>
Public Member Functions | |
Layers2GridDialog (MeshModel &mesh_model, QDialog *parent=nullptr) | |
Private Slots | |
void | accept () override |
Instructions if the OK-Button has been pressed. | |
void | reject () override |
Instructions if the Cancel-Button has been pressed. | |
Private Member Functions | |
void | on_deleteMeshButton_pressed () |
Instructions if the ">>" button has been pressed. | |
void | on_upOrderButton_pressed () |
Instructions if the "↑"-button has been pressed. | |
void | on_downOrderButton_pressed () |
Instructions if the "↓"-button has been pressed. | |
void | on_orderButton_pressed () |
Instructions if the "order mesh"-button has been pressed. | |
void | updateExpectedVoxel () |
As the x/y/z input changes an estimation of the expected Voxel is given. | |
void | on_xlineEdit_textChanged () |
void | on_ylineEdit_textChanged () |
void | on_zlineEdit_textChanged () |
Private Attributes | |
MeshModel & | _mesh_model |
QStringListModel | _layeredMeshes |
QStringListModel | _neglectedMeshes |
|
explicit |
Definition at line 27 of file Layers2GridDialog.cpp.
References _layeredMeshes, MeshModel::getMesh(), TreeModel::index(), and TreeModel::rowCount().
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 157 of file Layers2GridDialog.cpp.
References _layeredMeshes, _mesh_model, MeshModel::addMesh(), OGSError::box(), MeshModel::getMesh(), and Utils::getSelectedObjects().
|
private |
Instructions if the ">>" button has been pressed.
Definition at line 52 of file Layers2GridDialog.cpp.
References _layeredMeshes.
|
private |
Instructions if the "↓"-button has been pressed.
Definition at line 82 of file Layers2GridDialog.cpp.
References _layeredMeshes.
|
private |
Instructions if the "order mesh"-button has been pressed.
Definition at line 61 of file Layers2GridDialog.cpp.
References _layeredMeshes.
|
private |
Instructions if the "↑"-button has been pressed.
Definition at line 66 of file Layers2GridDialog.cpp.
References _layeredMeshes.
|
private |
Definition at line 142 of file Layers2GridDialog.cpp.
References updateExpectedVoxel().
|
private |
Definition at line 147 of file Layers2GridDialog.cpp.
References updateExpectedVoxel().
|
private |
Definition at line 152 of file Layers2GridDialog.cpp.
References updateExpectedVoxel().
|
inlineoverrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 46 of file Layers2GridDialog.h.
|
private |
As the x/y/z input changes an estimation of the expected Voxel is given.
Definition at line 98 of file Layers2GridDialog.cpp.
References _layeredMeshes, _mesh_model, GeoLib::AABB::getMaxPoint(), MeshModel::getMesh(), GeoLib::AABB::getMinPoint(), MeshLib::Mesh::getNodes(), and Utils::getSelectedObjects().
Referenced by on_xlineEdit_textChanged(), on_ylineEdit_textChanged(), and on_zlineEdit_textChanged().
|
private |
Definition at line 39 of file Layers2GridDialog.h.
Referenced by Layers2GridDialog(), accept(), on_deleteMeshButton_pressed(), on_downOrderButton_pressed(), on_orderButton_pressed(), on_upOrderButton_pressed(), and updateExpectedVoxel().
|
private |
Definition at line 38 of file Layers2GridDialog.h.
Referenced by accept(), and updateExpectedVoxel().
|
private |
Definition at line 40 of file Layers2GridDialog.h.