The QGraphicsSceneContextMenuEvent class provides context menu events in the graphics view framework.  
 More...
The QGraphicsSceneContextMenuEvent class provides context menu events in the graphics view framework. 
A QContextMenuEvent received by a QGraphicsView is translated into a QGraphicsSceneContextMenuEvent. The QContextMenuEvent::globalPos() is translated into item, scene, and screen coordinates (pos(), scenePos(), and screenPos()).
See also QGraphicsSceneMouseEvent, QGraphicsSceneWheelEvent, and QContextMenuEvent.
This enum describes the reason why the context event was sent.
- Enumerator: 
- 
| Keyboard | The keyboard caused this event to be sent. On Windows and Mac OS X, this means the menu button was pressed. |  | Mouse | The mouse caused the event to be sent. On most platforms, this means the right mouse button was clicked. |  | Other | The event was sent by some other means (i.e. not by the mouse or keyboard). |  
 
 
 
  
  | 
        
          | QtGui.QGraphicsSceneContextMenuEvent.QGraphicsSceneContextMenuEvent | ( | System.Type | dummy | ) |  |  | protected | 
 
 
      
        
          | QtGui.QGraphicsSceneContextMenuEvent.QGraphicsSceneContextMenuEvent | ( | QEvent.Type | type = QEvent.Type.None | ) |  | 
      
 
 
  
  | 
        
          | override void QtGui.QGraphicsSceneContextMenuEvent.CreateProxy | ( |  | ) |  |  | virtual | 
 
 
      
        
          | new void QtGui.QGraphicsSceneContextMenuEvent.Dispose | ( |  | ) |  | 
      
 
 
Returns the keyboard modifiers in use when the context menu was requested.
 
 
  
  | 
        
          | new QPointF QtGui.QGraphicsSceneContextMenuEvent.Pos |  | getset | 
 
Returns the position of the mouse cursor in item coordinates at the moment the context menu was requested.
 
 
Returns the reason for the context menu event.
 
 
  
  | 
        
          | new QPointF QtGui.QGraphicsSceneContextMenuEvent.ScenePos |  | getset | 
 
Returns the position of the mouse cursor in scene coordinates at the moment the the context menu was requested.
 
 
  
  | 
        
          | new QPoint QtGui.QGraphicsSceneContextMenuEvent.ScreenPos |  | getset | 
 
Returns the position of the mouse cursor in screen coordinates at the moment the the context menu was requested.