PIHMgis Class Reference

#include <pihmgis.h>

List of all members.

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


Detailed Description

Definition at line 55 of file pihmgis.h.


Constructor & Destructor Documentation

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.

Parameters:
Pointer to the QgisApp object
Pointer to the QgisIface object.

Definition at line 115 of file pihmgis.cpp.

Referenced by classFactory().

PIHMgis::~PIHMgis (  )  [virtual]

Destructor.

Definition at line 123 of file pihmgis.cpp.


Member Function Documentation

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]

show the help document

Definition at line 284 of file pihmgis.cpp.

void PIHMgis::runDoNothing (  )  [slot]

Definition at line 311 of file pihmgis.cpp.

Referenced by initGui().

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]

Definition at line 367 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runPolygonToPolyline (  )  [slot]

Definition at line 373 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runSimplifyLine (  )  [slot]

Definition at line 379 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runSplitLine (  )  [slot]

Definition at line 385 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runVectorMerge (  )  [slot]

Definition at line 391 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runGenerateShapeTopology (  )  [slot]

Definition at line 399 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runRunTriangle (  )  [slot]

Definition at line 405 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runCreateTINs (  )  [slot]

Definition at line 411 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runMshFile (  )  [slot]

Definition at line 417 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runAttFile (  )  [slot]

Definition at line 423 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runRivFile (  )  [slot]

Definition at line 429 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runParaFile (  )  [slot]

Definition at line 434 of file pihmgis.cpp.

Referenced by initGui().

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]

Definition at line 441 of file pihmgis.cpp.

Referenced by initGui().

void PIHMgis::runAbout (  )  [slot]

Definition at line 457 of file pihmgis.cpp.

Referenced by initGui().

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().


Member Data Documentation

int PIHMgis::mPluginType [private]

Definition at line 141 of file pihmgis.h.

QToolBar* PIHMgis::mToolBarPointer [private]

Pointer to our toolbar.

Definition at line 143 of file pihmgis.h.

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]

pointer to the qaction for this plugin

Definition at line 149 of file pihmgis.h.

Referenced by unload().


The documentation for this class was generated from the following files:
Generated on Sun Aug 5 17:35:23 2007 for PIHMgis by  doxygen 1.5.2