OGS
MeshValueEditDialog.h
Go to the documentation of this file.
1 
15 #pragma once
16 
17 #include "ui_MeshValueEdit.h"
18 
19 #include <QDialog>
20 
21 namespace MeshLib {
22  class Mesh;
23 }
24 
28 class MeshValueEditDialog : public QDialog, private Ui_MeshValueEdit
29 {
30  Q_OBJECT
31 
32 public:
34  explicit MeshValueEditDialog(MeshLib::Mesh* mesh,
35  QDialog* parent = nullptr);
36 
38 
39 private:
41 
42 private slots:
44  void accept() override;
45 
47  void reject() override;
48 
49  void on_replaceButton_toggled(bool isSelected);
50 
51 signals:
53 };
A dialog window for changing the MaterialID for mesh elements.
MeshValueEditDialog(MeshLib::Mesh *mesh, QDialog *parent=nullptr)
Constructor for creating a new FEM condition.
~MeshValueEditDialog() override
void on_replaceButton_toggled(bool isSelected)
void accept() override
Instructions if the OK-Button has been pressed.
void reject() override
Instructions if the Cancel-Button has been pressed.
void valueEditFinished(MeshLib::Mesh *)