OGS
CondFromRasterDialog.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_CondFromRaster.h"
7#include <QDialog>
8
9namespace MeshLib {
10 class Mesh;
11}
12
14
18class CondFromRasterDialog : public QDialog, private Ui_CondFromRaster
19{
20 Q_OBJECT
21
22public:
23 explicit CondFromRasterDialog(std::vector<MeshLib::Mesh*> msh_vec,
24 QDialog* parent = nullptr);
25 ~CondFromRasterDialog() override;
26
27private:
28 const std::vector<MeshLib::Mesh*> _msh_vec;
30
31private slots:
32 void on_integrateButton_toggled(bool isSelected);
34
36 void accept() override;
37
39 void reject() override;
40
41signals:
42 void directNodesWritten(std::string);
43 void transmitDisValues(std::vector< std::pair<std::size_t,double> >);
44};
void accept() override
Instructions if the OK-Button has been pressed.
StrictDoubleValidator * _scale_validator
void reject() override
Instructions if the Cancel-Button has been pressed.
void transmitDisValues(std::vector< std::pair< std::size_t, double > >)
CondFromRasterDialog(std::vector< MeshLib::Mesh * > msh_vec, QDialog *parent=nullptr)
void on_integrateButton_toggled(bool isSelected)
void directNodesWritten(std::string)
const std::vector< MeshLib::Mesh * > _msh_vec
A validator for an input field which only accepts decimals. Source code adapted from StackOverflow