#include <settings.h>
Public Member Functions | |
YPixmap (const QString &f, const QColor &c, const YPixmapArgs &args=YPixmapArgs()) | |
YPixmap (const QBrush &b, QBrush::BrushStyle s, const YPixmapArgs &args=YPixmapArgs()) | |
~YPixmap () | |
Attention: Before calling the destructor be sure that no client is using the pixmap ! | |
const QPixmap * | GetPixmap () |
const QBrush * | GetBrush () |
bool | GetTriedAndFailed () const |
void | WarnIfFailed (bool w) |
Private Member Functions | |
bool | IsPixmapValid () const |
int | LoadPixmap () |
Private Attributes | |
QString | filename |
QColor | color |
QBrush | brush |
QPixmap * | pixmap |
bool | tried_n_failed |
bool | warn_if_failed |
|
|
|
|
|
Attention: Before calling the destructor be sure that no client is using the pixmap !
|
|
|
|
|
|
|
|
|
|
Load a pixmap if needed |
|
|
|
|
|
|
|
|
|
|
|
|
|
|