#include "led-indicator.h"
Public Types | |
enum | led_state { LED_STATE_NO = -1 , LED_STATE_INACTIVE , LED_STATE_ACTIVE } |
Public Slots | |
void | set_state (led_state state) |
Public Member Functions | |
led_indicator (led_state initial_state=LED_STATE_INACTIVE, QWidget *parent=0) | |
Private Member Functions | |
QString | style_sheet (const QColor &col) |
Definition at line 33 of file led-indicator.h.
Enumerator | |
---|---|
LED_STATE_NO | |
LED_STATE_INACTIVE | |
LED_STATE_ACTIVE |
Definition at line 39 of file led-indicator.h.
led_indicator::led_indicator | ( | led_state | initial_state = LED_STATE_INACTIVE , |
QWidget * | parent = 0 |
||
) |
Definition at line 37 of file led-indicator.cc.
|
slot |
Definition at line 44 of file led-indicator.cc.
References LED_STATE_ACTIVE, LED_STATE_INACTIVE, LED_STATE_NO, state, and style_sheet().
Referenced by main_window::handle_profiler_status_update().
|
private |
Definition at line 66 of file led-indicator.cc.
References interpolate_color().
Referenced by set_state().