File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
Isis::MosaicGraphicsView Class Reference

A graphics view that resizes in a more friendly way. More...

#include <MosaicGraphicsView.h>

Inheritance diagram for Isis::MosaicGraphicsView:
Inheritance graph
Collaboration diagram for Isis::MosaicGraphicsView:
Collaboration graph

Public Member Functions

 MosaicGraphicsView (QGraphicsScene *scene, QWidget *parent=0)
 
void enableResizeZooming (bool enabled)
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Private Attributes

bool p_resizeZooming
 
QSize m_oldSize
 

Detailed Description

A graphics view that resizes in a more friendly way.

Author
????-??-?? Unknown
History:
2017-01-27 Tracie Sucharski - Added member variable to save the size of the graphics view, because there is a bug in Qt's QResizeEvent::oldSize() method. This only happens when this is used from ipce in a QMdiSubWindow. See https://bugreports.qt.io/browse/QTBUG-32446.

Definition at line 19 of file MosaicGraphicsView.h.


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

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:20:46