KLayout Manual: Main Index » Class Index » API reference - Class QGestureEvent

API reference - Class QGestureEvent

Notation used in Ruby API documentation

Description: Binding of QGestureEvent

Class hierarchy: QGestureEvent » QEvent

Public constructors

new QGestureEventnew(QGesture ptr[] gestures)Constructor QGestureEvent::QGestureEvent(const QList<class QGesture *> &gestures)

Public methods

voidaccept(QGesture ptr arg1)Method void QGestureEvent::accept(QGesture *)
voidaccept(const Qt_GestureType arg1)Method void QGestureEvent::accept(Qt::GestureType )
[const]QGesture ptr[]activeGesturesMethod QList<class QGesture *> QGestureEvent::activeGestures()
[const]voidassign(const QGestureEvent other)Assign the contents of another object to self
[const]QGesture ptr[]canceledGesturesMethod QList<class QGesture *> QGestureEvent::canceledGestures()
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QGestureEventdupCreates a copy of self
[const]QGesture ptrgesture(const Qt_GestureType type)Method QGesture * QGestureEvent::gesture(Qt::GestureType type)
[const]QGesture ptr[]gesturesMethod QList<class QGesture *> QGestureEvent::gestures()
voidignore(QGesture ptr arg1)Method void QGestureEvent::ignore(QGesture *)
voidignore(const Qt_GestureType arg1)Method void QGestureEvent::ignore(Qt::GestureType )
[const]boolisAccepted(QGesture ptr arg1)Method bool QGestureEvent::isAccepted(QGesture *)
[const]boolisAccepted(const Qt_GestureType arg1)Method bool QGestureEvent::isAccepted(Qt::GestureType )
[const]boolisAccepted?(QGesture ptr arg1)Method bool QGestureEvent::isAccepted(QGesture *)
[const]boolisAccepted?(const Qt_GestureType arg1)Method bool QGestureEvent::isAccepted(Qt::GestureType )
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]QPointFmapToGraphicsScene(const QPointF gesturePoint)Method QPointF QGestureEvent::mapToGraphicsScene(const QPointF &gesturePoint)
voidsetAccepted(QGesture ptr arg1,
bool arg2)
Method void QGestureEvent::setAccepted(QGesture *, bool )
voidsetAccepted(const Qt_GestureType arg1,
bool arg2)
Method void QGestureEvent::setAccepted(Qt::GestureType, bool )
voidsetWidget(QWidget ptr widget)Method void QGestureEvent::setWidget(QWidget *widget)
[const]QWidget ptrwidgetMethod QWidget * QGestureEvent::widget()
voidwidget=(QWidget ptr widget)Method void QGestureEvent::setWidget(QWidget *widget)

Detailed description

void accept(QGesture ptr arg1)

Description: Method void QGestureEvent::accept(QGesture *)

void accept(const Qt_GestureType arg1)

Description: Method void QGestureEvent::accept(Qt::GestureType )

[const] QGesture ptr[] activeGestures

Description: Method QList<class QGesture *> QGestureEvent::activeGestures()

[const] void assign(const QGestureEvent other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

[const] QGesture ptr[] canceledGestures

Description: Method QList<class QGesture *> QGestureEvent::canceledGestures()

void create

Description: 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 destroy

Description: 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] QGestureEvent dup

Description: Creates a copy of self

[const] QGesture ptr gesture(const Qt_GestureType type)

Description: Method QGesture * QGestureEvent::gesture(Qt::GestureType type)

[const] QGesture ptr[] gestures

Description: Method QList<class QGesture *> QGestureEvent::gestures()

void ignore(QGesture ptr arg1)

Description: Method void QGestureEvent::ignore(QGesture *)

void ignore(const Qt_GestureType arg1)

Description: Method void QGestureEvent::ignore(Qt::GestureType )

[const] bool isAccepted(QGesture ptr arg1)

Description: Method bool QGestureEvent::isAccepted(QGesture *)

[const] bool isAccepted(const Qt_GestureType arg1)

Description: Method bool QGestureEvent::isAccepted(Qt::GestureType )

[const] bool isAccepted?(QGesture ptr arg1)

Description: Method bool QGestureEvent::isAccepted(QGesture *)

[const] bool isAccepted?(const Qt_GestureType arg1)

Description: Method bool QGestureEvent::isAccepted(Qt::GestureType )

[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 mapToGraphicsScene(const QPointF gesturePoint)

Description: Method QPointF QGestureEvent::mapToGraphicsScene(const QPointF &gesturePoint)

[static] new QGestureEvent new(QGesture ptr[] gestures)

Description: Constructor QGestureEvent::QGestureEvent(const QList<class QGesture *> &gestures)

This method creates an object of class QGestureEvent.

void setAccepted(QGesture ptr arg1,bool arg2)

Description: Method void QGestureEvent::setAccepted(QGesture *, bool )

void setAccepted(const Qt_GestureType arg1,bool arg2)

Description: Method void QGestureEvent::setAccepted(Qt::GestureType, bool )

void setWidget(QWidget ptr widget)

Description: Method void QGestureEvent::setWidget(QWidget *widget)

[const] QWidget ptr widget

Description: Method QWidget * QGestureEvent::widget()

void widget=(QWidget ptr widget)

Description: Method void QGestureEvent::setWidget(QWidget *widget)