<class name="QGraphicsSceneWheelEvent" doc="/** <p>The <a href="QGraphicsSceneWheelEvent.html#QGraphicsSceneWheelEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QGraphicsSceneWheelEvent</tt></a> class provides wheel events in the graphics view framework.</p> <p>The <a href="QGraphicsSceneWheelEvent.html#QGraphicsSceneWheelEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QGraphicsSceneWheelEvent</tt></a> class provides wheel events in the graphics view framework.</p> <p><a href="QWheelEvent.html">QWheelEvent</a>s received by a <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> are translated into QGraphicsSceneWheelEvents; it translates the QWheelEvent::globalPos() into item, scene, and screen coordinates (<a href="QGraphicsSceneWheelEvent.html#pos()"><tt>pos</tt></a>, <a href="QGraphicsSceneWheelEvent.html#scenePos()"><tt>scenePos</tt></a>, and <a href="QGraphicsSceneWheelEvent.html#screenPos()"><tt>screenPos</tt></a>).</p> @see <a href="QGraphicsSceneMouseEvent.html"><tt>QGraphicsSceneMouseEvent</tt></a> @see <a href="QGraphicsSceneContextMenuEvent.html"><tt>QGraphicsSceneContextMenuEvent</tt></a> @see <a href="QGraphicsSceneHoverEvent.html"><tt>QGraphicsSceneHoverEvent</tt></a> @see <a href="QWheelEvent.html"><tt>QWheelEvent</tt></a> */"> <method name="public QGraphicsSceneWheelEvent(com.trolltech.qt.core.QEvent.Type type)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> */"/> <method name="public QGraphicsSceneWheelEvent()" doc="/** <p>Equivalent to <a href="QGraphicsSceneWheelEvent.html#QGraphicsSceneWheelEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QGraphicsSceneWheelEvent</tt></a>(None). */"/> <method name="public final com.trolltech.qt.core.Qt.MouseButtons buttons()" doc="/** <p>Returns the mouse buttons that were pressed when the wheel event occurred.</p> @see <a href="QGraphicsSceneWheelEvent.html#setButtons(com.trolltech.qt.core.Qt.MouseButtons)"><tt>setButtons</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#modifiers()"><tt>modifiers</tt></a> */"/> <method name="public final int delta()" doc="/** <p>Returns the distance that the wheel is rotated, in eighths (1/8s) of a degree. A positive value indicates that the wheel was rotated forwards away from the user; a negative value indicates that the wheel was rotated backwards toward the user.</p> <p>Most mouse types work in steps of 15 degrees, in which case the delta value is a multiple of 120 (== 15 * 8).</p> @see <a href="QGraphicsSceneWheelEvent.html#setDelta(int)"><tt>setDelta</tt></a> */"/> <method name="public final com.trolltech.qt.core.Qt.KeyboardModifiers modifiers()" doc="/** <p>Returns the keyboard modifiers that were active when the wheel event occurred.</p> @see <a href="QGraphicsSceneWheelEvent.html#setModifiers(com.trolltech.qt.core.Qt.KeyboardModifiers)"><tt>setModifiers</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#buttons()"><tt>buttons</tt></a> */"/> <method name="public final com.trolltech.qt.core.Qt.Orientation orientation()" doc="/** <p>Returns the wheel orientation.</p> @see <a href="QGraphicsSceneWheelEvent.html#setOrientation(com.trolltech.qt.core.Qt.Orientation)"><tt>setOrientation</tt></a> */"/> <method name="public final com.trolltech.qt.core.QPointF pos()" doc="/** <p>Returns the position of the cursor in item coordinates when the wheel event occurred.</p> @see <a href="QGraphicsSceneWheelEvent.html#setPos(com.trolltech.qt.core.QPointF)"><tt>setPos</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#scenePos()"><tt>scenePos</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#screenPos()"><tt>screenPos</tt></a> */"/> <method name="public final com.trolltech.qt.core.QPointF scenePos()" doc="/** <p>Returns the position of the cursor in item coordinates when the wheel event occurred.</p> @see <a href="QGraphicsSceneWheelEvent.html#setScenePos(com.trolltech.qt.core.QPointF)"><tt>setScenePos</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#pos()"><tt>pos</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#screenPos()"><tt>screenPos</tt></a> */"/> <method name="public final com.trolltech.qt.core.QPoint screenPos()" doc="/** <p>Returns the position of the cursor in screen coordinates when the wheel event occurred.</p> @see <a href="QGraphicsSceneWheelEvent.html#setScreenPos(com.trolltech.qt.core.QPoint)"><tt>setScreenPos</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#pos()"><tt>pos</tt></a> @see <a href="QGraphicsSceneWheelEvent.html#scenePos()"><tt>scenePos</tt></a> */"/> <method name="public final void setButtons(com.trolltech.qt.core.Qt.MouseButtons buttons)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneWheelEvent.html#buttons()"><tt>buttons</tt></a> */"/> <method name="public final void setDelta(int delta)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneWheelEvent.html#delta()"><tt>delta</tt></a> */"/> <method name="public final void setModifiers(com.trolltech.qt.core.Qt.KeyboardModifiers modifiers)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneWheelEvent.html#modifiers()"><tt>modifiers</tt></a> */"/> <method name="public final void setOrientation(com.trolltech.qt.core.Qt.Orientation orientation)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneWheelEvent.html#orientation()"><tt>orientation</tt></a> */"/> <method name="public final void setPos(com.trolltech.qt.core.QPointF pos)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneWheelEvent.html#pos()"><tt>pos</tt></a> */"/> <method name="public final void setScenePos(com.trolltech.qt.core.QPointF pos)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneWheelEvent.html#scenePos()"><tt>scenePos</tt></a> */"/> <method name="public final void setScreenPos(com.trolltech.qt.core.QPoint pos)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneWheelEvent.html#screenPos()"><tt>screenPos</tt></a> */"/> </class>