|
MythTV master
|
Public Member Functions | |
| MythQtImage (MythQtPainter *parent) | |
| void | SetChanged (bool change=true) override |
| QPixmap * | GetPixmap (void) |
| void | SetPixmap (QPixmap *p) |
| bool | NeedsRegen (void) const |
| void | RegeneratePixmap (void) |
Public Member Functions inherited from MythImage | |
| MythImage (MythPainter *parent, const char *name="MythImage") | |
| Creates a reference counted image, call DecrRef() to delete. More... | |
| MythPainter * | GetParent (void) |
| void | SetParent (MythPainter *parent) |
| int | IncrRef (void) override |
| Increments reference count. More... | |
| int | DecrRef (void) override |
| Decrements reference count and deletes on 0. More... | |
| virtual void | SetChanged (bool change=true) |
| bool | IsChanged () const |
| bool | IsGradient () const |
| bool | IsReflected () const |
| bool | IsOriented () const |
| void | Assign (const QImage &img) |
| void | Assign (const QPixmap &pix) |
| bool | Load (MythImageReader *reader) |
| bool | Load (const QString &filename) |
| void | Orientation (int orientation) |
| Changes the orientation angle of the image according to the exif rotation values. More... | |
| void | Resize (QSize newSize, bool preserveAspect=false) |
| void | Reflect (ReflectAxis axis, int shear, int scale, int length, int spacing=0) |
| void | ToGreyscale () |
| int64_t | GetSize (void) |
| void | SetID (unsigned int id) |
| unsigned int | GetID (void) const |
| void | SetFileName (QString fname) |
| QString | GetFileName (void) const |
| void | setIsReflected (bool reflected) |
| void | setIsOriented (bool oriented) |
| void | SetIsInCache (bool bCached) |
| uint | GetCacheSize (void) const |
Public Member Functions inherited from ReferenceCounter | |
| ReferenceCounter (const QString &debugName, bool logDebug=true) | |
| Creates reference counter with an initial value of 1. More... | |
| virtual int | IncrRef (void) |
| Increments reference count. More... | |
| virtual int | DecrRef (void) |
| Decrements reference count and deletes on 0. More... | |
Protected Attributes | |
| QPixmap * | m_pixmap {nullptr} |
| bool | m_bRegenPixmap {false} |
Protected Attributes inherited from MythImage | |
| bool | m_changed {false} |
| MythPainter * | m_parent {nullptr} |
| bool | m_isGradient {false} |
| QColor | m_gradBegin {0x00, 0x00, 0x00} |
| QColor | m_gradEnd {0xFF, 0xFF, 0xFF} |
| int | m_gradAlpha {255} |
| FillDirection | m_gradDirection {FillDirection::TopToBottom} |
| bool | m_isOriented {false} |
| bool | m_isReflected {false} |
| unsigned int | m_imageId {0} |
| QString | m_fileName |
| bool | m_cached {false} |
Protected Attributes inherited from ReferenceCounter | |
| bool | m_logDebug |
| This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
| QAtomicInt | m_referenceCount {1} |
Additional Inherited Members | |
Static Public Member Functions inherited from MythImage | |
| static QImage | ApplyExifOrientation (QImage &image, int orientation) |
| static MythImage * | Gradient (MythPainter *painter, QSize size, const QColor &begin, const QColor &end, uint alpha, FillDirection direction=FillDirection::TopToBottom) |
| Create a gradient image. More... | |
Static Public Member Functions inherited from ReferenceCounter | |
| static void | PrintDebug (void) |
| Print out any leaks if that level of debugging is enabled. More... | |
Protected Member Functions inherited from MythImage | |
| ~MythImage () override | |
Protected Member Functions inherited from ReferenceCounter | |
| virtual | ~ReferenceCounter (void) |
| Called on destruction, will warn if object deleted with references in place. More... | |
Static Protected Member Functions inherited from MythImage | |
| static void | MakeGradient (QImage &image, const QColor &begin, const QColor &end, int alpha, BoundaryWanted drawBoundary=BoundaryWanted::Yes, FillDirection direction=FillDirection::TopToBottom) |
Static Protected Attributes inherited from MythImage | |
| static MythUIHelper * | s_ui = nullptr |
Definition at line 15 of file mythpainter_qt.cpp.
|
inlineexplicit |
Definition at line 18 of file mythpainter_qt.cpp.
|
inline |
Definition at line 22 of file mythpainter_qt.cpp.
|
inline |
Definition at line 25 of file mythpainter_qt.cpp.
| void MythQtImage::RegeneratePixmap | ( | void | ) |
Definition at line 41 of file mythpainter_qt.cpp.
Referenced by MythQtPainter::DrawImage().
Reimplemented from MythImage.
Definition at line 33 of file mythpainter_qt.cpp.
|
inline |
Definition at line 23 of file mythpainter_qt.cpp.
Definition at line 30 of file mythpainter_qt.cpp.
Referenced by NeedsRegen(), RegeneratePixmap(), and SetChanged().
|
protected |
Definition at line 29 of file mythpainter_qt.cpp.
Referenced by GetPixmap(), RegeneratePixmap(), and SetPixmap().