Qt 4.8
Public Functions | Properties | List of all members
QDeclarativeMatrix4x4ValueType Class Reference

#include <qdeclarativevaluetype_p.h>

Inheritance diagram for QDeclarativeMatrix4x4ValueType:
QDeclarativeValueType QObject

Public Functions

qreal m11 () const
 
qreal m12 () const
 
qreal m13 () const
 
qreal m14 () const
 
qreal m21 () const
 
qreal m22 () const
 
qreal m23 () const
 
qreal m24 () const
 
qreal m31 () const
 
qreal m32 () const
 
qreal m33 () const
 
qreal m34 () const
 
qreal m41 () const
 
qreal m42 () const
 
qreal m43 () const
 
qreal m44 () const
 
 QDeclarativeMatrix4x4ValueType (QObject *parent=0)
 
virtual void read (QObject *, int)
 
void setM11 (qreal value)
 
void setM12 (qreal value)
 
void setM13 (qreal value)
 
void setM14 (qreal value)
 
void setM21 (qreal value)
 
void setM22 (qreal value)
 
void setM23 (qreal value)
 
void setM24 (qreal value)
 
void setM31 (qreal value)
 
void setM32 (qreal value)
 
void setM33 (qreal value)
 
void setM34 (qreal value)
 
void setM41 (qreal value)
 
void setM42 (qreal value)
 
void setM43 (qreal value)
 
void setM44 (qreal value)
 
virtual void setValue (QVariant value)
 
virtual QVariant value ()
 
virtual void write (QObject *, int, QDeclarativePropertyPrivate::WriteFlags)
 
- Public Functions inherited from QDeclarativeValueType
 QDeclarativeValueType (QObject *parent=0)
 
- Public Functions inherited from QObject
bool blockSignals (bool b)
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More...
 
const QObjectListchildren () const
 Returns a list of child objects. More...
 
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
 
bool disconnect (const QObject *receiver, const char *member=0)
 
void dumpObjectInfo ()
 Dumps information about signal connections, etc. More...
 
void dumpObjectTree ()
 Dumps a tree of children to the debug output. More...
 
QList< QByteArraydynamicPropertyNames () const
 Returns the names of all properties that were dynamically added to the object using setProperty(). More...
 
virtual bool event (QEvent *)
 This virtual function receives events to an object and should return true if the event e was recognized and processed. More...
 
virtual bool eventFilter (QObject *, QEvent *)
 Filters events if this object has been installed as an event filter for the watched object. More...
 
template<typename T >
findChild (const QString &aName=QString()) const
 Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More...
 
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More...
 
template<typename T >
QList< T > findChildren (const QRegExp &re) const
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More...
 
void installEventFilter (QObject *)
 Installs an event filter filterObj on this object. More...
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false. More...
 
void killTimer (int id)
 Kills the timer with timer identifier, id. More...
 
virtual const QMetaObjectmetaObject () const
 Returns a pointer to the meta-object of this object. More...
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children. More...
 
QString objectName () const
 
QObjectparent () const
 Returns a pointer to the parent object. More...
 
QVariant property (const char *name) const
 Returns the value of the object's name property. More...
 
Q_INVOKABLE QObject (QObject *parent=0)
 Constructs an object with parent object parent. More...
 
void removeEventFilter (QObject *)
 Removes an event filter object obj from this object. More...
 
void setObjectName (const QString &name)
 
void setParent (QObject *)
 Makes the object a child of parent. More...
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value. More...
 
void setUserData (uint id, QObjectUserData *data)
 
bool signalsBlocked () const
 Returns true if signals are blocked; otherwise returns false. More...
 
int startTimer (int interval)
 Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More...
 
QThreadthread () const
 Returns the thread in which the object lives. More...
 
QObjectUserDatauserData (uint id) const
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects. More...
 

Properties

qreal m11
 
qreal m12
 
qreal m13
 
qreal m14
 
qreal m21
 
qreal m22
 
qreal m23
 
qreal m24
 
qreal m31
 
qreal m32
 
qreal m33
 
qreal m34
 
qreal m41
 
qreal m42
 
qreal m43
 
qreal m44
 
QMatrix4x4 matrix
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 Schedules this object for deletion. More...
 
- Signals inherited from QObject
void destroyed (QObject *=0)
 This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More...
 
- Static Public Functions inherited from QObject
static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More...
 
static bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 Disconnects signal in object sender from method in object receiver. More...
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static uint registerUserData ()
 
static QString tr (const char *sourceText, const char *comment=0, int n=-1)
 
static QString trUtf8 (const char *sourceText, const char *comment=0, int n=-1)
 
- Static Public Variables inherited from QObject
static const QMetaObject staticMetaObject
 This variable stores the meta-object for the class. More...
 
- Protected Functions inherited from QObject
virtual void childEvent (QChildEvent *)
 This event handler can be reimplemented in a subclass to receive child events. More...
 
virtual void connectNotify (const char *signal)
 This virtual function is called when something has been connected to signal in this object. More...
 
virtual void customEvent (QEvent *)
 This event handler can be reimplemented in a subclass to receive custom events. More...
 
virtual void disconnectNotify (const char *signal)
 This virtual function is called when something has been disconnected from signal in this object. More...
 
 QObject (QObjectPrivate &dd, QObject *parent=0)
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal. More...
 
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More...
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *)
 This event handler can be reimplemented in a subclass to receive timer events for the object. More...
 
- Protected Variables inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Static Protected Variables inherited from QObject
static const QMetaObject staticQtMetaObject
 

Detailed Description

Definition at line 353 of file qdeclarativevaluetype_p.h.

Constructors and Destructors

◆ QDeclarativeMatrix4x4ValueType()

QDeclarativeMatrix4x4ValueType::QDeclarativeMatrix4x4ValueType ( QObject parent = 0)

Definition at line 743 of file qdeclarativevaluetype.cpp.

744 : QDeclarativeValueType(parent)
745 {
746 }
QDeclarativeValueType(QObject *parent=0)

Functions

◆ m11()

qreal QDeclarativeMatrix4x4ValueType::m11 ( ) const
inline

Definition at line 380 of file qdeclarativevaluetype_p.h.

380 { return matrix(0, 0); }

◆ m12()

qreal QDeclarativeMatrix4x4ValueType::m12 ( ) const
inline

Definition at line 381 of file qdeclarativevaluetype_p.h.

381 { return matrix(0, 1); }

◆ m13()

qreal QDeclarativeMatrix4x4ValueType::m13 ( ) const
inline

Definition at line 382 of file qdeclarativevaluetype_p.h.

382 { return matrix(0, 2); }

◆ m14()

qreal QDeclarativeMatrix4x4ValueType::m14 ( ) const
inline

Definition at line 383 of file qdeclarativevaluetype_p.h.

383 { return matrix(0, 3); }

◆ m21()

qreal QDeclarativeMatrix4x4ValueType::m21 ( ) const
inline

Definition at line 384 of file qdeclarativevaluetype_p.h.

384 { return matrix(1, 0); }

◆ m22()

qreal QDeclarativeMatrix4x4ValueType::m22 ( ) const
inline

Definition at line 385 of file qdeclarativevaluetype_p.h.

385 { return matrix(1, 1); }

◆ m23()

qreal QDeclarativeMatrix4x4ValueType::m23 ( ) const
inline

Definition at line 386 of file qdeclarativevaluetype_p.h.

386 { return matrix(1, 2); }

◆ m24()

qreal QDeclarativeMatrix4x4ValueType::m24 ( ) const
inline

Definition at line 387 of file qdeclarativevaluetype_p.h.

387 { return matrix(1, 3); }

◆ m31()

qreal QDeclarativeMatrix4x4ValueType::m31 ( ) const
inline

Definition at line 388 of file qdeclarativevaluetype_p.h.

388 { return matrix(2, 0); }

◆ m32()

qreal QDeclarativeMatrix4x4ValueType::m32 ( ) const
inline

Definition at line 389 of file qdeclarativevaluetype_p.h.

389 { return matrix(2, 1); }

◆ m33()

qreal QDeclarativeMatrix4x4ValueType::m33 ( ) const
inline

Definition at line 390 of file qdeclarativevaluetype_p.h.

390 { return matrix(2, 2); }

◆ m34()

qreal QDeclarativeMatrix4x4ValueType::m34 ( ) const
inline

Definition at line 391 of file qdeclarativevaluetype_p.h.

391 { return matrix(2, 3); }

◆ m41()

qreal QDeclarativeMatrix4x4ValueType::m41 ( ) const
inline

Definition at line 392 of file qdeclarativevaluetype_p.h.

392 { return matrix(3, 0); }

◆ m42()

qreal QDeclarativeMatrix4x4ValueType::m42 ( ) const
inline

Definition at line 393 of file qdeclarativevaluetype_p.h.

393 { return matrix(3, 1); }

◆ m43()

qreal QDeclarativeMatrix4x4ValueType::m43 ( ) const
inline

Definition at line 394 of file qdeclarativevaluetype_p.h.

394 { return matrix(3, 2); }

◆ m44()

qreal QDeclarativeMatrix4x4ValueType::m44 ( ) const
inline

Definition at line 395 of file qdeclarativevaluetype_p.h.

395 { return matrix(3, 3); }

◆ read()

void QDeclarativeMatrix4x4ValueType::read ( QObject obj,
int  idx 
)
virtual

Implements QDeclarativeValueType.

Definition at line 748 of file qdeclarativevaluetype.cpp.

749 {
750  void *a[] = { &matrix, 0 };
752 }
static int metacall(QObject *, Call, int, void **)
long ASN1_INTEGER_get ASN1_INTEGER * a

◆ setM11()

void QDeclarativeMatrix4x4ValueType::setM11 ( qreal  value)
inline

Definition at line 397 of file qdeclarativevaluetype_p.h.

◆ setM12()

void QDeclarativeMatrix4x4ValueType::setM12 ( qreal  value)
inline

Definition at line 398 of file qdeclarativevaluetype_p.h.

◆ setM13()

void QDeclarativeMatrix4x4ValueType::setM13 ( qreal  value)
inline

Definition at line 399 of file qdeclarativevaluetype_p.h.

◆ setM14()

void QDeclarativeMatrix4x4ValueType::setM14 ( qreal  value)
inline

Definition at line 400 of file qdeclarativevaluetype_p.h.

◆ setM21()

void QDeclarativeMatrix4x4ValueType::setM21 ( qreal  value)
inline

Definition at line 401 of file qdeclarativevaluetype_p.h.

◆ setM22()

void QDeclarativeMatrix4x4ValueType::setM22 ( qreal  value)
inline

Definition at line 402 of file qdeclarativevaluetype_p.h.

◆ setM23()

void QDeclarativeMatrix4x4ValueType::setM23 ( qreal  value)
inline

Definition at line 403 of file qdeclarativevaluetype_p.h.

◆ setM24()

void QDeclarativeMatrix4x4ValueType::setM24 ( qreal  value)
inline

Definition at line 404 of file qdeclarativevaluetype_p.h.

◆ setM31()

void QDeclarativeMatrix4x4ValueType::setM31 ( qreal  value)
inline

Definition at line 405 of file qdeclarativevaluetype_p.h.

◆ setM32()

void QDeclarativeMatrix4x4ValueType::setM32 ( qreal  value)
inline

Definition at line 406 of file qdeclarativevaluetype_p.h.

◆ setM33()

void QDeclarativeMatrix4x4ValueType::setM33 ( qreal  value)
inline

Definition at line 407 of file qdeclarativevaluetype_p.h.

◆ setM34()

void QDeclarativeMatrix4x4ValueType::setM34 ( qreal  value)
inline

Definition at line 408 of file qdeclarativevaluetype_p.h.

◆ setM41()

void QDeclarativeMatrix4x4ValueType::setM41 ( qreal  value)
inline

Definition at line 409 of file qdeclarativevaluetype_p.h.

◆ setM42()

void QDeclarativeMatrix4x4ValueType::setM42 ( qreal  value)
inline

Definition at line 410 of file qdeclarativevaluetype_p.h.

◆ setM43()

void QDeclarativeMatrix4x4ValueType::setM43 ( qreal  value)
inline

Definition at line 411 of file qdeclarativevaluetype_p.h.

◆ setM44()

void QDeclarativeMatrix4x4ValueType::setM44 ( qreal  value)
inline

Definition at line 412 of file qdeclarativevaluetype_p.h.

◆ setValue()

void QDeclarativeMatrix4x4ValueType::setValue ( QVariant  value)
virtual

Implements QDeclarativeValueType.

Definition at line 766 of file qdeclarativevaluetype.cpp.

767 {
769 }
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
Definition: qmatrix4x4.h:63
T qvariant_cast(const QVariant &)
Definition: qvariant.h:571

◆ value()

QVariant QDeclarativeMatrix4x4ValueType::value ( )
virtual

Implements QDeclarativeValueType.

Definition at line 761 of file qdeclarativevaluetype.cpp.

Referenced by setValue().

762 {
763  return QVariant(matrix);
764 }
The QVariant class acts like a union for the most common Qt data types.
Definition: qvariant.h:92

◆ write()

void QDeclarativeMatrix4x4ValueType::write ( QObject obj,
int  idx,
QDeclarativePropertyPrivate::WriteFlags  flags 
)
virtual

Implements QDeclarativeValueType.

Definition at line 754 of file qdeclarativevaluetype.cpp.

755 {
756  int status = -1;
757  void *a[] = { &matrix, 0, &status, &flags };
759 }
static int metacall(QObject *, Call, int, void **)
static LibLoadStatus status
Definition: qlocale_icu.cpp:69
long ASN1_INTEGER_get ASN1_INTEGER * a

Properties

◆ m11

qreal QDeclarativeMatrix4x4ValueType::m11
private

Definition at line 355 of file qdeclarativevaluetype_p.h.

◆ m12

qreal QDeclarativeMatrix4x4ValueType::m12
private

Definition at line 356 of file qdeclarativevaluetype_p.h.

◆ m13

qreal QDeclarativeMatrix4x4ValueType::m13
private

Definition at line 357 of file qdeclarativevaluetype_p.h.

◆ m14

qreal QDeclarativeMatrix4x4ValueType::m14
private

Definition at line 358 of file qdeclarativevaluetype_p.h.

◆ m21

qreal QDeclarativeMatrix4x4ValueType::m21
private

Definition at line 359 of file qdeclarativevaluetype_p.h.

◆ m22

qreal QDeclarativeMatrix4x4ValueType::m22
private

Definition at line 360 of file qdeclarativevaluetype_p.h.

◆ m23

qreal QDeclarativeMatrix4x4ValueType::m23
private

Definition at line 361 of file qdeclarativevaluetype_p.h.

◆ m24

qreal QDeclarativeMatrix4x4ValueType::m24
private

Definition at line 362 of file qdeclarativevaluetype_p.h.

◆ m31

qreal QDeclarativeMatrix4x4ValueType::m31
private

Definition at line 363 of file qdeclarativevaluetype_p.h.

◆ m32

qreal QDeclarativeMatrix4x4ValueType::m32
private

Definition at line 364 of file qdeclarativevaluetype_p.h.

◆ m33

qreal QDeclarativeMatrix4x4ValueType::m33
private

Definition at line 365 of file qdeclarativevaluetype_p.h.

◆ m34

qreal QDeclarativeMatrix4x4ValueType::m34
private

Definition at line 366 of file qdeclarativevaluetype_p.h.

◆ m41

qreal QDeclarativeMatrix4x4ValueType::m41
private

Definition at line 367 of file qdeclarativevaluetype_p.h.

◆ m42

qreal QDeclarativeMatrix4x4ValueType::m42
private

Definition at line 368 of file qdeclarativevaluetype_p.h.

◆ m43

qreal QDeclarativeMatrix4x4ValueType::m43
private

Definition at line 369 of file qdeclarativevaluetype_p.h.

◆ m44

qreal QDeclarativeMatrix4x4ValueType::m44
private

Definition at line 370 of file qdeclarativevaluetype_p.h.

◆ matrix

QMatrix4x4 QDeclarativeMatrix4x4ValueType::matrix
private

Definition at line 415 of file qdeclarativevaluetype_p.h.

Referenced by read(), setValue(), value(), and write().


The documentation for this class was generated from the following files: