2005-03-13 10:38:20 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2003 by Tim Sutton *
|
|
|
|
* tim@linfiniti.com *
|
|
|
|
* *
|
|
|
|
* This is a plugin generated from the QGIS plugin template *
|
|
|
|
* *
|
|
|
|
* 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. *
|
|
|
|
***************************************************************************/
|
2005-04-24 03:34:36 +00:00
|
|
|
#ifndef QGSCOMMUNTYREGPLUGINGUI_H
|
|
|
|
#define QGSCOMMUNTYREGPLUGINGUI_H
|
2005-03-13 10:38:20 +00:00
|
|
|
|
|
|
|
#include <pluginguibase.h>
|
2005-03-15 01:38:05 +00:00
|
|
|
class QUrl;
|
|
|
|
class QHttp;
|
2005-03-13 10:38:20 +00:00
|
|
|
/**
|
|
|
|
@author Tim Sutton
|
|
|
|
*/
|
2005-04-24 03:34:36 +00:00
|
|
|
class QgsCommunityRegPluginGui : public QgsCommunityRegPluginGuiBase
|
2005-03-13 10:38:20 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2005-04-24 03:34:36 +00:00
|
|
|
QgsCommunityRegPluginGui();
|
|
|
|
QgsCommunityRegPluginGui( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
|
|
|
|
~QgsCommunityRegPluginGui();
|
2005-03-15 01:38:05 +00:00
|
|
|
public slots:
|
2005-03-13 10:38:20 +00:00
|
|
|
void pbnOK_clicked();
|
|
|
|
void pbnCancel_clicked();
|
2005-03-15 01:38:05 +00:00
|
|
|
void submit();
|
|
|
|
void submitDone( bool error );
|
|
|
|
void pbnGetCoords_clicked();
|
2005-03-13 10:38:20 +00:00
|
|
|
private:
|
2005-03-15 01:38:05 +00:00
|
|
|
QHttp * mConnection;
|
|
|
|
QHttp * mHttp;
|
2005-03-13 10:38:20 +00:00
|
|
|
signals:
|
|
|
|
void drawRasterLayer(QString);
|
|
|
|
void drawVectorrLayer(QString,QString,QString);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|