pihmgisgui.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Tim Sutton                                      *
00003  *   tim@linfiniti.com                                                     *
00004  *                                                                         *
00005  *   This is a plugin generated from the QGIS plugin template              *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  ***************************************************************************/
00012 #include "pihmgisgui.h"
00013 
00014 //qt includes
00015 
00016 //standard includes
00017 
00018 PIHMgisGui::PIHMgisGui() : PIHMgisGuiBase()
00019 {
00020   setupUi(this);
00021 }
00022 
00023 PIHMgisGui::PIHMgisGui( QWidget* parent, Qt::WFlags fl )
00024 : QDialog ( parent, fl )
00025 {
00026   setupUi(this);
00027 }  
00028 PIHMgisGui::~PIHMgisGui()
00029 {
00030 }
00031 
00032 void PIHMgisGui::pbnOK_clicked()
00033 {
00034   //
00035   // If you have a produced a raster layer using your plugin, you can ask qgis to 
00036   // add it to the view using:
00037   // emit drawRasterLayer(QString("layername"));
00038   // or for a vector layer
00039   // emit drawVectorLayer(QString("pathname"),QString("layername"),QString("provider name (either ogr or postgres"));
00040   //
00041   //close the dialog
00042   done(1);
00043 } 
00044 void PIHMgisGui::pbnCancel_clicked()
00045 {
00046  close(1);
00047 }

Generated on Sun Aug 5 17:33:59 2007 for PIHMgis by  doxygen 1.5.2