// CustomCursorTool.h
#ifndef CUSTOMCURSORTOOL_H
#define CUSTOMCURSORTOOL_H

 
#include <qgsmaptool.h>
#include <qgsmapcanvas.h>
 
#include <qgsvector.h>
#include <qgsvectorlayer.h>
#include <qgsrasterlayer.h>
#include <qgsmeshlayer.h>
#include <qgspoint.h>
#include <QMouseEvent>
#include "qgsmaptoolidentify.h"

class QgsMapMouseEvent;

class CustomCursorTool : public QgsMapToolIdentify
{
    Q_OBJECT

public:
    explicit CustomCursorTool(QgsMapCanvas* canvas);
    ~CustomCursorTool() override = default;

signals:
    void identifyResultChange(QList<QgsMapToolIdentify::IdentifyResult> result);
private :
    void canvasMoveEvent(QgsMapMouseEvent* e) override; // 处理鼠标移动事件
    
};

#endif // CUSTOMCURSORTOOL_H