API Documentation
Loading...
Searching...
No Matches
DeferredImageIconEngine Class Reference

#include <QTIconManager.h>

Inheritance diagram for DeferredImageIconEngine:
[legend]
Collaboration diagram for DeferredImageIconEngine:
[legend]

Public Member Functions

 DeferredImageIconEngine (const String &icon, QIcon::Mode mode=QIcon::Mode::Normal)
 
 ~DeferredImageIconEngine ()
 
void setIconTheme (const IconThemeSettings theme)
 
virtual void paint (QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state) override
 
virtual QPixmap pixmap (const QSize &size, QIcon::Mode mode, QIcon::State state) override
 
virtual QIconEngine * clone (void) const override
 
QSize actualSize (const QSize &size, QIcon::Mode mode, QIcon::State state) override
 

Public Attributes

QPixmap m_cached_pixmap
 
String m_icon
 
QIcon::Mode m_override_mode
 
QSize m_default_size
 

Constructor & Destructor Documentation

◆ DeferredImageIconEngine()

DeferredImageIconEngine ( const String & icon,
QIcon::Mode mode = QIcon::Mode::Normal )

◆ ~DeferredImageIconEngine()

Member Function Documentation

◆ actualSize()

QSize actualSize ( const QSize & size,
QIcon::Mode mode,
QIcon::State state )
override

◆ clone()

QIconEngine * clone ( void ) const
overridevirtual

◆ paint()

void paint ( QPainter * painter,
const QRect & rect,
QIcon::Mode mode,
QIcon::State state )
overridevirtual

◆ pixmap()

QPixmap pixmap ( const QSize & size,
QIcon::Mode mode,
QIcon::State state )
overridevirtual

◆ setIconTheme()

void setIconTheme ( const IconThemeSettings theme)

Member Data Documentation

◆ m_cached_pixmap

QPixmap m_cached_pixmap

◆ m_default_size

QSize m_default_size
mutable

◆ m_icon

String m_icon

◆ m_override_mode

QIcon::Mode m_override_mode

The documentation for this class was generated from the following files: