DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
rundialog.h
Go to the documentation of this file.
1 #ifndef RUNDIALOG_H
2 #define RUNDIALOG_H
3 
4 #include <QDialog>
5 #include <simulationrun.h>
6 
7 namespace Ui {
8 class RunDialog;
9 }
10 
11 class RunDialog : public QDialog
12 {
13  Q_OBJECT
14 
15 public:
16  explicit RunDialog(QWidget *parent = 0);
17  ~RunDialog();
18 
19  const SimulationRun &get() const { return mData; }
20 
21 private slots:
22  void on_cmdBrowseModel_clicked();
23 
24  void on_cmdBatchCreate_clicked();
25 
26  void on_RunDialog_accepted();
27 
28 private:
29  Ui::RunDialog *ui;
30 
31  SimulationRun mData;
32 
33  bool parsePathParts(const QString &path, QString &basepath, QString &inputname, QString &outputname);
34 };
35 
36 #endif // RUNDIALOG_H
Definition: dteditorwindow.h:32
const SimulationRun & get() const
Definition: rundialog.h:19
RunDialog(QWidget *parent=0)
Definition: rundialog.cpp:12
Definition: ui_rundialog.h:249
Definition: rundialog.h:11
~RunDialog()
Definition: rundialog.cpp:19
Definition: simulationrun.h:8