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: