VR-Engage  2.2
Loading...
Searching...
No Matches
DtZoomGraphicsView Class Reference

Detailed Description

This class extends QGraphicsView to provide zooming capabilities for SAR response images. It handles mouse wheel and keyboard events to allow the user to zoom in and out of the displayed imagery. This is used for the non-GLStudio SAR response window.

#include <zoomGraphicsView.h>

Inheritance diagram for DtZoomGraphicsView:
[legend]

Public Member Functions

 DtZoomGraphicsView (QWidget *parent=NULL)
 

Protected Member Functions

virtual void wheelEvent (QWheelEvent *event) override
 
virtual void keyReleaseEvent (QKeyEvent *event) override
 

Constructor & Destructor Documentation

◆ DtZoomGraphicsView()

DtZoomGraphicsView::DtZoomGraphicsView ( QWidget * parent = NULL)

Constructor.

Parameters
parentPointer to the parent widget

Creates a new zoomable graphics view with the specified parent

Member Function Documentation

◆ wheelEvent()

virtual void DtZoomGraphicsView::wheelEvent ( QWheelEvent * event)
overrideprotectedvirtual

Handles mouse wheel events for zooming.

Parameters
eventPointer to the wheel event

Processes mouse wheel events to zoom in or out of the view

◆ keyReleaseEvent()

virtual void DtZoomGraphicsView::keyReleaseEvent ( QKeyEvent * event)
overrideprotectedvirtual

Handles key release events for additional controls.

Parameters
eventPointer to the key event

Processes key release events for additional view manipulation


The documentation for this class was generated from the following file: