#include <pihmgis.h>
Public Slots | |
virtual void | initGui () |
init the gui | |
void | run () |
Show the dialog box. | |
void | unload () |
unload the plugin | |
void | help () |
show the help document | |
void | runDoNothing () |
void | runFillPits () |
void | runFlowGrid () |
void | runStreamGrid () |
void | runLinkGrid () |
void | runStreamPolyLine () |
void | runCatchmentGrid () |
void | runCatchmentPolygon () |
void | runShpFileInput () |
void | runPolygonToPolyline () |
void | runSimplifyLine () |
void | runSplitLine () |
void | runVectorMerge () |
void | runGenerateShapeTopology () |
void | runRunTriangle () |
void | runCreateTINs () |
void | runMshFile () |
void | runAttFile () |
void | runRivFile () |
void | runParaFile () |
void | runTimeSeriesPlots () |
void | runSpatialPlots () |
void | runPIHM () |
void | runAbout () |
void | drawRasterLayer (QString) |
draw a raster layer in the qui | |
void | drawVectorLayer (QString, QString, QString) |
Add a vector layer given vectorLayerPath, baseName, providerKey ("ogr" or "postgres");. | |
Public Member Functions | |
PIHMgis (QgisApp *theApplication, QgisIface *theInterface) | |
virtual | ~PIHMgis () |
Destructor. | |
Private Attributes | |
int | mPluginType |
QToolBar * | mToolBarPointer |
Pointer to our toolbar. | |
QgisApp * | mQGisApp |
Pionter to QGIS main application object. | |
QgisIface * | mQGisIface |
Pointer to the QGIS interface object. | |
QAction * | mQActionPointer |
pointer to the qaction for this plugin |
Definition at line 55 of file pihmgis.h.
PIHMgis::PIHMgis | ( | QgisApp * | theApplication, | |
QgisIface * | theInterface | |||
) |
Constructor for a plugin. The QgisApp and QgisIface pointers are passed by QGIS when it attempts to instantiate the plugin.
Pointer | to the QgisApp object | |
Pointer | to the QgisIface object. |
Definition at line 115 of file pihmgis.cpp.
Referenced by classFactory().
PIHMgis::~PIHMgis | ( | ) | [virtual] |
void PIHMgis::initGui | ( | ) | [virtual, slot] |
init the gui
Definition at line 132 of file pihmgis.cpp.
References mQGisIface, runAbout(), runAttFile(), runCatchmentGrid(), runCatchmentPolygon(), runCreateTINs(), runDoNothing(), runFillPits(), runFlowGrid(), runGenerateShapeTopology(), runLinkGrid(), runMshFile(), runParaFile(), runPIHM(), runPolygonToPolyline(), runRivFile(), runRunTriangle(), runShpFileInput(), runSimplifyLine(), runSpatialPlots(), runSplitLine(), runStreamGrid(), runStreamPolyLine(), and runVectorMerge().
void PIHMgis::run | ( | ) | [slot] |
Show the dialog box.
Definition at line 293 of file pihmgis.cpp.
References drawRasterLayer(), drawVectorLayer(), and mQGisApp.
void PIHMgis::unload | ( | ) | [slot] |
unload the plugin
Definition at line 303 of file pihmgis.cpp.
References mQActionPointer, and mQGisIface.
void PIHMgis::help | ( | ) | [slot] |
void PIHMgis::runDoNothing | ( | ) | [slot] |
void PIHMgis::runFillPits | ( | ) | [slot] |
Definition at line 315 of file pihmgis.cpp.
References mQGisApp, and fillpitsDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runFlowGrid | ( | ) | [slot] |
Definition at line 322 of file pihmgis.cpp.
References mQGisApp, and FlowGridDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runStreamGrid | ( | ) | [slot] |
Definition at line 329 of file pihmgis.cpp.
References mQGisApp, and StreamGridDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runLinkGrid | ( | ) | [slot] |
Definition at line 336 of file pihmgis.cpp.
References mQGisApp, and LinkGridDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runStreamPolyLine | ( | ) | [slot] |
Definition at line 343 of file pihmgis.cpp.
References mQGisApp, and StreamPolyLineDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runCatchmentGrid | ( | ) | [slot] |
Definition at line 350 of file pihmgis.cpp.
References mQGisApp, and CatchmentGridDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runCatchmentPolygon | ( | ) | [slot] |
Definition at line 357 of file pihmgis.cpp.
References mQGisApp, and CatchmentPolygonDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runShpFileInput | ( | ) | [slot] |
void PIHMgis::runPolygonToPolyline | ( | ) | [slot] |
void PIHMgis::runSimplifyLine | ( | ) | [slot] |
void PIHMgis::runSplitLine | ( | ) | [slot] |
void PIHMgis::runVectorMerge | ( | ) | [slot] |
void PIHMgis::runGenerateShapeTopology | ( | ) | [slot] |
void PIHMgis::runRunTriangle | ( | ) | [slot] |
void PIHMgis::runCreateTINs | ( | ) | [slot] |
void PIHMgis::runMshFile | ( | ) | [slot] |
void PIHMgis::runAttFile | ( | ) | [slot] |
void PIHMgis::runRivFile | ( | ) | [slot] |
void PIHMgis::runParaFile | ( | ) | [slot] |
void PIHMgis::runTimeSeriesPlots | ( | ) | [slot] |
Definition at line 446 of file pihmgis.cpp.
void PIHMgis::runSpatialPlots | ( | ) | [slot] |
Definition at line 451 of file pihmgis.cpp.
References mQGisApp, and spatialPlotDlg::setApplicationPointer().
Referenced by initGui().
void PIHMgis::runPIHM | ( | ) | [slot] |
void PIHMgis::runAbout | ( | ) | [slot] |
void PIHMgis::drawRasterLayer | ( | QString | ) | [slot] |
draw a raster layer in the qui
Definition at line 475 of file pihmgis.cpp.
References mQGisIface.
Referenced by run().
void PIHMgis::drawVectorLayer | ( | QString | , | |
QString | , | |||
QString | ||||
) | [slot] |
Add a vector layer given vectorLayerPath, baseName, providerKey ("ogr" or "postgres");.
Definition at line 483 of file pihmgis.cpp.
References mQGisIface.
Referenced by run().
int PIHMgis::mPluginType [private] |
QToolBar* PIHMgis::mToolBarPointer [private] |
QgisApp* PIHMgis::mQGisApp [private] |
Pionter to QGIS main application object.
Definition at line 145 of file pihmgis.h.
Referenced by run(), runCatchmentGrid(), runCatchmentPolygon(), runFillPits(), runFlowGrid(), runLinkGrid(), runSpatialPlots(), runStreamGrid(), and runStreamPolyLine().
QgisIface* PIHMgis::mQGisIface [private] |
Pointer to the QGIS interface object.
Definition at line 147 of file pihmgis.h.
Referenced by drawRasterLayer(), drawVectorLayer(), initGui(), and unload().
QAction* PIHMgis::mQActionPointer [private] |