#include </home/clem/local/src/opie/noncore/games/qasteroids/ledmeter.h>
Collaboration diagram for KALedMeter:

Public Slots | |
| void | setValue (int v) |
Public Member Functions | |
| KALedMeter (QWidget *parent) | |
| int | range () const |
| void | setRange (int r) |
| int | count () const |
| void | setCount (int c) |
| int | value () const |
| void | addColorRange (int pc, const QColor &c) |
Protected Member Functions | |
| virtual void | resizeEvent (QResizeEvent *) |
| virtual void | drawContents (QPainter *) |
| void | calcColorRanges () |
Protected Attributes | |
| int | mRange |
| int | mCount |
| int | mCurrentCount |
| int | mValue |
| QPtrList< ColorRange > | mCRanges |
Classes | |
| struct | ColorRange |
|
|
Definition at line 28 of file ledmeter.cpp. References mCount, mCRanges, mCurrentCount, mRange, mValue, QPtrCollection::setAutoDelete(), and TRUE. |
|
||||||||||||
|
Definition at line 73 of file ledmeter.cpp. References QPtrList< type >::append(), calcColorRanges(), KALedMeter::ColorRange::mColor, mCRanges, and KALedMeter::ColorRange::mPc. Referenced by KAstTopLevel::KAstTopLevel(). |
|
|
Definition at line 125 of file ledmeter.cpp. References QPtrList< type >::first(), mCount, mCRanges, KALedMeter::ColorRange::mPc, KALedMeter::ColorRange::mValue, and QPtrList< type >::next(). Referenced by addColorRange(), and setCount(). |
|
|
Definition at line 42 of file ledmeter.h. References mCount. |
|
|
Definition at line 90 of file ledmeter.cpp. References QPtrList< type >::at(), col, QPtrList< type >::count(), i, QPtrList< type >::isEmpty(), mCount, mCRanges, and mCurrentCount. |
|
|
Definition at line 39 of file ledmeter.h. References mRange. |
|
|
Definition at line 82 of file ledmeter.cpp. |
|
|
Definition at line 47 of file ledmeter.cpp. References calcColorRanges(), mCount, mValue, and setValue(). Referenced by KAstTopLevel::KAstTopLevel(). |
|
|
Definition at line 38 of file ledmeter.cpp. References mRange, mValue, and setValue(). Referenced by KAstTopLevel::KAstTopLevel(). |
|
|
Definition at line 58 of file ledmeter.cpp. References mCount, mCurrentCount, mRange, and mValue. Referenced by setCount(), setRange(), and KAstTopLevel::slotUpdateVitals(). |
|
|
Definition at line 45 of file ledmeter.h. References mValue. |
|
|
Definition at line 66 of file ledmeter.h. Referenced by calcColorRanges(), count(), drawContents(), KALedMeter(), resizeEvent(), setCount(), and setValue(). |
|
|
Definition at line 69 of file ledmeter.h. Referenced by addColorRange(), calcColorRanges(), drawContents(), and KALedMeter(). |
|
|
Definition at line 67 of file ledmeter.h. Referenced by drawContents(), KALedMeter(), and setValue(). |
|
|
Definition at line 65 of file ledmeter.h. Referenced by KALedMeter(), range(), setRange(), and setValue(). |
|
|
Definition at line 68 of file ledmeter.h. Referenced by KALedMeter(), setCount(), setRange(), setValue(), and value(). |
1.4.2