libyui-qt-pkg
Loading...
Searching...
No Matches
YQIconPool Class Reference

Static Public Member Functions

static QPixmap pkgAutoDel ()
 
static QPixmap pkgAutoInstall ()
 
static QPixmap pkgAutoUpdate ()
 
static QPixmap pkgDel ()
 
static QPixmap pkgInstall ()
 
static QPixmap pkgKeepInstalled ()
 
static QPixmap pkgNoInst ()
 
static QPixmap pkgProtected ()
 
static QPixmap pkgTaboo ()
 
static QPixmap pkgUpdate ()
 
static QPixmap disabledPkgAutoDel ()
 
static QPixmap disabledPkgAutoInstall ()
 
static QPixmap disabledPkgAutoUpdate ()
 
static QPixmap disabledPkgDel ()
 
static QPixmap disabledPkgInstall ()
 
static QPixmap disabledPkgKeepInstalled ()
 
static QPixmap disabledPkgNoInst ()
 
static QPixmap disabledPkgProtected ()
 
static QPixmap disabledPkgTaboo ()
 
static QPixmap disabledPkgUpdate ()
 
static QPixmap normalPkgConflict ()
 
static QPixmap treePlus ()
 
static QPixmap treeMinus ()
 
static QPixmap warningSign ()
 
static QPixmap pkgSatisfied ()
 
static QPixmap tabRemove ()
 
static QPixmap arrowLeft ()
 
static QPixmap arrowRight ()
 
static QPixmap arrowDown ()
 

Protected Member Functions

QPixmap cachedIcon (const QString icon_name, const bool enabled)
 
QPixmap loadIcon (const QString icon_name, const bool enabled)
 

Static Protected Member Functions

static YQIconPooliconPool ()
 

Member Function Documentation

◆ cachedIcon()

QPixmap YQIconPool::cachedIcon ( const QString icon_name,
const bool enabled )
protected

Return the cached icon for 'icon_name'. If the icon isn't in the cache yet, load it and store it in the cache.

Return a red square as an error icon if there is no icon by that name.

◆ iconPool()

YQIconPool * YQIconPool::iconPool ( )
staticprotected

Return the global icon pool.

◆ loadIcon()

QPixmap YQIconPool::loadIcon ( const QString icon_name,
const bool enabled )
protected

Load the icon for 'icon_name' from the icon theme or, if that fails, from the compiled-in icons (using the Qt resource system). Return a null pixmap if there is no such icon.


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