1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/***************************************************************************
qgsinterpolationplugin.h
------------------------
begin : March 10, 2008
copyright : (C) 2008 by Marco Hugentobler
email : marco dot hugentobler at karto dot baug dot ethz dot ch
***************************************************************************/
/***************************************************************************
* *
* 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 QGSINTERPOLATIONPLUGIN_H
#define QGSINTERPOLATIONPLUGIN_H
#include "qgisplugin.h"
#include <QObject>
class QgisInterface;
class QAction;
/**A plugin that does interpolation on vertices of
a vector layer*/
class QgsInterpolationPlugin: public QObject, public QgisPlugin
{
Q_OBJECT
public:
QgsInterpolationPlugin( QgisInterface* iface );
~QgsInterpolationPlugin();
/**initialize connection to GUI*/
void initGui();
/**Unload the plugin and cleanup the GUI*/
void unload();
public slots:
//! update the plugins theme when the app tells us its theme is changed
void setCurrentTheme( QString theThemeName );
private slots:
void showInterpolationDialog();
private:
QgisInterface* mIface;
QAction* mInterpolationAction;
};
#endif
|