KLayout Manual: Main Index » Class Index » API reference - Class QGraphicsSceneMouseEventAPI reference - Class QGraphicsSceneMouseEventNotation used in Ruby API documentation Description: Binding of QGraphicsSceneMouseEvent Class hierarchy: QGraphicsSceneMouseEvent » QGraphicsSceneEvent » QEvent Public constructors
Public methods
Detailed description[const] Qt_MouseButton buttonDescription: Method Qt::MouseButton QGraphicsSceneMouseEvent::button() void button=(const Qt_MouseButton button)Description: Method void QGraphicsSceneMouseEvent::setButton(Qt::MouseButton button) [const] QPointF buttonDownPos(const Qt_MouseButton button)Description: Method QPointF QGraphicsSceneMouseEvent::buttonDownPos(Qt::MouseButton button) [const] QPointF buttonDownScenePos(const Qt_MouseButton button)Description: Method QPointF QGraphicsSceneMouseEvent::buttonDownScenePos(Qt::MouseButton button) [const] QPoint buttonDownScreenPos(const Qt_MouseButton button)Description: Method QPoint QGraphicsSceneMouseEvent::buttonDownScreenPos(Qt::MouseButton button) [const] int buttonsDescription: Method QFlags<enum Qt::MouseButton> QGraphicsSceneMouseEvent::buttons() void buttons=(int buttons)Description: Method void QGraphicsSceneMouseEvent::setButtons(QFlags<enum Qt::MouseButton> buttons) void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. [const] QPointF lastPosDescription: Method QPointF QGraphicsSceneMouseEvent::lastPos() void lastPos=(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setLastPos(const QPointF &pos) [const] QPointF lastScenePosDescription: Method QPointF QGraphicsSceneMouseEvent::lastScenePos() void lastScenePos=(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setLastScenePos(const QPointF &pos) [const] QPoint lastScreenPosDescription: Method QPoint QGraphicsSceneMouseEvent::lastScreenPos() void lastScreenPos=(const QPoint pos)Description: Method void QGraphicsSceneMouseEvent::setLastScreenPos(const QPoint &pos) [const] int modifiersDescription: Method QFlags<enum Qt::KeyboardModifier> QGraphicsSceneMouseEvent::modifiers() void modifiers=(int modifiers)Description: Method void QGraphicsSceneMouseEvent::setModifiers(QFlags<enum Qt::KeyboardModifier> modifiers) [static] new QGraphicsSceneMouseEvent newDescription: Constructor QGraphicsSceneMouseEvent::QGraphicsSceneMouseEvent(QEvent::Type type) This method creates an object of class QGraphicsSceneMouseEvent. [static] new QGraphicsSceneMouseEvent new(const QEvent_Type type)Description: Constructor QGraphicsSceneMouseEvent::QGraphicsSceneMouseEvent(QEvent::Type type) This method creates an object of class QGraphicsSceneMouseEvent. [const] QPointF posDescription: Method QPointF QGraphicsSceneMouseEvent::pos() void pos=(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setPos(const QPointF &pos) [const] QPointF scenePosDescription: Method QPointF QGraphicsSceneMouseEvent::scenePos() void scenePos=(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setScenePos(const QPointF &pos) [const] QPoint screenPosDescription: Method QPoint QGraphicsSceneMouseEvent::screenPos() void screenPos=(const QPoint pos)Description: Method void QGraphicsSceneMouseEvent::setScreenPos(const QPoint &pos) void setButton(const Qt_MouseButton button)Description: Method void QGraphicsSceneMouseEvent::setButton(Qt::MouseButton button) void setButtonDownPos(const Qt_MouseButton button,const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setButtonDownPos(Qt::MouseButton button, const QPointF &pos) void setButtonDownScenePos(const Qt_MouseButton button,const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setButtonDownScenePos(Qt::MouseButton button, const QPointF &pos) void setButtonDownScreenPos(const Qt_MouseButton button,const QPoint pos)Description: Method void QGraphicsSceneMouseEvent::setButtonDownScreenPos(Qt::MouseButton button, const QPoint &pos) void setButtons(int buttons)Description: Method void QGraphicsSceneMouseEvent::setButtons(QFlags<enum Qt::MouseButton> buttons) void setLastPos(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setLastPos(const QPointF &pos) void setLastScenePos(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setLastScenePos(const QPointF &pos) void setLastScreenPos(const QPoint pos)Description: Method void QGraphicsSceneMouseEvent::setLastScreenPos(const QPoint &pos) void setModifiers(int modifiers)Description: Method void QGraphicsSceneMouseEvent::setModifiers(QFlags<enum Qt::KeyboardModifier> modifiers) void setPos(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setPos(const QPointF &pos) void setScenePos(const QPointF pos)Description: Method void QGraphicsSceneMouseEvent::setScenePos(const QPointF &pos) void setScreenPos(const QPoint pos)Description: Method void QGraphicsSceneMouseEvent::setScreenPos(const QPoint &pos) |