OGS
Layers2GridDialog.h
Go to the documentation of this file.
1
13#pragma once
14
15#include <QDialog>
16#include <QStringListModel>
17#include <string>
18#include <vector>
19
21#include "ui_Layers2Grid.h"
22
23class MeshModel;
24
25/*
26 * \brief A dialog window for calling methods to create a 3D Voxelgrid from
27 * multiple 2D vtu meshes
28 */
29class Layers2GridDialog : public QDialog, private Ui_Layers2Grid
30{
31 Q_OBJECT
32
33public:
34 explicit Layers2GridDialog(MeshModel& mesh_model,
35 QDialog* parent = nullptr);
36
37private:
39 QStringListModel _layeredMeshes;
40 QStringListModel _neglectedMeshes;
41
42private slots:
44 void accept() override;
46 void reject() override { this->done(QDialog::Rejected); };
60};
Definition of ElementErrorCodes.
void reject() override
Instructions if the Cancel-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_deleteMeshButton_pressed()
Instructions if the ">>" button has been pressed.
void accept() override
Instructions if the OK-Button has been pressed.
QStringListModel _neglectedMeshes
void on_orderButton_pressed()
Instructions if the "order mesh"-button has been pressed.
QStringListModel _layeredMeshes
Layers2GridDialog(MeshModel &mesh_model, QDialog *parent=nullptr)
void updateExpectedVoxel()
As the x/y/z input changes an estimation of the expected Voxel is given.