ksim
KSim::LedLabel Class Reference
#include <led.h>
Inheritance diagram for KSim::LedLabel:

Detailed Description
A custom widget that inheriits KSim::Progress.this wiget provides two KSim::Led's and a label
Label widget with 2 leds
Definition at line 110 of file led.h.
Public Slots | |
| virtual void | reset () |
| void | setOn (Led::Type type) |
| void | setOff (Led::Type type) |
| void | toggle (Led::Type type) |
Public Member Functions | |
| LedLabel (int max, int type, const QString &label, QWidget *parent, const char *name=0, Qt::WFlags fl=0) | |
| LedLabel (int max, int type, QWidget *parent, const char *name=0, Qt::WFlags fl=0) | |
| LedLabel (int max, QWidget *parent, const char *name=0, Qt::WFlags fl=0) | |
| virtual | ~LedLabel () |
| virtual void | configureObject (bool reapaintWidget=true) |
| virtual QSize | sizeHint () const |
Protected Member Functions | |
| void | drawLeds () |
| virtual void | paintEvent (QPaintEvent *) |
| virtual void | resizeEvent (QResizeEvent *) |
Constructor & Destructor Documentation
| KSim::LedLabel::LedLabel | ( | int | max, | |
| int | type, | |||
| const QString & | label, | |||
| QWidget * | parent, | |||
| const char * | name = 0, |
|||
| Qt::WFlags | fl = 0 | |||
| ) |
Constructs a KSim::LedLabel.
- Parameters:
-
type is the theme type label is the default text to display parent is the parent widget
- See also:
- KSim::ThemeLoader
| KSim::LedLabel::LedLabel | ( | int | max, | |
| int | type, | |||
| QWidget * | parent, | |||
| const char * | name = 0, |
|||
| Qt::WFlags | fl = 0 | |||
| ) |
Constructs a KSim::LedLabel.
- Parameters:
-
type is the theme type label is the default text to display parent is the parent widget
- See also:
- KSim::ThemeLoader
| KSim::LedLabel::LedLabel | ( | int | max, | |
| QWidget * | parent, | |||
| const char * | name = 0, |
|||
| Qt::WFlags | fl = 0 | |||
| ) |
Constructs a KSim::LedLabel.
- Parameters:
-
label is the default text to display parent is the parent widget
- See also:
- KSim::ThemeLoader
| KSim::LedLabel::~LedLabel | ( | ) | [virtual] |
Member Function Documentation
| void KSim::LedLabel::configureObject | ( | bool | reapaintWidget = true |
) | [virtual] |
| QSize KSim::LedLabel::sizeHint | ( | ) | const [virtual] |
| void KSim::LedLabel::reset | ( | ) | [virtual, slot] |
| void KSim::LedLabel::setOn | ( | Led::Type | type | ) | [slot] |
| void KSim::LedLabel::setOff | ( | Led::Type | type | ) | [slot] |
| void KSim::LedLabel::toggle | ( | Led::Type | type | ) | [slot] |
| void KSim::LedLabel::paintEvent | ( | QPaintEvent * | ev | ) | [protected, virtual] |
| void KSim::LedLabel::resizeEvent | ( | QResizeEvent * | ev | ) | [protected, virtual] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference