#include <GraphicsView_Viewer.h>
 | 
| enum   | TransformType {  
  NoTransform, 
Reset, 
FitAll, 
FitRect, 
 
  FitSelect, 
Zoom, 
PanGlobal, 
Pan, 
 
  FitWidth, 
UserTransform = 100
 
 } | 
|   | 
| enum   | HotOperation { PAN, 
ZOOM, 
ROTATE, 
FIT_AREA
 } | 
|   | 
| enum   | InteractionStyle { STANDARD, 
KEY_FREE
 } | 
|   | 
typedef QMap< HotOperation,  
Qt::KeyboardModifiers >  | StatesMap | 
|   | 
typedef QMap< HotOperation,  
Qt::MouseButtons >  | ButtonsMap | 
|   | 
typedef QMap< InteractionStyle,  
StatesMap >  | InteractionStyle2StatesMap | 
|   | 
typedef QMap< InteractionStyle,  
ButtonsMap >  | InteractionStyle2ButtonsMap | 
|   | 
| Enumerator | 
|---|
| BringToFront  | 
 | 
| SendToBack  | 
 | 
| BringForward  | 
 | 
| SendBackward  | 
 | 
 
 
| Enumerator | 
|---|
| NoTransform  | 
 | 
| Reset  | 
 | 
| FitAll  | 
 | 
| FitRect  | 
 | 
| FitSelect  | 
 | 
| Zoom  | 
 | 
| PanGlobal  | 
 | 
| Pan  | 
 | 
| FitWidth  | 
 | 
| UserTransform  | 
 | 
 
 
      
        
          | GraphicsView_Viewer::GraphicsView_Viewer  | 
          ( | 
          const QString &  | 
          title,  | 
        
        
           | 
           | 
          QWidget *  | 
          widget = NULL  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | GraphicsView_Viewer::~GraphicsView_Viewer  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void GraphicsView_Viewer::activateTransform  | 
          ( | 
          int  | 
          theType | ) | 
           | 
        
      
 
 
  
  
      
        
          | void GraphicsView_Viewer::contextMenuPopup  | 
          ( | 
          QMenu *  | 
          thePopup | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | virtual QString GraphicsView_Viewer::getType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::handleKeyPress  | 
          ( | 
          QKeyEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::handleKeyRelease  | 
          ( | 
          QKeyEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::handleMouseMove  | 
          ( | 
          QGraphicsSceneMouseEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
private   | 
  
 
References GraphicsView_Selector::detect(), GraphicsView_ViewPort::drawPulling(), GraphicsView_ViewPort::drawSelectByRect(), GraphicsView_ViewPort::drawSketching(), GraphicsView_ViewPort::finishSelectByRect(), getActiveViewPort(), GraphicsView_ViewPort::getHighlightedObject(), getSelector(), GraphicsView_ViewPort::hasInteractionFlag(), GraphicsView_ViewPort::isDragging(), GraphicsView_ViewPort::isPrepareToSketch(), GraphicsView_ViewPort::isPulling(), GraphicsView_ViewPort::isSelectByRect(), GraphicsView_ViewPort::isSketching(), GraphicsView_ViewPort::Pulling, and GraphicsView_ViewPort::startPulling().
 
 
  
  
      
        
          | void GraphicsView_Viewer::handleMousePress  | 
          ( | 
          QGraphicsSceneMouseEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
private   | 
  
 
References GraphicsView_ViewTransformer::accelKey(), activateTransform(), BS_Selection, getActiveViewPort(), GraphicsView_Selector::getAppendKey(), getSelector(), GraphicsView_ViewPort::ImmediateContextMenu, GraphicsView_ViewPort::ImmediateSelection, Pan, GraphicsView_ViewTransformer::panButton(), GraphicsView_ViewPort::Pulling, GraphicsView_Selector::select(), GraphicsView_ViewPort::Sketching, Zoom, and GraphicsView_ViewTransformer::zoomButton().
 
 
  
  
      
        
          | void GraphicsView_Viewer::handleMouseRelease  | 
          ( | 
          QGraphicsSceneMouseEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::handleWheel  | 
          ( | 
          QGraphicsSceneWheelEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | bool GraphicsView_Viewer::isInitialized  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onChangeBgColor  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onKeyEvent  | 
          ( | 
          QKeyEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onMouseEvent  | 
          ( | 
          QGraphicsSceneMouseEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onSelectionCancel  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onSketchingFinished  | 
          ( | 
          QPainterPath  | 
          thePath | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onTransformationFinished  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onTransformationStarted  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::onWheelEvent  | 
          ( | 
          QGraphicsSceneWheelEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
 
      
        
          | void GraphicsView_Viewer::setIsInitialized  | 
          ( | 
          bool  | 
          theFlag | ) | 
           | 
        
      
 
 
  
  
      
        
          | static QString GraphicsView_Viewer::Type  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
  
  
      
        
          | void GraphicsView_Viewer::wheelScaleChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
  
  
      
        
          | bool GraphicsView_Viewer::myIsInitialized | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | QWidget* GraphicsView_Viewer::myWidget | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: