QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskGraphicProvider Class Referenceabstract

Detailed Description

Definition at line 17 of file QskGraphicProvider.h.

Inheritance diagram for QskGraphicProvider:

Properties

int cacheSize
 

Public Member Functions

 QskGraphicProvider (QObject *parent=nullptr)
 
void setCacheSize (int)
 
int cacheSize () const
 
void clearCache ()
 
const QskGraphicrequestGraphic (const QString &id) const
 

Protected Member Functions

virtual const QskGraphicloadGraphic (const QString &id) const =0
 

Protected Attributes

std::unique_ptr< PrivateData > m_data
 

Constructor & Destructor Documentation

◆ QskGraphicProvider()

QskGraphicProvider::QskGraphicProvider ( QObject *  parent = nullptr)

Definition at line 28 of file QskGraphicProvider.cpp.

◆ ~QskGraphicProvider()

QskGraphicProvider::~QskGraphicProvider ( )
override

Definition at line 34 of file QskGraphicProvider.cpp.

Member Function Documentation

◆ cacheSize()

int QskGraphicProvider::cacheSize ( ) const

Definition at line 47 of file QskGraphicProvider.cpp.

◆ clearCache()

void QskGraphicProvider::clearCache ( )

Definition at line 53 of file QskGraphicProvider.cpp.

◆ requestGraphic()

const QskGraphic * QskGraphicProvider::requestGraphic ( const QString &  id) const

Definition at line 59 of file QskGraphicProvider.cpp.

◆ setCacheSize()

void QskGraphicProvider::setCacheSize ( int  size)

Definition at line 38 of file QskGraphicProvider.cpp.

Member Data Documentation

◆ m_data

std::unique_ptr< PrivateData > QskGraphicProvider::m_data
protected

Definition at line 38 of file QskGraphicProvider.h.

Property Documentation

◆ cacheSize

int QskGraphicProvider::cacheSize
readwrite

Definition at line 21 of file QskGraphicProvider.h.