Path: blob/devel/ElmerGUI/Application/src/newprojectdialog.h
3203 views
/*****************************************************************************1* *2* Elmer, A Finite Element Software for Multiphysical Problems *3* *4* Copyright 1st April 1995 - , CSC - IT Center for Science Ltd., Finland *5* *6* This program is free software; you can redistribute it and/or *7* modify it under the terms of the GNU General Public License *8* as published by the Free Software Foundation; either version 2 *9* of the License, or (at your option) any later version. *10* *11* This program is distributed in the hope that it will be useful, *12* but WITHOUT ANY WARRANTY; without even the implied warranty of *13* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *14* GNU General Public License for more details. *15* *16* You should have received a copy of the GNU General Public License *17* along with this program (in file fem/GPL-2); if not, write to the *18* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, *19* Boston, MA 02110-1301, USA. *20* *21*****************************************************************************/2223/*****************************************************************************24* *25* ElmerGUI newproject *26* *27*****************************************************************************28* *29* Author: Saeki Takayuki *30* Original Date: 15 Feb 2020 *31* *32*****************************************************************************/3334#ifndef NEWPROJECTDIALOG_H35#define NEWPROJECTDIALOG_H3637#include <QWidget>38#include "ui_newproject.h"3940class NewProjectDialog : public QDialog41{42Q_OBJECT4344public:45NewProjectDialog(QWidget *parent = 0);46~NewProjectDialog();4748Ui::newProjectDialog ui;4950void setDirectories(QString& deaultDir, QString& extraDir);5152signals:5354private slots:55void elmerMeshToggled(bool);56void geometryFileToggled(bool);57void laterToggled(bool);58void projectDirClicked(bool);59void meshDirClicked(bool);60void geometryFileClicked(bool);61void addSolverClicked(bool);62void removeSolverClicked(bool);63void selectedSolverChanged(int);64void unselectedSolverChanged(int);6566private:67QString defaultDirName;68QString extraDirPath;69bool isEdfFile(QString);70};7172#endif // NEWPROJECTDIALOG_H737475