17#include "ui_AddLayerToMesh.h"
33 bool isTopLayer()
const {
return this->topButton->isChecked(); };
36 double getThickness()
const {
return this->thicknessEdit->text().toDouble(); };
39 std::string
getName()
const {
return this->nameEdit->text().toStdString(); };
A dialog window for adding a layer to the top or bottom of a mesh.
void accept() override
Instructions if the OK-Button has been pressed.
std::string getName() const
Returns the name of the new mesh.
bool isTopLayer() const
Returns if the top layer button is selected (if false, bottom is selected).
AddLayerToMeshDialog(QDialog *parent=nullptr)
double getThickness() const
Returns the thickness of the new layer.
void reject() override
Instructions if the Cancel-Button has been pressed.