OGS
AddFaultsToVoxelGridDialog.h
Go to the documentation of this file.
1
14#pragma once
15
16#include <QDialog>
17#include <QStringListModel>
18#include <memory>
19
21#include "ui_AddFaultsToVoxelGrid.h"
22
23class MeshModel;
24
25/*
26 * \brief A dialog window for calling methods to include one or multiple
27 * faults in a 3D voxelgrid.
28 */
29class AddFaultsToVoxelGridDialog : public QDialog,
30 private Ui_AddFaultsToVoxelGrid
31{
32 Q_OBJECT
33
34public:
35 explicit AddFaultsToVoxelGridDialog(MeshModel& mesh_model,
36 QDialog* parent = nullptr);
37
38private:
40 QStringListModel _voxelGrids;
41 QStringListModel _meshes2D;
42 QStringListModel _selFaults;
43
44private slots:
46 void accept() override;
48 void reject() override { this->done(QDialog::Rejected); };
53};
Definition of ElementErrorCodes.
AddFaultsToVoxelGridDialog(MeshModel &mesh_model, QDialog *parent=nullptr)
void on_selectDataButton_pressed()
Instructions if the ">>-button" has been pressed.
void reject() override
Instructions if the Cancel-Button has been pressed.
void accept() override
Instructions if the OK-Button has been pressed.
void on_deselectDataButton_pressed()
Instructions if the "<<-button" has been pressed.