Isis 3.0 Programmer Reference
Back | Home
MosaicGraphicsView.h
1 #ifndef MosaicGraphicsView_H
2 #define MosaicGraphicsView_H
3 
4 #include <QGraphicsView>
5 
6 namespace Isis {
15  Q_OBJECT
16 
17  public:
18  MosaicGraphicsView(QGraphicsScene *scene, QWidget *parent = 0);
19  virtual ~MosaicGraphicsView();
20 
21  void enableResizeZooming(bool enabled) {
22  p_resizeZooming = enabled;
23  }
24 
25  protected:
26  virtual void contextMenuEvent(QContextMenuEvent *event);
27  virtual void resizeEvent(QResizeEvent *event);
28 
29  private:
30  bool p_resizeZooming;
31  };
32 }
33 
34 #endif
35 
A graphics view that resizes in a more friendly way.

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 ISIS Support Center
File Modified: 07/12/2023 23:24:00