Home · All Classes · Modules

QVariant Class Reference
[QtCore module]

Types

Methods

Static Methods

Special Methods


Detailed Description

Any Python object may be used whenever a QVariant is expected. None will be interpreted as an invalid QVariant.


Type Documentation

QVariant.Type


Method Documentation

QVariant.__init__ (self)

QVariant.__init__ (self, Type)

QVariant.__init__ (self, int, sip.voidptr)

QVariant.__init__ (self, QVariant)

QVariant.__init__ (self, object)

bool QVariant.canConvert (self, Type)

QVariant.clear (self)

bool QVariant.convert (self, Type)

sip.voidptr QVariant.data (self)

QVariant.detach (self)

QVariant QVariant.fromList (list-of-QVariant list)

QVariant QVariant.fromMap (dict-of-QString-QVariant map)

bool QVariant.isDetached (self)

bool QVariant.isNull (self)

bool QVariant.isValid (self)

QVariant.load (self, QDataStream)

Type QVariant.nameToType (str)

QVariant.save (self, QDataStream)

QBitArray QVariant.toBitArray (self)

bool QVariant.toBool (self)

QByteArray QVariant.toByteArray (self)

QChar QVariant.toChar (self)

QDate QVariant.toDate (self)

QDateTime QVariant.toDateTime (self)

(float, bool ok) QVariant.toDouble (self)

QEasingCurve QVariant.toEasingCurve (self)

(float, bool ok) QVariant.toFloat (self)

dict-of-QString-QVariant QVariant.toHash (self)

(int, bool ok) QVariant.toInt (self)

QLine QVariant.toLine (self)

QLineF QVariant.toLineF (self)

list-of-QVariant QVariant.toList (self)

QLocale QVariant.toLocale (self)

(int, bool ok) QVariant.toLongLong (self)

dict-of-QString-QVariant QVariant.toMap (self)

QPoint QVariant.toPoint (self)

QPointF QVariant.toPointF (self)

object QVariant.toPyObject (self)

(float, bool ok) QVariant.toReal (self)

QRect QVariant.toRect (self)

QRectF QVariant.toRectF (self)

QRegExp QVariant.toRegExp (self)

QSize QVariant.toSize (self)

QSizeF QVariant.toSizeF (self)

QString QVariant.toString (self)

QStringList QVariant.toStringList (self)

QTime QVariant.toTime (self)

(int, bool ok) QVariant.toUInt (self)

(int, bool ok) QVariant.toULongLong (self)

QUrl QVariant.toUrl (self)

Type QVariant.type (self)

str QVariant.typeName (self)

str QVariant.typeToName (Type)

int QVariant.userType (self)

bool QVariant.__eq__ (self, QVariant)

bool QVariant.__ne__ (self, QVariant)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0