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

IconBoxLabel Class Reference

#include <iconboxlabel.h>

Inheritance diagram for IconBoxLabel:

Inheritance graph
[legend]
Collaboration diagram for IconBoxLabel:

Collaboration graph
[legend]
List of all members.

Public Slots

void addIcon (const QString icon, const QString tip, const QString prog)
void removeIcon ()
void selectIcon ()
void readConfig ()
void setResizable (bool r)
void dropEvent (QDropEvent *e)
void mouseOver (QMouseEvent *e)

Public Member Functions

 IconBoxLabel (int ix, int iy, int is, int ia, int io, int iid)
 IconBoxLabel ()
 ~IconBoxLabel ()
void setKaramba (karamba *)
void mUpdate (QPainter *)
QRect getRectangle ()

Protected Member Functions

void readDesktopFile (const QString file)
void writeConfig (const QString icon, const QString tip, const QString prog)

Detailed Description

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

Definition at line 36 of file iconboxlabel.h.


Constructor & Destructor Documentation

IconBoxLabel::IconBoxLabel int  ix,
int  iy,
int  is,
int  ia,
int  io,
int  iid
 

Definition at line 12 of file iconboxlabel.cpp.

IconBoxLabel::IconBoxLabel  ) 
 

Definition at line 32 of file iconboxlabel.cpp.

IconBoxLabel::~IconBoxLabel  ) 
 

Definition at line 35 of file iconboxlabel.cpp.


Member Function Documentation

void IconBoxLabel::addIcon const QString  icon,
const QString  tip,
const QString  prog
[slot]
 

Definition at line 78 of file iconboxlabel.cpp.

References karamba::clickList, karamba::iconList, karamba::meterList, IconLabel::parseImages(), IconLabel::setCenter(), ClickArea::setKaramba(), IconLabel::setKaramba(), ClickArea::setOnClick(), IconLabel::setSize(), IconLabel::setTooltip(), IconLabel::setValue(), and karamba::step().

Referenced by readConfig(), readDesktopFile(), and selectIcon().

void IconBoxLabel::dropEvent QDropEvent *  e  )  [slot]
 

Definition at line 214 of file iconboxlabel.cpp.

References readDesktopFile().

Referenced by karamba::dropEvent().

QRect IconBoxLabel::getRectangle  ) 
 

Definition at line 242 of file iconboxlabel.cpp.

Referenced by karamba::dragMoveEvent(), and karamba::dropEvent().

void IconBoxLabel::mouseOver QMouseEvent *  e  )  [slot]
 

Definition at line 179 of file iconboxlabel.cpp.

References karamba::ksubpop, and removeIcon().

Referenced by karamba::mousePressEvent().

void IconBoxLabel::mUpdate QPainter *   )  [virtual]
 

Implements Meter.

Definition at line 175 of file iconboxlabel.cpp.

void IconBoxLabel::readConfig  )  [slot]
 

Definition at line 38 of file iconboxlabel.cpp.

References addIcon().

Referenced by setKaramba().

void IconBoxLabel::readDesktopFile const QString  file  )  [protected]
 

Definition at line 247 of file iconboxlabel.cpp.

References addIcon(), and writeConfig().

Referenced by dropEvent().

void IconBoxLabel::removeIcon  )  [slot]
 

Definition at line 121 of file iconboxlabel.cpp.

References karamba::reloadConfig(), and writeConfig().

Referenced by mouseOver().

void IconBoxLabel::selectIcon  )  [slot]
 

Definition at line 55 of file iconboxlabel.cpp.

References addIcon(), AddIconDlg::m_icon, AddIconDlg::m_prog, AddIconDlg::m_tip, and writeConfig().

Referenced by setKaramba().

void IconBoxLabel::setKaramba karamba  ) 
 

Definition at line 162 of file iconboxlabel.cpp.

References karamba::ksubpop, readConfig(), selectIcon(), karamba::themeFile, and karamba::themePath.

void IconBoxLabel::setResizable bool  r  )  [slot]
 

Definition at line 171 of file iconboxlabel.cpp.

void IconBoxLabel::writeConfig const QString  icon,
const QString  tip,
const QString  prog
[protected]
 

Definition at line 66 of file iconboxlabel.cpp.

Referenced by readDesktopFile(), removeIcon(), and selectIcon().


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