OGS
SaveMeshDialog.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "ui_SaveMesh.h"
18#include <QDialog>
19
20namespace MeshLib {
21 class Mesh;
22}
23
27class SaveMeshDialog : public QDialog, private Ui_SaveMesh
28{
29 Q_OBJECT
30
31public:
32 explicit SaveMeshDialog(MeshLib::Mesh const& mesh,
33 QDialog* parent = nullptr);
34 ~SaveMeshDialog() override = default;
35
36private slots:
39
41
43 void accept() override;
44
46 void reject() override { this->done(QDialog::Rejected); };
47
48private:
50
51};
A dialog window for managing properties for writing meshes to files.
void accept() override
Instructions if the OK-Button has been pressed.
void reject() override
Instructions if the Cancel-Button has been pressed.
void on_dataModeBox_currentIndexChanged(int index)
~SaveMeshDialog() override=default
void on_selectDirButton_clicked()
Selection of path to save file.
SaveMeshDialog(MeshLib::Mesh const &mesh, QDialog *parent=nullptr)
MeshLib::Mesh const & _mesh