#include </home/clem/local/src/opie/libopie2/opieui/oledbox.h>
Public Slots | |
| void | toggle () |
| void | setOn (bool on) |
| void | setColor (const QColor &col) |
Signals | |
| void | toggled (bool) |
Public Member Functions | |
| OLedBox (const QColor &col=red, QWidget *parent=0, const char *name=0) | |
| virtual | ~OLedBox () |
| QColor | color () const |
| bool | isOn () const |
| void | setReadOnly (bool R) |
| bool | readOnly (void) const |
| virtual QSize | sizeHint () const |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *e) |
| virtual void | resizeEvent (QResizeEvent *e) |
| virtual void | mousePressEvent (QMouseEvent *e) |
Private Member Functions | |
| void | drawLed (QPixmap *, const QColor &col) |
Private Attributes | |
| QPixmap * | m_pix [2] |
| QColor | m_color |
| bool | m_on |
| bool | m_readonly |
Static Private Attributes | |
| static QPixmap * | s_border_pix = 0 |
|
||||||||||||||||
|
Definition at line 73 of file oledbox.cpp. References Opie::Ui::ledborder_xpm, m_color, m_on, m_pix, m_readonly, and s_border_pix. |
|
|
Definition at line 87 of file oledbox.cpp. References m_pix. |
|
|
Definition at line 103 of file oledbox.cpp. References m_color. Referenced by drawLed(). |
|
||||||||||||
|
Definition at line 169 of file oledbox.cpp. References color(), Qt::color1, end, height, Qt::NoPen, pos, s_border_pix, and width. Referenced by paintEvent(). |
|
|
Definition at line 98 of file oledbox.cpp. References m_on. Referenced by toggle(). |
|
|
Definition at line 133 of file oledbox.cpp. References m_on, m_readonly, and toggled(). |
|
|
Definition at line 153 of file oledbox.cpp. |
|
|
Definition at line 53 of file oledbox.h. References m_readonly. |
|
|
Definition at line 144 of file oledbox.cpp. References m_pix. |
|
|
Definition at line 121 of file oledbox.cpp. References m_color, and m_pix. Referenced by NetworkSettings::SLOT_Down(), NetworkSettings::SLOT_ShowNode(), and NetworkSettings::SLOT_Up(). |
|
|
Definition at line 108 of file oledbox.cpp. References m_on. Referenced by Opietooth2::OTScan::SLOT_Show(), NetworkSettings::SLOT_ShowNode(), NetworkSettings::SLOT_Up(), and toggle(). |
|
|
Definition at line 52 of file oledbox.h. References m_readonly. |
|
|
Definition at line 93 of file oledbox.cpp. |
|
|
Definition at line 116 of file oledbox.cpp. |
|
|
Referenced by mousePressEvent(). |
|
|
Definition at line 77 of file oledbox.h. Referenced by color(), OLedBox(), paintEvent(), and setColor(). |
|
|
Definition at line 78 of file oledbox.h. Referenced by isOn(), mousePressEvent(), OLedBox(), paintEvent(), and setOn(). |
|
|
Definition at line 75 of file oledbox.h. Referenced by OLedBox(), paintEvent(), resizeEvent(), setColor(), and ~OLedBox(). |
|
|
Definition at line 79 of file oledbox.h. Referenced by mousePressEvent(), OLedBox(), readOnly(), and setReadOnly(). |
|
|
Definition at line 71 of file oledbox.cpp. |
1.4.2