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 | |
Definition at line 4 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.__init__ | ( | self, | |
parent = None |
|||
| ) |
Definition at line 12 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView._check_cache | ( | self | ) | [private] |
Definition at line 41 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView._get_canvas | ( | self | ) | [private] |
Definition at line 63 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView._get_zoom | ( | self | ) | [private] |
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.
| def nodebox_graphics.NodeBoxGraphicsView.dragZoom_ | ( | self, | |
| value | |||
| ) |
Definition at line 134 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.findNearestZoomIndex | ( | self, | |
| zoom | |||
| ) |
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.
| def nodebox_graphics.NodeBoxGraphicsView.keyPressEvent | ( | self, | |
| event | |||
| ) |
Definition at line 192 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.keyReleaseEvent | ( | self, | |
| event | |||
| ) |
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.
| def nodebox_graphics.NodeBoxGraphicsView.mouseDoubleClickEvent | ( | self, | |
| event | |||
| ) |
Definition at line 176 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.mouseMoveEvent | ( | self, | |
| event | |||
| ) |
Definition at line 182 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.mousePressEvent | ( | self, | |
| event | |||
| ) |
Definition at line 165 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.mouseReleaseEvent | ( | self, | |
| event | |||
| ) |
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.
| def nodebox_graphics.NodeBoxGraphicsView.shape | ( | self | ) |
Definition at line 38 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.wheelEvent | ( | self, | |
| event | |||
| ) |
Definition at line 202 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.zoomIn_ | ( | self | ) |
Definition at line 110 of file nodebox_graphics.py.
| def nodebox_graphics.NodeBoxGraphicsView.zoomOut_ | ( | self | ) |
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.
| def nodebox_graphics.NodeBoxGraphicsView.zoomToFit_ | ( | self | ) |
Definition at line 129 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 12 of file nodebox_graphics.py.
float nodebox_graphics.NodeBoxGraphicsView::zoom = 1.0 [static] |
Definition at line 6 of file nodebox_graphics.py.
int nodebox_graphics.NodeBoxGraphicsView::zoom = 5 [static] |
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.
nodebox_graphics.NodeBoxGraphicsView::canvas = property(_get_canvas, _set_canvas) [static] |
Definition at line 80 of file nodebox_graphics.py.
nodebox_graphics.NodeBoxGraphicsView::zoom = property(_get_zoom, _set_zoom) [static] |
Definition at line 93 of file nodebox_graphics.py.