2003-08-15 02:41:56 +00:00
|
|
|
#ifndef QGSMAPLAYERTESTPLUGIN_H
|
|
|
|
#define QGSMAPLAYERTESTPLUGIN_H
|
|
|
|
#include <qmainwindow.h>
|
|
|
|
#include <qmenubar.h>
|
|
|
|
#include "../../src/qgsmaplayerinterface.h"
|
2004-12-30 02:52:37 +00:00
|
|
|
#include "../../src/qgsmaptopixel.h"
|
2003-08-15 02:41:56 +00:00
|
|
|
class MapLayerTest : public QgsMapLayerInterface{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
MapLayerTest();
|
|
|
|
void setQgisMainWindow(QMainWindow *app);
|
2004-12-30 02:52:37 +00:00
|
|
|
void setCoordinateTransform(QgsMapToPixel *xform);
|
2003-08-15 02:41:56 +00:00
|
|
|
public slots:
|
2004-11-12 13:55:19 +00:00
|
|
|
void initGui();
|
2003-08-15 02:41:56 +00:00
|
|
|
void open();
|
|
|
|
void unload();
|
|
|
|
void draw();
|
|
|
|
private:
|
|
|
|
QMainWindow *qgisApp;
|
|
|
|
QMenuBar *menu;
|
|
|
|
int menuId;
|
2004-12-30 02:52:37 +00:00
|
|
|
QgsMapToPixel *coordTransform;
|
2003-08-15 02:41:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //QGSMAPLAYERTESTPLUGIN_H
|