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>
◆ DtZoomGraphicsView()
| DtZoomGraphicsView::DtZoomGraphicsView |
( |
QWidget * | parent = NULL | ) |
|
Constructor.
- Parameters
-
| parent | Pointer to the parent widget |
Creates a new zoomable graphics view with the specified parent
◆ wheelEvent()
| virtual void DtZoomGraphicsView::wheelEvent |
( |
QWheelEvent * | event | ) |
|
|
overrideprotectedvirtual |
Handles mouse wheel events for zooming.
- Parameters
-
| event | Pointer 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
-
| event | Pointer to the key event |
Processes key release events for additional view manipulation
The documentation for this class was generated from the following file: