mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
64 lines
2.4 KiB
C
64 lines
2.4 KiB
C
|
/***************************************************************************
|
||
|
* Copyright (C) 2003 by Tim Sutton *
|
||
|
* tim@linfiniti.com *
|
||
|
* *
|
||
|
* Gyps - Species Distribution Modelling Toolkit *
|
||
|
* This toolkit provides data transformation and visualisation *
|
||
|
* tools for use in species distribution modelling tools such as GARP, *
|
||
|
* CSM, Bioclim etc. *
|
||
|
* This program is free software; you can redistribute it and/or modify *
|
||
|
* it under the terms of the GNU General Public License as published by *
|
||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||
|
* (at your option) any later version. *
|
||
|
***************************************************************************/
|
||
|
#ifndef OPENMODELLERGUI_H
|
||
|
#define OPENMODELLERGUI_H
|
||
|
|
||
|
#include <openmodellerguibase.h>
|
||
|
|
||
|
/**
|
||
|
@author Tim Sutton
|
||
|
*/
|
||
|
class OpenModellerGui : public OpenModellerGuiBase
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
OpenModellerGui();
|
||
|
OpenModellerGui( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
|
||
|
~OpenModellerGui();
|
||
|
void OpenModellerGui::parseAndRun(QString theParametersFileNameQString);
|
||
|
void makeConfigFile();
|
||
|
|
||
|
//
|
||
|
// The following methods reimplement methods by the same name of the parent class
|
||
|
//
|
||
|
|
||
|
void cboModelAlgorithm_activated( const QString & );
|
||
|
/** This method overrides the virtual OpenModellerGuiBase method (slot) of the same name. */
|
||
|
void formSelected(const QString &thePageNameQString);
|
||
|
void leLocalitiesFileName_textChanged( const QString &theFileNameQString );
|
||
|
void pbnSelectOutputFile_clicked();
|
||
|
void pbnRemoveParameter_clicked();
|
||
|
void pbnAddParameter_clicked();
|
||
|
void pbnRemoveLayerFile_clicked();
|
||
|
void pbnSelectLayerFile_clicked();
|
||
|
void pbnSelectLocalitiesFile_clicked();
|
||
|
void leLocalitiesFileName_returnPressed();
|
||
|
void accept();
|
||
|
|
||
|
private:
|
||
|
QString modelNameQString;
|
||
|
QString localitiesFileNameQString;
|
||
|
QString coordinateSystemQString;
|
||
|
QString taxonNameQString;
|
||
|
QStringList layerNamesQStringList;
|
||
|
QString maskNameQString;
|
||
|
QStringList extraParametersQStringList;
|
||
|
QString outputFileNameQString;
|
||
|
bool useTheseSettingsAgainFlag;
|
||
|
signals:
|
||
|
void drawRasterLayer(QString);
|
||
|
};
|
||
|
|
||
|
#endif
|