Isis Developer Reference
Isis::MatrixGraphicsScene Class Reference

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

#include <MatrixGraphicsScene.h>

Inheritance diagram for Isis::MatrixGraphicsScene:
Inheritance graph
Collaboration diagram for Isis::MatrixGraphicsScene:
Collaboration graph

Public Member Functions

 MatrixGraphicsScene (MatrixSceneWidget *parent)
 
virtual ~MatrixGraphicsScene ()
 

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 MatrixSceneWidget.

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

Author
2012-09-17 Steven Lambright

Constructor & Destructor Documentation

◆ MatrixGraphicsScene()

Isis::MatrixGraphicsScene::MatrixGraphicsScene ( MatrixSceneWidget * parent)

◆ ~MatrixGraphicsScene()

Isis::MatrixGraphicsScene::~MatrixGraphicsScene ( )
virtual

Member Function Documentation

◆ contextMenuEvent()

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

References contextMenuEvent().

Referenced by contextMenuEvent().

◆ mousePressEvent()

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

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