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

API reference - Class QPinchGesture

Notation used in Ruby API documentation

Description: Binding of QPinchGesture

Class hierarchy: QPinchGesture » QGesture » QObject

Public constructors

new QPinchGesturenewConstructor QPinchGesture::QPinchGesture(QObject *parent)
new QPinchGesturenew(QObject ptr parent)Constructor QPinchGesture::QPinchGesture(QObject *parent)

Public methods

[const]QPointFcenterPointMethod QPointF QPinchGesture::centerPoint()
voidcenterPoint=(const QPointF value)Method void QPinchGesture::setCenterPoint(const QPointF &value)
[const]intchangeFlagsMethod QFlags<enum QPinchGesture::ChangeFlag> QPinchGesture::changeFlags()
voidchangeFlags=(int value)Method void QPinchGesture::setChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[virtual]boolevent(QEvent ptr arg1)Virtual method bool QPinchGesture::event(QEvent *)
[virtual]booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QPinchGesture::eventFilter(QObject *, QEvent *)
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]QPointFlastCenterPointMethod QPointF QPinchGesture::lastCenterPoint()
voidlastCenterPoint=(const QPointF value)Method void QPinchGesture::setLastCenterPoint(const QPointF &value)
[const]doublelastRotationAngleMethod double QPinchGesture::lastRotationAngle()
voidlastRotationAngle=(double value)Method void QPinchGesture::setLastRotationAngle(double value)
[const]doublelastScaleFactorMethod double QPinchGesture::lastScaleFactor()
voidlastScaleFactor=(double value)Method void QPinchGesture::setLastScaleFactor(double value)
[const]doublerotationAngleMethod double QPinchGesture::rotationAngle()
voidrotationAngle=(double value)Method void QPinchGesture::setRotationAngle(double value)
[const]doublescaleFactorMethod double QPinchGesture::scaleFactor()
voidscaleFactor=(double value)Method void QPinchGesture::setScaleFactor(double value)
voidsetCenterPoint(const QPointF value)Method void QPinchGesture::setCenterPoint(const QPointF &value)
voidsetChangeFlags(int value)Method void QPinchGesture::setChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)
voidsetLastCenterPoint(const QPointF value)Method void QPinchGesture::setLastCenterPoint(const QPointF &value)
voidsetLastRotationAngle(double value)Method void QPinchGesture::setLastRotationAngle(double value)
voidsetLastScaleFactor(double value)Method void QPinchGesture::setLastScaleFactor(double value)
voidsetRotationAngle(double value)Method void QPinchGesture::setRotationAngle(double value)
voidsetScaleFactor(double value)Method void QPinchGesture::setScaleFactor(double value)
voidsetStartCenterPoint(const QPointF value)Method void QPinchGesture::setStartCenterPoint(const QPointF &value)
voidsetTotalChangeFlags(int value)Method void QPinchGesture::setTotalChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)
voidsetTotalRotationAngle(double value)Method void QPinchGesture::setTotalRotationAngle(double value)
voidsetTotalScaleFactor(double value)Method void QPinchGesture::setTotalScaleFactor(double value)
[const]QPointFstartCenterPointMethod QPointF QPinchGesture::startCenterPoint()
voidstartCenterPoint=(const QPointF value)Method void QPinchGesture::setStartCenterPoint(const QPointF &value)
[const]inttotalChangeFlagsMethod QFlags<enum QPinchGesture::ChangeFlag> QPinchGesture::totalChangeFlags()
voidtotalChangeFlags=(int value)Method void QPinchGesture::setTotalChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)
[const]doubletotalRotationAngleMethod double QPinchGesture::totalRotationAngle()
voidtotalRotationAngle=(double value)Method void QPinchGesture::setTotalRotationAngle(double value)
[const]doubletotalScaleFactorMethod double QPinchGesture::totalScaleFactor()
voidtotalScaleFactor=(double value)Method void QPinchGesture::setTotalScaleFactor(double value)

Public static methods and constants

QPinchGesture_ChangeFlagCenterPointChangedEnum constant enum QPinchGesture::CenterPointChanged
QPinchGesture_ChangeFlagRotationAngleChangedEnum constant enum QPinchGesture::RotationAngleChanged
QPinchGesture_ChangeFlagScaleFactorChangedEnum constant enum QPinchGesture::ScaleFactorChanged
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s)Static method QString QPinchGesture::tr(const char *s, const char *c)
stringtr(string s,
string c)
Static method QString QPinchGesture::tr(const char *s, const char *c)
stringtr(string s,
string c,
int n)
Static method QString QPinchGesture::tr(const char *s, const char *c, int n)
stringtrUtf8(string s)Static method QString QPinchGesture::trUtf8(const char *s, const char *c)
stringtrUtf8(string s,
string c)
Static method QString QPinchGesture::trUtf8(const char *s, const char *c)
stringtrUtf8(string s,
string c,
int n)
Static method QString QPinchGesture::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

[virtual]voidchildEvent(QChildEvent ptr arg1)Virtual method void QPinchGesture::childEvent(QChildEvent *)
[virtual]voidcustomEvent(QEvent ptr arg1)Virtual method void QPinchGesture::customEvent(QEvent *)
voiddestroyedMethod void QPinchGesture::destroyed(QObject *)
voiddestroyed(QObject ptr arg1)Method void QPinchGesture::destroyed(QObject *)
[virtual]voiddisconnectNotify(string signal)Virtual method void QPinchGesture::disconnectNotify(const char *signal)
[const]intreceivers(string signal)Method int QPinchGesture::receivers(const char *signal)
[const]QObject ptrsenderMethod QObject * QPinchGesture::sender()
[virtual]voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QPinchGesture::timerEvent(QTimerEvent *)

Detailed description

[static] QPinchGesture_ChangeFlag CenterPointChanged

Description: Enum constant enum QPinchGesture::CenterPointChanged

[static] QPinchGesture_ChangeFlag RotationAngleChanged

Description: Enum constant enum QPinchGesture::RotationAngleChanged

[static] QPinchGesture_ChangeFlag ScaleFactorChanged

Description: Enum constant enum QPinchGesture::ScaleFactorChanged

[const] QPointF centerPoint

Description: Method QPointF QPinchGesture::centerPoint()

void centerPoint=(const QPointF value)

Description: Method void QPinchGesture::setCenterPoint(const QPointF &value)

[const] int changeFlags

Description: Method QFlags<enum QPinchGesture::ChangeFlag> QPinchGesture::changeFlags()

void changeFlags=(int value)

Description: Method void QPinchGesture::setChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)

[virtual] void childEvent(QChildEvent ptr arg1)

Description: Virtual method void QPinchGesture::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

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.

[virtual] void customEvent(QEvent ptr arg1)

Description: Virtual method void QPinchGesture::customEvent(QEvent *)

This method can be reimplemented in a derived class.

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.

void destroyed

Description: Method void QPinchGesture::destroyed(QObject *)

This method is protected and can only be called from inside a derived class.

void destroyed(QObject ptr arg1)

Description: Method void QPinchGesture::destroyed(QObject *)

This method is protected and can only be called from inside a derived class.

[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.

[virtual] void disconnectNotify(string signal)

Description: Virtual method void QPinchGesture::disconnectNotify(const char *signal)

This method can be reimplemented in a derived class.

[virtual] bool event(QEvent ptr arg1)

Description: Virtual method bool QPinchGesture::event(QEvent *)

This method can be reimplemented in a derived class.

[virtual] bool eventFilter(QObject ptr arg1,QEvent ptr arg2)

Description: Virtual method bool QPinchGesture::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

[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 lastCenterPoint

Description: Method QPointF QPinchGesture::lastCenterPoint()

void lastCenterPoint=(const QPointF value)

Description: Method void QPinchGesture::setLastCenterPoint(const QPointF &value)

[const] double lastRotationAngle

Description: Method double QPinchGesture::lastRotationAngle()

void lastRotationAngle=(double value)

Description: Method void QPinchGesture::setLastRotationAngle(double value)

[const] double lastScaleFactor

Description: Method double QPinchGesture::lastScaleFactor()

void lastScaleFactor=(double value)

Description: Method void QPinchGesture::setLastScaleFactor(double value)

[static] new QPinchGesture new

Description: Constructor QPinchGesture::QPinchGesture(QObject *parent)

This method creates an object of class QPinchGesture.

[static] new QPinchGesture new(QObject ptr parent)

Description: Constructor QPinchGesture::QPinchGesture(QObject *parent)

This method creates an object of class QPinchGesture.

[const] int receivers(string signal)

Description: Method int QPinchGesture::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

[const] double rotationAngle

Description: Method double QPinchGesture::rotationAngle()

void rotationAngle=(double value)

Description: Method void QPinchGesture::setRotationAngle(double value)

[const] double scaleFactor

Description: Method double QPinchGesture::scaleFactor()

void scaleFactor=(double value)

Description: Method void QPinchGesture::setScaleFactor(double value)

[const] QObject ptr sender

Description: Method QObject * QPinchGesture::sender()

This method is protected and can only be called from inside a derived class.

void setCenterPoint(const QPointF value)

Description: Method void QPinchGesture::setCenterPoint(const QPointF &value)

void setChangeFlags(int value)

Description: Method void QPinchGesture::setChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)

void setLastCenterPoint(const QPointF value)

Description: Method void QPinchGesture::setLastCenterPoint(const QPointF &value)

void setLastRotationAngle(double value)

Description: Method void QPinchGesture::setLastRotationAngle(double value)

void setLastScaleFactor(double value)

Description: Method void QPinchGesture::setLastScaleFactor(double value)

void setRotationAngle(double value)

Description: Method void QPinchGesture::setRotationAngle(double value)

void setScaleFactor(double value)

Description: Method void QPinchGesture::setScaleFactor(double value)

void setStartCenterPoint(const QPointF value)

Description: Method void QPinchGesture::setStartCenterPoint(const QPointF &value)

void setTotalChangeFlags(int value)

Description: Method void QPinchGesture::setTotalChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)

void setTotalRotationAngle(double value)

Description: Method void QPinchGesture::setTotalRotationAngle(double value)

void setTotalScaleFactor(double value)

Description: Method void QPinchGesture::setTotalScaleFactor(double value)

[const] QPointF startCenterPoint

Description: Method QPointF QPinchGesture::startCenterPoint()

void startCenterPoint=(const QPointF value)

Description: Method void QPinchGesture::setStartCenterPoint(const QPointF &value)

[static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

[virtual] void timerEvent(QTimerEvent ptr arg1)

Description: Virtual method void QPinchGesture::timerEvent(QTimerEvent *)

This method can be reimplemented in a derived class.

[const] int totalChangeFlags

Description: Method QFlags<enum QPinchGesture::ChangeFlag> QPinchGesture::totalChangeFlags()

void totalChangeFlags=(int value)

Description: Method void QPinchGesture::setTotalChangeFlags(QFlags<enum QPinchGesture::ChangeFlag> value)

[const] double totalRotationAngle

Description: Method double QPinchGesture::totalRotationAngle()

void totalRotationAngle=(double value)

Description: Method void QPinchGesture::setTotalRotationAngle(double value)

[const] double totalScaleFactor

Description: Method double QPinchGesture::totalScaleFactor()

void totalScaleFactor=(double value)

Description: Method void QPinchGesture::setTotalScaleFactor(double value)

[static] string tr(string s)

Description: Static method QString QPinchGesture::tr(const char *s, const char *c)

This method is static and can be called without an instance.

[static] string tr(string s,string c)

Description: Static method QString QPinchGesture::tr(const char *s, const char *c)

This method is static and can be called without an instance.

[static] string tr(string s,string c,int n)

Description: Static method QString QPinchGesture::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

[static] string trUtf8(string s)

Description: Static method QString QPinchGesture::trUtf8(const char *s, const char *c)

This method is static and can be called without an instance.

[static] string trUtf8(string s,string c)

Description: Static method QString QPinchGesture::trUtf8(const char *s, const char *c)

This method is static and can be called without an instance.

[static] string trUtf8(string s,string c,int n)

Description: Static method QString QPinchGesture::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.