Public Member Functions | Public Attributes | Static Public Attributes | Properties | Private Member Functions | Private Attributes
nodebox_graphics.NodeBoxGraphicsView Class Reference

List of all members.

Public Member Functions

def __init__
def boundingRect
def dragZoom_
def findNearestZoomIndex
def keyPressEvent
def keyReleaseEvent
def markDirty
def mouseDoubleClickEvent
def mouseMoveEvent
def mousePressEvent
def mouseReleaseEvent
def paint
def shape
def wheelEvent
def zoomIn_
def zoomOut_
def zoomTo_
def zoomToFit_

Public Attributes

 key
 keycode
 keydown
 mouseDCPosition
 mousedoubleclick
 mousedown
 mousePosition
 rightdown
 scrollwheel
 wheeldelta

Static Public Attributes

float zoom = 1.0
int zoom = 5
list zoomLevels = [0.1, 0.25, 0.5, 0.75]

Properties

 canvas = property(_get_canvas, _set_canvas)
 zoom = property(_get_zoom, _set_zoom)

Private Member Functions

def _check_cache
def _get_canvas
def _get_zoom
def _set_canvas
def _set_zoom
def _updateImage

Private Attributes

 _canvas
 _dirty
 _rect
 _shape
 _zoom

Detailed Description

Definition at line 4 of file nodebox_graphics.py.


Constructor & Destructor Documentation

def nodebox_graphics.NodeBoxGraphicsView.__init__ (   self,
  parent = None 
)

Definition at line 12 of file nodebox_graphics.py.


Member Function Documentation

Definition at line 41 of file nodebox_graphics.py.

Definition at line 63 of file nodebox_graphics.py.

Definition at line 82 of file nodebox_graphics.py.

def nodebox_graphics.NodeBoxGraphicsView._set_canvas (   self,
  canvas 
) [private]

Definition at line 66 of file nodebox_graphics.py.

def nodebox_graphics.NodeBoxGraphicsView._set_zoom (   self,
  zoom 
) [private]

Definition at line 85 of file nodebox_graphics.py.

def nodebox_graphics.NodeBoxGraphicsView._updateImage (   self,
  painter 
) [private]

Definition at line 142 of file nodebox_graphics.py.

Definition at line 35 of file nodebox_graphics.py.

Definition at line 134 of file nodebox_graphics.py.

Returns the nearest zoom level, and whether we found a direct, exact
match or a fuzzy match.

Definition at line 95 of file nodebox_graphics.py.

Definition at line 192 of file nodebox_graphics.py.

Definition at line 197 of file nodebox_graphics.py.

def nodebox_graphics.NodeBoxGraphicsView.markDirty (   self,
  redraw = True 
)

Definition at line 137 of file nodebox_graphics.py.

Definition at line 176 of file nodebox_graphics.py.

Definition at line 182 of file nodebox_graphics.py.

Definition at line 165 of file nodebox_graphics.py.

Definition at line 185 of file nodebox_graphics.py.

def nodebox_graphics.NodeBoxGraphicsView.paint (   self,
  painter,
  item,
  widget 
)

Definition at line 161 of file nodebox_graphics.py.

Definition at line 38 of file nodebox_graphics.py.

Definition at line 202 of file nodebox_graphics.py.

Definition at line 110 of file nodebox_graphics.py.

Definition at line 120 of file nodebox_graphics.py.

def nodebox_graphics.NodeBoxGraphicsView.zoomTo_ (   self,
  value 
)

Definition at line 126 of file nodebox_graphics.py.

Definition at line 129 of file nodebox_graphics.py.


Member Data Documentation

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 12 of file nodebox_graphics.py.

Definition at line 6 of file nodebox_graphics.py.

Definition at line 7 of file nodebox_graphics.py.

list nodebox_graphics.NodeBoxGraphicsView::zoomLevels = [0.1, 0.25, 0.5, 0.75] [static]

Definition at line 5 of file nodebox_graphics.py.


Property Documentation

Definition at line 80 of file nodebox_graphics.py.

Definition at line 93 of file nodebox_graphics.py.


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


rcommander
Author(s): Hai Nguyen (haidai@gmail.com)
autogenerated on Thu Nov 28 2013 11:46:34