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

ClickArea Class Reference

#include <clickarea.h>

Inheritance diagram for ClickArea:

Inheritance graph
[legend]
Collaboration diagram for ClickArea:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClickArea (int x, int y, int w, int h)
 ~ClickArea ()
void click (QMouseEvent *)
void setOnClick (QString)
void setOnMiddleClick (QString)
QRect getRectangle ()
void mUpdate (QPainter *)
void setValue (int)
void setValue (QString)
void setTooltip (QString)
void setKaramba (karamba *)

Public Attributes

QRect rect
QString onClick
QString onMiddleClick
QString value

Detailed Description

Author:
Hans Karlsson
Version:
0.23

Definition at line 22 of file clickarea.h.


Constructor & Destructor Documentation

ClickArea::ClickArea int  x,
int  y,
int  w,
int  h
 

Definition at line 13 of file clickarea.cpp.

References rect, and value.

ClickArea::~ClickArea  ) 
 

Definition at line 20 of file clickarea.cpp.


Member Function Documentation

void ClickArea::click QMouseEvent *   ) 
 

Definition at line 24 of file clickarea.cpp.

References rect, and value.

QRect ClickArea::getRectangle  ) 
 

Definition at line 57 of file clickarea.cpp.

void ClickArea::mUpdate QPainter *   )  [virtual]
 

Implements Meter.

Definition at line 62 of file clickarea.cpp.

void ClickArea::setKaramba karamba  ) 
 

Definition at line 90 of file clickarea.cpp.

Referenced by IconBoxLabel::addIcon().

void ClickArea::setOnClick QString   ) 
 

Definition at line 46 of file clickarea.cpp.

References onClick.

Referenced by IconBoxLabel::addIcon().

void ClickArea::setOnMiddleClick QString   ) 
 

Definition at line 51 of file clickarea.cpp.

References onMiddleClick.

void ClickArea::setTooltip QString   ) 
 

Definition at line 84 of file clickarea.cpp.

References rect.

void ClickArea::setValue QString   )  [virtual]
 

Reimplemented from Meter.

Definition at line 79 of file clickarea.cpp.

References value.

void ClickArea::setValue int   )  [virtual]
 

Reimplemented from Meter.

Definition at line 71 of file clickarea.cpp.


Member Data Documentation

QString ClickArea::onClick
 

Definition at line 43 of file clickarea.h.

Referenced by setOnClick().

QString ClickArea::onMiddleClick
 

Definition at line 44 of file clickarea.h.

Referenced by setOnMiddleClick().

QRect ClickArea::rect
 

Definition at line 42 of file clickarea.h.

Referenced by click(), ClickArea(), and setTooltip().

QString ClickArea::value
 

Definition at line 45 of file clickarea.h.

Referenced by click(), ClickArea(), and setValue().


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