Isis Developer Reference
MosaicGraphicsScene.h
Go to the documentation of this file.
1#ifndef MosaicGraphicsScene_H
2#define MosaicGraphicsScene_H
3
4#include <QGraphicsView>
5#include <QPointer>
6
7namespace Isis {
8 class MosaicSceneWidget;
9
25 Q_OBJECT
26
27 public:
29 virtual ~MosaicGraphicsScene();
30
31 protected:
32 virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *contextMenuEvent);
33 virtual void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent);
34
35 private:
36 QPointer<MosaicSceneWidget> m_parent;
37 };
38}
39
40#endif
41
A graphics scene with improved user-interaction for use with the MosaicSceneWidget.
Definition MosaicGraphicsScene.h:24
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *contextMenuEvent)
Definition MosaicGraphicsScene.cpp:17
virtual ~MosaicGraphicsScene()
Definition MosaicGraphicsScene.cpp:13
MosaicGraphicsScene(MosaicSceneWidget *parent)
Definition MosaicGraphicsScene.cpp:8
virtual void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent)
Definition MosaicGraphicsScene.cpp:25
This widget encompasses the entire mosaic scene.
Definition MosaicSceneWidget.h:153
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16