superkaramba
Bar Class Reference
#include <bar.h>
Inheritance diagram for Bar:

Detailed Description
Definition at line 18 of file meters/bar.h.
Public Slots | |
| bool | setImage (const QString &imagePath) |
| QString | getImage () const |
| void | setValue (const QString &) |
| void | setValue (int) |
| int | getValue () const |
| void | setVertical (bool) |
| int | getVertical () const |
| void | recalculateValue () |
| void | valueChanged () |
Public Member Functions | |
| Bar (Karamba *k, int x, int y, int width, int height) | |
| ~Bar () | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| virtual void | setMax (int m) |
| virtual void | setMin (int m) |
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
| void Bar::paint | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| QWidget * | widget | |||
| ) | [virtual] |
| void Bar::setMax | ( | int | m | ) | [virtual] |
| void Bar::setMin | ( | int | m | ) | [virtual] |
| bool Bar::setImage | ( | const QString & | imagePath | ) | [slot] |
Definition at line 38 of file meters/bar.cpp.
| QString Bar::getImage | ( | ) | const [slot] |
Definition at line 63 of file meters/bar.cpp.
| void Bar::setValue | ( | const QString & | v | ) | [virtual, slot] |
| void Bar::setValue | ( | int | v | ) | [virtual, slot] |
| int Bar::getValue | ( | ) | const [virtual, slot] |
| void Bar::setVertical | ( | bool | b | ) | [slot] |
Definition at line 139 of file meters/bar.cpp.
| int Bar::getVertical | ( | ) | const [slot] |
Definition at line 144 of file meters/bar.cpp.
| void Bar::recalculateValue | ( | ) | [slot] |
Definition at line 149 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:
KDE 4.0 API Reference