mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
27 lines
598 B
C++
27 lines
598 B
C++
#ifndef QGSMAPLAYERTESTPLUGIN_H
|
|
#define QGSMAPLAYERTESTPLUGIN_H
|
|
#include <qmainwindow.h>
|
|
#include <qmenubar.h>
|
|
#include "../../src/qgsmaplayerinterface.h"
|
|
#include "../../src/qgscoordinatetransform.h"
|
|
class MapLayerTest : public QgsMapLayerInterface{
|
|
Q_OBJECT
|
|
public:
|
|
MapLayerTest();
|
|
void setQgisMainWindow(QMainWindow *app);
|
|
void setCoordinateTransform(QgsCoordinateTransform *xform);
|
|
void initGui();
|
|
public slots:
|
|
void open();
|
|
void unload();
|
|
void draw();
|
|
private:
|
|
QMainWindow *qgisApp;
|
|
QMenuBar *menu;
|
|
int menuId;
|
|
QgsCoordinateTransform *coordTransform;
|
|
};
|
|
|
|
|
|
#endif //QGSMAPLAYERTESTPLUGIN_H
|