Table Of Contents

Previous topic

QPixmapCache

Next topic

QPictureIO

QPixmapCache.Key

Synopsis

Functions

Detailed Description

The QPixmapCache.Key class can be used for efficient access to the PySide.QtGui.QPixmapCache .

Use QPixmapCache.insert() to receive an instance of Key generated by the pixmap cache. You can store the key in your own objects for a very efficient one-to-one object-to-pixmap mapping.

class PySide.QtGui.QPixmapCache.Key
class PySide.QtGui.QPixmapCache.Key(other)
Parameters:otherPySide.QtGui.QPixmapCache::Key

Constructs an empty Key object.

Constructs a copy of other .

PySide.QtGui.QPixmapCache.Key.__ne__(key)
Parameters:keyPySide.QtGui.QPixmapCache::Key
Return type:PySide.QtCore.bool
PySide.QtGui.QPixmapCache.Key.__eq__(key)
Parameters:keyPySide.QtGui.QPixmapCache::Key
Return type:PySide.QtCore.bool

Returns true if this key is the same as the given key ; otherwise returns false.