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

Meter Class Reference

#include <meter.h>

Inheritance diagram for Meter:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Meter (int ix, int iy, int iw, int ih)
 Meter ()
virtual ~Meter ()
int getX ()
int getY ()
int getWidth ()
int getHeight ()
void setSize (int ix, int iy, int iw, int ih)
virtual void setMax (int)
virtual void setMin (int)
void setThemePath (QString)
virtual void mUpdate (QPainter *)=0
virtual void setValue (int)
virtual void setValue (QString)

Protected Attributes

int x
int y
int width
int height
QString themePath

Constructor & Destructor Documentation

Meter::Meter int  ix,
int  iy,
int  iw,
int  ih
 

Definition at line 12 of file meter.cpp.

References height, width, x, and y.

Meter::Meter  ) 
 

Definition at line 19 of file meter.cpp.

Meter::~Meter  )  [virtual]
 

Definition at line 23 of file meter.cpp.


Member Function Documentation

int Meter::getHeight  ) 
 

Definition at line 54 of file meter.cpp.

int Meter::getWidth  ) 
 

Definition at line 50 of file meter.cpp.

int Meter::getX  ) 
 

Definition at line 42 of file meter.cpp.

Referenced by DateSensor::toggleCalendar().

int Meter::getY  ) 
 

Definition at line 46 of file meter.cpp.

Referenced by DateSensor::toggleCalendar().

virtual void Meter::mUpdate QPainter *   )  [pure virtual]
 

Implemented in Bar, Bar, Child, ClickArea, Graph, IconBoxLabel, IconLabel, ImageLabel, and TextLabel.

virtual void Meter::setMax int   )  [inline, virtual]
 

Reimplemented in Bar, Bar, and Graph.

Definition at line 35 of file meter.h.

Referenced by NoatunSensor::setMaxValue(), MemSensor::setMaxValue(), DiskSensor::setMaxValue(), CPUSensor::setMaxValue(), XMMSSensor::update(), and NoatunSensor::update().

virtual void Meter::setMin int   )  [inline, virtual]
 

Reimplemented in Bar, Bar, and Graph.

Definition at line 36 of file meter.h.

void Meter::setSize int  ix,
int  iy,
int  iw,
int  ih
 

Definition at line 27 of file meter.cpp.

References height, width, x, and y.

void Meter::setThemePath QString   ) 
 

Definition at line 37 of file meter.cpp.

References themePath.

virtual void Meter::setValue QString   )  [inline, virtual]
 

Reimplemented in Bar, Bar, Child, ClickArea, Graph, IconLabel, ImageLabel, and TextLabel.

Definition at line 43 of file meter.h.

virtual void Meter::setValue int   )  [inline, virtual]
 

Reimplemented in Bar, Bar, Child, ClickArea, Graph, IconLabel, ImageLabel, and TextLabel.

Definition at line 42 of file meter.h.

Referenced by ProgramSensor::processExited(), XMMSSensor::update(), UptimeSensor::update(), TextFileSensor::update(), NoatunSensor::update(), NetworkSensor::update(), MemSensor::update(), DateSensor::update(), and CPUSensor::update().


Member Data Documentation

int Meter::height [protected]
 

Definition at line 50 of file meter.h.

Referenced by Meter(), and setSize().

QString Meter::themePath [protected]
 

Definition at line 51 of file meter.h.

Referenced by setThemePath().

int Meter::width [protected]
 

Definition at line 49 of file meter.h.

Referenced by Meter(), and setSize().

int Meter::x [protected]
 

Definition at line 47 of file meter.h.

Referenced by Meter(), and setSize().

int Meter::y [protected]
 

Definition at line 48 of file meter.h.

Referenced by Meter(), and setSize().


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