Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/Utils/mouse_move_overlay.h
T
berrux-dev 598fc2560e Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
2026-10-20 09:36:57 +02:00

58 lines
1.1 KiB
C++
Executable File

/**
* @RDE_HEADER@
* MouseMoveOverlay
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <QGraphicsItem>
namespace EsriRuntimeQt
{
class MapGraphicsView;
}
//----------------------------------------------------------------------------
namespace SituationMap
{
class MapImpl;
class MouseMoveOverlay : public QGraphicsItem
{
// Q_OBJECT
public:
explicit MouseMoveOverlay(MapImpl *mapImpl);
virtual ~MouseMoveOverlay();
signals:
// void mousePositionChanged(const QPointF& screenPos, QPointF& mapPos);
// void mousePositionChanged();
protected:
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
void hoverMoveEvent(QGraphicsSceneHoverEvent *event);
private :
MouseMoveOverlay(const MouseMoveOverlay &other) = delete;
MouseMoveOverlay &operator=(const MouseMoveOverlay &other) = delete;
class Private;
/**
* The private d-pointer to not break BC when changing internals of this class
*/
Private *d = nullptr;
};
} // namespace SituationMap