• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

superkaramba

Bar Class Reference

#include <bar.h>

Inheritance diagram for Bar:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 18 of file meters/bar.h.


Public Slots

QString getImage () const
int getValue () const
int getVertical () const
void recalculateValue ()
bool setImage (const QString &imagePath)
void setValue (int)
void setValue (const QString &)
void setVertical (bool)
void valueChanged ()

Public Member Functions

 Bar (Karamba *k, int x, int y, int width, int height)
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
virtual void setMax (int m)
virtual void setMin (int m)
 ~Bar ()

Constructor & Destructor Documentation

Bar::Bar ( Karamba *  k,
int  x,
int  y,
int  width,
int  height 
)

Definition at line 19 of file meters/bar.cpp.

Bar::~Bar (  ) 

Definition at line 33 of file meters/bar.cpp.


Member Function Documentation

QString Bar::getImage (  )  const [slot]

Definition at line 63 of file meters/bar.cpp.

int Bar::getValue (  )  const [virtual, slot]

Reimplemented from Meter.

Definition at line 87 of file meters/bar.cpp.

int Bar::getVertical (  )  const [slot]

Definition at line 144 of file meters/bar.cpp.

void Bar::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
) [virtual]

Implements Meter.

Definition at line 154 of file meters/bar.cpp.

void Bar::recalculateValue (  )  [slot]

Definition at line 149 of file meters/bar.cpp.

bool Bar::setImage ( const QString &  imagePath  )  [slot]

Definition at line 38 of file meters/bar.cpp.

void Bar::setMax ( int  m  )  [virtual]

Reimplemented from Meter.

Definition at line 127 of file meters/bar.cpp.

void Bar::setMin ( int  m  )  [virtual]

Reimplemented from Meter.

Definition at line 133 of file meters/bar.cpp.

void Bar::setValue ( int  v  )  [virtual, slot]

Reimplemented from Meter.

Definition at line 68 of file meters/bar.cpp.

void Bar::setValue ( const QString &  v  )  [virtual, slot]

Reimplemented from Meter.

Definition at line 82 of file meters/bar.cpp.

void Bar::setVertical ( bool  b  )  [slot]

Definition at line 139 of file meters/bar.cpp.

void Bar::valueChanged (  )  [slot]

Definition at line 92 of file meters/bar.cpp.


The documentation for this class was generated from the following files:
  • meters/bar.h
  • meters/bar.cpp

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal