|
MythTV master
|
#include <libmythui/mythuiimage.h>
Public Member Functions | |
| ImageProperties ()=default | |
| ImageProperties (const ImageProperties &other) | |
| ~ImageProperties () | |
| ImageProperties & | operator= (const ImageProperties &other) |
| void | SetMaskImage (MythImage *image) |
| void | SetMaskImageFilename (const QString &filename) |
| QString | GetMaskImageFilename () |
| QRect | GetMaskImageRect (void) |
| QImage | GetMaskImageSubset (QRect imageArea) |
Public Attributes | |
| QString | m_filename |
| MythRect | m_cropRect {0,0,0,0} |
| QSize | m_forceSize {0,0} |
| bool | m_preserveAspect {false} |
| bool | m_isGreyscale {false} |
| bool | m_isReflected {false} |
| bool | m_isMasked {false} |
| bool | m_isOriented {false} |
| ReflectAxis | m_reflectAxis {ReflectAxis::Vertical} |
| int | m_reflectScale {100} |
| int | m_reflectLength {100} |
| int | m_reflectShear {0} |
| int | m_reflectSpacing {0} |
| int | m_orientation {1} |
| bool | m_isThemeImage {false} |
Private Member Functions | |
| void | Init (void) |
| void | Copy (const ImageProperties &other) |
Private Attributes | |
| MythImage * | m_maskImage {nullptr} |
| QString | m_maskImageFilename |
Definition at line 23 of file mythuiimage.h.
|
default |
| ImageProperties::ImageProperties | ( | const ImageProperties & | other | ) |
Definition at line 41 of file mythuiimage.cpp.
| ImageProperties::~ImageProperties | ( | ) |
Definition at line 56 of file mythuiimage.cpp.
|
private |
Definition at line 65 of file mythuiimage.cpp.
Referenced by ImageProperties(), and operator=().
|
inline |
Definition at line 37 of file mythuiimage.h.
Referenced by ImageLoader::LoadImage().
|
inline |
Definition at line 41 of file mythuiimage.h.
Referenced by ImageLoader::LoadImage().
|
inline |
Definition at line 48 of file mythuiimage.h.
Referenced by ImageLoader::LoadImage().
|
private |
| ImageProperties & ImageProperties::operator= | ( | const ImageProperties & | other | ) |
Definition at line 46 of file mythuiimage.cpp.
| void ImageProperties::SetMaskImage | ( | MythImage * | image | ) |
Definition at line 91 of file mythuiimage.cpp.
Referenced by Copy(), and ImageLoader::LoadImage().
|
inline |
Definition at line 33 of file mythuiimage.h.
Referenced by MythUIImage::ParseElement().
| MythRect ImageProperties::m_cropRect {0,0,0,0} |
Definition at line 60 of file mythuiimage.h.
Referenced by Copy(), MythUIImage::DrawSelf(), MythUIImage::ParseElement(), and MythUIImage::SetCropRect().
| QString ImageProperties::m_filename |
Definition at line 58 of file mythuiimage.h.
Referenced by Copy(), MythUIImage::customEvent(), MythUIImage::FindRandomImage(), ImageLoader::GenImageLabel(), MythUIImage::Load(), ImageLoader::LoadAnimatedImage(), ImageLoader::LoadImage(), MythUIImage::MythUIImage(), MythUIImage::ParseElement(), MythUIImage::Reset(), ImageLoadThread::run(), MythUIImage::SetFilename(), MythUIImage::SetFilepattern(), and MythUIImage::SetImage().
| QSize ImageProperties::m_forceSize {0,0} |
Definition at line 61 of file mythuiimage.h.
Referenced by Copy(), MythUIImage::CopyFrom(), MythUIImage::customEvent(), MythUIImage::DrawSelf(), MythUIImage::ForceSize(), ImageLoader::GenImageLabel(), MythUIImage::Load(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
Definition at line 64 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::GenImageLabel(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
Definition at line 66 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::GenImageLabel(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), and SetMaskImage().
Definition at line 67 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::GenImageLabel(), ImageLoader::LoadImage(), MythUIImage::SetImage(), MythUIImage::SetImages(), and MythUIImage::SetOrientation().
Definition at line 65 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::GenImageLabel(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
Definition at line 77 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::Reset(), MythUIImage::SetFilename(), MythUIImage::SetFilepattern(), MythUIImage::SetImage(), and MythUIImage::SetImages().
|
private |
Definition at line 83 of file mythuiimage.h.
Referenced by Copy(), GetMaskImageRect(), GetMaskImageSubset(), SetMaskImage(), and ~ImageProperties().
|
private |
Definition at line 84 of file mythuiimage.h.
Referenced by Copy(), GetMaskImageFilename(), and SetMaskImageFilename().
| int ImageProperties::m_orientation {1} |
Definition at line 75 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::GenImageLabel(), ImageLoader::LoadImage(), MythUIImage::SetImage(), MythUIImage::SetImages(), and MythUIImage::SetOrientation().
Definition at line 63 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
| ReflectAxis ImageProperties::m_reflectAxis {ReflectAxis::Vertical} |
Definition at line 69 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
| int ImageProperties::m_reflectLength {100} |
Definition at line 71 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
| int ImageProperties::m_reflectScale {100} |
Definition at line 70 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
| int ImageProperties::m_reflectShear {0} |
Definition at line 72 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
| int ImageProperties::m_reflectSpacing {0} |
Definition at line 73 of file mythuiimage.h.
Referenced by Copy(), ImageLoader::LoadImage(), MythUIImage::ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().