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.
Parameters: | other – PySide.QtGui.QPixmapCache::Key |
---|
Constructs an empty Key object.
Constructs a copy of other .
Parameters: | key – PySide.QtGui.QPixmapCache::Key |
---|---|
Return type: | PySide.QtCore.bool |
Parameters: | key – PySide.QtGui.QPixmapCache::Key |
---|---|
Return type: | PySide.QtCore.bool |
Returns true if this key is the same as the given key ; otherwise returns false.