GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
led_indicator Class Reference

#include "led-indicator.h"

Inheritance diagram for led_indicator:
Collaboration diagram for led_indicator:

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)
 

Detailed Description

Definition at line 33 of file led-indicator.h.

Member Enumeration Documentation

◆ led_state

Enumerator
LED_STATE_NO 
LED_STATE_INACTIVE 
LED_STATE_ACTIVE 

Definition at line 39 of file led-indicator.h.

Constructor & Destructor Documentation

◆ led_indicator()

led_indicator::led_indicator ( led_state  initial_state = LED_STATE_INACTIVE,
QWidget parent = 0 
)

Definition at line 37 of file led-indicator.cc.

Member Function Documentation

◆ set_state

void led_indicator::set_state ( led_state  state)
slot

◆ style_sheet()

QString led_indicator::style_sheet ( const QColor &  col)
private

Definition at line 66 of file led-indicator.cc.

References interpolate_color().

Referenced by set_state().


The documentation for this class was generated from the following files: