mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
28 lines
612 B
C
28 lines
612 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);
|
||
|
int getInt();
|
||
|
void initGui();
|
||
|
public slots:
|
||
|
void open();
|
||
|
void unload();
|
||
|
void draw();
|
||
|
private:
|
||
|
QMainWindow *qgisApp;
|
||
|
QMenuBar *menu;
|
||
|
int menuId;
|
||
|
QgsCoordinateTransform *coordTransform;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //QGSMAPLAYERTESTPLUGIN_H
|