Rev 1064 | Rev 1104 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1064 | Rev 1066 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | #include "grid.h"
|
25 | #include "grid.h"
|
26 | #include "layeredgrid.h"
|
26 | #include "layeredgrid.h"
|
27 | class Model; |
27 | class Model; |
28 | class MainWindow; |
28 | class MainWindow; |
29 | class MapGrid; |
29 | class MapGrid; |
- | 30 | class Species; |
|
30 | 31 | ||
31 | class ModelController: public QObject |
32 | class ModelController: public QObject |
32 | {
|
33 | {
|
33 | Q_OBJECT |
34 | Q_OBJECT |
34 | public: |
35 | public: |
Line 55... | Line 56... | ||
55 | // dynamic outputs (variable fields)
|
56 | // dynamic outputs (variable fields)
|
56 | void setDynamicOutputEnabled(bool enabled) { mDynamicOutputEnabled = enabled; } |
57 | void setDynamicOutputEnabled(bool enabled) { mDynamicOutputEnabled = enabled; } |
57 | void setupDynamicOutput(QString fieldList); |
58 | void setupDynamicOutput(QString fieldList); |
58 | QString dynamicOutput(); |
59 | QString dynamicOutput(); |
59 | // some informational services
|
60 | // some informational services
|
60 |
|
61 | QList<const Species *> availableSpecies(); |
61 | void setLoadedJavascriptFile(QString filename) { mLastLoadedJSFile = filename; } |
62 | void setLoadedJavascriptFile(QString filename) { mLastLoadedJSFile = filename; } |
62 | QString loadedJavascriptFile() const { return mLastLoadedJSFile; } |
63 | QString loadedJavascriptFile() const { return mLastLoadedJSFile; } |
63 | 64 | ||
64 | 65 | ||
65 | void saveScreenshot(QString file_name); ///< saves a screenshot of the central view widget to 'file_name' |
66 | void saveScreenshot(QString file_name); ///< saves a screenshot of the central view widget to 'file_name' |