OGS
CreateStructuredGridDialog.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "ui_CreateStructuredGrid.h"
18#include <QDialog>
19
20#include "MeshLib/Mesh.h"
21
25class CreateStructuredGridDialog : public QDialog, private Ui_CreateStructuredGrid
26{
27 Q_OBJECT
28
29public:
30 explicit CreateStructuredGridDialog(QDialog* parent = nullptr);
31
32private slots:
33 void on_lineButton_toggled() const;
40
42 void accept() override;
43
45 void reject() override { this->done(QDialog::Rejected); };
46
47private:
48 void enable2dWidgets() const;
49 void enable3dWidgets() const;
50 void setValidators();
51
53 bool inputIsEmpty() const;
54
55signals:
57};
Definition of the Mesh class.
A dialog window for managing general Data Explorer settings.
void accept() override
Instructions if the OK-Button has been pressed.
CreateStructuredGridDialog(QDialog *parent=nullptr)
void meshAdded(MeshLib::Mesh *mesh)
bool inputIsEmpty() const
Checks if all necessary inputs have been specified.
void reject() override
Instructions if the Cancel-Button has been pressed.