Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

IconLabel Class Reference

#include <iconlabel.h>

Inheritance diagram for IconLabel:

Inheritance graph
[legend]
Collaboration diagram for IconLabel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IconLabel (int ix, int iy, int iw, int ih)
 IconLabel ()
 ~IconLabel ()
void setValue (QString imagePath)
void setValue (int)
void setSize (int s=0)
void setCenter (bool c, int w=0, int h=0)
void mUpdate (QPainter *)
void rolloverImage (QMouseEvent *e)
void parseImages (QString fn, int, int, int, int, int won=0)
void setKaramba (karamba *)
void setTooltip (QString txt)

Public Attributes

QPixmap pixmap

Detailed Description

Author:
Bosselut Cyril <bosselut@b1project.com>
Version:
0.23

Definition at line 32 of file iconlabel.h.


Constructor & Destructor Documentation

IconLabel::IconLabel int  ix,
int  iy,
int  iw,
int  ih
 

Definition at line 12 of file iconlabel.cpp.

IconLabel::IconLabel  ) 
 

Definition at line 18 of file iconlabel.cpp.

IconLabel::~IconLabel  ) 
 

Definition at line 21 of file iconlabel.cpp.


Member Function Documentation

void IconLabel::mUpdate QPainter *   )  [virtual]
 

Implements Meter.

Definition at line 54 of file iconlabel.cpp.

References pixmap, karamba::themeH, and karamba::themeW.

void IconLabel::parseImages QString  fn,
int  ,
int  ,
int  ,
int  ,
int  won = 0
 

Definition at line 64 of file iconlabel.cpp.

Referenced by IconBoxLabel::addIcon().

void IconLabel::rolloverImage QMouseEvent *  e  ) 
 

Definition at line 85 of file iconlabel.cpp.

References pixmap, and karamba::step().

Referenced by karamba::mouseMoveEvent().

void IconLabel::setCenter bool  c,
int  w = 0,
int  h = 0
 

Definition at line 42 of file iconlabel.cpp.

Referenced by IconBoxLabel::addIcon().

void IconLabel::setKaramba karamba  ) 
 

Definition at line 81 of file iconlabel.cpp.

Referenced by IconBoxLabel::addIcon().

void IconLabel::setSize int  s = 0  ) 
 

Definition at line 37 of file iconlabel.cpp.

Referenced by IconBoxLabel::addIcon().

void IconLabel::setTooltip QString  txt  ) 
 

Definition at line 116 of file iconlabel.cpp.

Referenced by IconBoxLabel::addIcon().

void IconLabel::setValue int   )  [virtual]
 

Reimplemented from Meter.

Definition at line 24 of file iconlabel.cpp.

References setValue().

void IconLabel::setValue QString  imagePath  )  [virtual]
 

Reimplemented from Meter.

Definition at line 28 of file iconlabel.cpp.

References pixmap.

Referenced by IconBoxLabel::addIcon(), and setValue().


Member Data Documentation

QPixmap IconLabel::pixmap
 

Definition at line 50 of file iconlabel.h.

Referenced by mUpdate(), rolloverImage(), and setValue().


The documentation for this class was generated from the following files:
Generated on Mon May 16 14:04:20 2005 for karamba by  doxygen 1.3.9.1