pyqtgraph/graphicsItems/GraphicsObject.py

16 lines
563 B
Python
Raw Normal View History

from pyqtgraph.Qt import QtGui, QtCore
2012-04-16 20:45:55 +00:00
from GraphicsItem import GraphicsItem
__all__ = ['GraphicsObject']
2012-04-16 20:45:55 +00:00
class GraphicsObject(GraphicsItem, QtGui.QGraphicsObject):
"""
**Bases:** :class:`GraphicsItem <pyqtgraph.graphicsItems.GraphicsItem>`, :class:`QtGui.QGraphicsObject`
Extension of QGraphicsObject with some useful methods (provided by :class:`GraphicsItem <pyqtgraph.graphicsItems.GraphicsItem>`)
"""
def __init__(self, *args):
QtGui.QGraphicsObject.__init__(self, *args)
2012-04-16 20:45:55 +00:00
GraphicsItem.__init__(self)