Home · All Classes · Modules

QGraphicsSceneEvent Class Reference
[QtGui module]

The QGraphicsSceneEvent class provides a base class for all graphics view related events. More...

Inherits QEvent.

Inherited by QGraphicsSceneContextMenuEvent, QGraphicsSceneDragDropEvent, QGraphicsSceneHelpEvent, QGraphicsSceneHoverEvent, QGraphicsSceneMouseEvent and QGraphicsSceneWheelEvent.

Methods


Detailed Description

The QGraphicsSceneEvent class provides a base class for all graphics view related events.


Method Documentation

QGraphicsSceneEvent.__init__ (self, QEvent.Type type)

QGraphicsSceneEvent.__init__ (self, QGraphicsSceneEvent)

QGraphicsSceneEvent.setWidget (self, QWidget widget)

Sets the widget related to this event.

See also widget().

QWidget QGraphicsSceneEvent.widget (self)

Returns the widget where the event originated. If the event did not originate from a widget, 0 is returned.

See also setWidget().


PyQt 4.1 for X11Copyright © Riverbank Computing Ltd and Trolltech AS 2006Qt 4.2.1