gdesk.graphics.view module¶
- class gdesk.graphics.view.SceneView(parent)¶
Bases:
PySide2.QtWidgets.QGraphicsView
- limitRefreshRange()¶
- mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent) → None¶
- mouseMoveEvent(self, event: PySide2.QtGui.QMouseEvent) → None¶
- mousePressEvent(self, event: PySide2.QtGui.QMouseEvent) → None¶
- pixelSize()¶
Return vector with the length and width of one view pixel in scene coordinates
- refresh()¶
- resizeEvent(self, event: PySide2.QtGui.QResizeEvent) → None¶
- scale_ended¶
- scaled¶
- setRange(scene_width, scene_height)¶
- setXLimits(low, high, left_border=0, right_border=0)¶
- setXPosScale(pos, scale)¶
- setYLimits(low, high, bottom_border=0, top_border=0)¶
- setYPosScale(pos, scale)¶
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- translate(self, dx: float, dy: float) → None¶
- translate_ended¶
- translated¶
- updateMatrix(propagate=True)¶
- useOpenGL(b=True)¶
- viewRectCoord()¶
- wheelEvent(self, event: PySide2.QtGui.QWheelEvent) → None¶
- zoom_full¶