OGS
SaveMeshDialog.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include "ui_SaveMesh.h"
7#include <QDialog>
8
9namespace MeshLib {
10 class Mesh;
11}
12
16class SaveMeshDialog : public QDialog, private Ui_SaveMesh
17{
18 Q_OBJECT
19
20public:
21 explicit SaveMeshDialog(MeshLib::Mesh const& mesh,
22 QDialog* parent = nullptr);
23 ~SaveMeshDialog() override = default;
24
25private slots:
28
30
32 void accept() override;
33
35 void reject() override { this->done(QDialog::Rejected); };
36
37private:
39
40};
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