Isis Developer Reference
Isis::MosaicGraphicsScene Class Reference

A graphics scene with improved user-interaction for use with the MosaicSceneWidget. More...

#include <MosaicGraphicsScene.h>

Inheritance diagram for Isis::MosaicGraphicsScene:
Inheritance graph
Collaboration diagram for Isis::MosaicGraphicsScene:
Collaboration graph

Public Member Functions

 MosaicGraphicsScene (MosaicSceneWidget *parent)
 
virtual ~MosaicGraphicsScene ()
 

Protected Member Functions

virtual void contextMenuEvent (QGraphicsSceneContextMenuEvent *contextMenuEvent)
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *mouseEvent)
 

Detailed Description

A graphics scene with improved user-interaction for use with the MosaicSceneWidget.

The context menu event will behave differently - if items are selected, and you right click on one of the selected items, the MosaicSceneWidget will be given an opportunity to handle it (multi-item selection).

Author
2012-09-17 Steven Lambright

Constructor & Destructor Documentation

◆ MosaicGraphicsScene()

Isis::MosaicGraphicsScene::MosaicGraphicsScene ( MosaicSceneWidget * parent)

◆ ~MosaicGraphicsScene()

Isis::MosaicGraphicsScene::~MosaicGraphicsScene ( )
virtual

Member Function Documentation

◆ contextMenuEvent()

void Isis::MosaicGraphicsScene::contextMenuEvent ( QGraphicsSceneContextMenuEvent * contextMenuEvent)
protectedvirtual

References contextMenuEvent().

Referenced by contextMenuEvent().

◆ mousePressEvent()

void Isis::MosaicGraphicsScene::mousePressEvent ( QGraphicsSceneMouseEvent * mouseEvent)
protectedvirtual

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