libyui-qt-pkg  2.45.28
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)
 Return the cached icon for 'icon_name'. More...
 
QPixmap loadIcon (const QString icon_name, const bool enabled)
 Load the icon for 'icon_name' from the icon theme or, if that fails, from the compiled-in icons (using the Qt resource system). More...
 

Static Protected Member Functions

static YQIconPooliconPool ()
 Return the global icon pool.
 

Detailed Description

Definition at line 48 of file YQIconPool.h.

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.

Definition at line 112 of file YQIconPool.cc.

Here is the call graph for this function:

◆ 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.

Definition at line 137 of file YQIconPool.cc.


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