|
MythTV
0.26-pre
|
#include <mythuiimage.h>
Public Member Functions | |
| ImageLoader () | |
| ~ImageLoader () | |
Static Public Member Functions | |
| static bool | PreLoad (const QString &cacheKey, const MythUIImage *uitype) |
| static void | PostLoad (const QString &cacheKey) |
| static bool | SupportsAnimation (const QString &filename) |
| static QString | GenImageLabel (const ImageProperties &imProps) |
| Generates a unique identifying string for this image which is used as a key in the image cache. | |
| static MythImage * | LoadImage (MythPainter *painter, ImageProperties imProps, ImageCacheMode cacheMode, const MythUIImage *parent, bool &aborted, MythImageReader *imageReader=NULL) |
| static AnimationFrames * | LoadAnimatedImage (MythPainter *painter, ImageProperties imProps, ImageCacheMode cacheMode, const MythUIImage *parent, bool &aborted) |
Static Public Attributes | |
| static QHash< QString, const MythUIImage * > | m_loadingImages |
| static QMutex | m_loadingImagesLock |
| static QWaitCondition | m_loadingImagesCond |
Definition at line 117 of file mythuiimage.cpp.
| ImageLoader::ImageLoader | ( | ) | [inline] |
Definition at line 120 of file mythuiimage.cpp.
| ImageLoader::~ImageLoader | ( | ) | [inline] |
Definition at line 121 of file mythuiimage.cpp.
| static bool ImageLoader::PreLoad | ( | const QString & | cacheKey, |
| const MythUIImage * | uitype | ||
| ) | [inline, static] |
Definition at line 127 of file mythuiimage.cpp.
Referenced by LoadImage().
| static void ImageLoader::PostLoad | ( | const QString & | cacheKey | ) | [inline, static] |
Definition at line 153 of file mythuiimage.cpp.
Referenced by LoadImage().
| static bool ImageLoader::SupportsAnimation | ( | const QString & | filename | ) | [inline, static] |
Definition at line 161 of file mythuiimage.cpp.
Referenced by MythUIImage::Load(), and ImageLoadThread::run().
| static QString ImageLoader::GenImageLabel | ( | const ImageProperties & | imProps | ) | [inline, static] |
Generates a unique identifying string for this image which is used as a key in the image cache.
Definition at line 177 of file mythuiimage.cpp.
Referenced by MythUIImage::Load(), and LoadImage().
| static MythImage* ImageLoader::LoadImage | ( | MythPainter * | painter, |
| ImageProperties | imProps, | ||
| ImageCacheMode | cacheMode, | ||
| const MythUIImage * | parent, | ||
| bool & | aborted, | ||
| MythImageReader * | imageReader = NULL |
||
| ) | [inline, static] |
Definition at line 213 of file mythuiimage.cpp.
Referenced by MythUIImage::Load(), LoadAnimatedImage(), and ImageLoadThread::run().
| static AnimationFrames* ImageLoader::LoadAnimatedImage | ( | MythPainter * | painter, |
| ImageProperties | imProps, | ||
| ImageCacheMode | cacheMode, | ||
| const MythUIImage * | parent, | ||
| bool & | aborted | ||
| ) | [inline, static] |
Definition at line 350 of file mythuiimage.cpp.
Referenced by MythUIImage::Load(), and ImageLoadThread::run().
QHash< QString, const MythUIImage * > ImageLoader::m_loadingImages [static] |
Definition at line 121 of file mythuiimage.cpp.
Referenced by PostLoad(), and PreLoad().
QMutex ImageLoader::m_loadingImagesLock [static] |
Definition at line 124 of file mythuiimage.cpp.
Referenced by PostLoad(), and PreLoad().
QWaitCondition ImageLoader::m_loadingImagesCond [static] |
Definition at line 125 of file mythuiimage.cpp.
Referenced by PostLoad(), and PreLoad().
1.7.6.1