FFSM++ 1.1.0
French Forest Sector Model ++
Loading...
Searching...
No Matches
ScenarioSelectionWidget.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2015 by Laboratoire d'Economie Forestière *
3 * http://ffsm-project.org *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 3 of the License, or *
8 * (at your option) any later version, given the compliance with the *
9 * exceptions listed in the file COPYING that is distribued together *
10 * with this file. *
11 * *
12 * This program is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License *
18 * along with this program; if not, write to the *
19 * Free Software Foundation, Inc., *
20 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21 ***************************************************************************/
22#ifndef SCENARIOSELECTIONWIDGET_H
23#define SCENARIOSELECTIONWIDGET_H
24
25#include <QDialog>
26#include <QLabel>
27#include <QComboBox>
28//#include <QtGui>
29
30class QComboBox;
31
32/**
33Simple widget to show the available scenarios so that the user can choose one.
34
35 @author Antonello Lobianco <antonello@regmas.org>
36*/
37class ScenarioSelectionWidget: public QDialog{
38 Q_OBJECT
39
40public:
41 ScenarioSelectionWidget(QWidget *parent = 0);
42 void receiveScenarioOptions(const QVector<QString> &scenarios_h);
43 QComboBox *scenarioSelector;
44
45private:
46 QLabel *label;
47
48
50
51/*
52signals:
53 void selectedScenarioName(const QString &scenario_h);
54
55public slots:
56 void processSelectedScenario(const QString &scenario_h);
57*/
58
59};
60
61#endif
void receiveScenarioOptions(const QVector< QString > &scenarios_h)