|
iLand
|
The main window of the iLand viewer. More...
#include <mainwindow.h>
Public Slots | |
| void | repaint () |
| force a repaint of the main drawing area More... | |
| void | yearSimulated (int year) |
| void | modelFinished (QString errorMessage) |
| void | checkModelState () |
| void | bufferedLog (bool bufferLog) |
| QImage | screenshot () |
| create a screenshot of the main painting area More... | |
| void | paintGrid (MapGrid *map_grid, const QString &name=QString(), const GridViewType view_type=GridViewRainbow, double min_val=0., double max_val=1.) |
| void | paintGrid (const FloatGrid *grid, const QString &name=QString(), const GridViewType view_type=GridViewRainbow, double min_val=0., double max_val=1.) |
| void | addLayers (const LayeredGridBase *layer, const QString &name) |
| void | addPaintLayers (QObject *handler, const QStringList names, const QVector< GridViewType > view_types=QVector< GridViewType >()) |
| void | removePaintLayers (QObject *handler) |
| void | removeLayers (const LayeredGridBase *layer) |
| void | setPaintGrid (const QString grid_name) |
| void | setViewport (QPointF center_point, double scale_px_per_m) |
set the viewport of the main viewing window center_point is the point to zoom to (world coordinates), and scael_px_per_m is the pixel/m scaling. More... | |
| void | setUIshortcuts (QVariantMap shortcuts) |
| set the viewport (like interactive with mouse) More... | |
Public Member Functions | |
| MainWindow (QWidget *parent=0) | |
| ~MainWindow () | |
| MainWindow (QWidget *parent=0) | |
| ~MainWindow () | |
| Ui::MainWindowClass * | uiclass () |
| Colors * | ruler () |
Static Public Member Functions | |
| static QPlainTextEdit * | logSpace () |
| static QPlainTextEdit * | logSpace () |
| static QTextStream * | logStream () |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) |
The main window of the iLand viewer.
| MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) |
| MainWindow::~MainWindow | ( | ) |
| MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) |
| MainWindow::~MainWindow | ( | ) |
|
slot |
|
slot |
|
slot |
|
slot |
|
protected |
|
static |
|
inlinestatic |
|
inlinestatic |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
force a repaint of the main drawing area
|
inline |
|
slot |
create a screenshot of the main painting area
|
slot |
|
slot |
set the viewport (like interactive with mouse)
|
slot |
set the viewport of the main viewing window center_point is the point to zoom to (world coordinates), and scael_px_per_m is the pixel/m scaling.
|
inline |
|
slot |