26#if defined (HAVE_CONFIG_H)
47 QColor col (Qt::gray);
55 col = QColor (Qt::darkGray);
56 col.setRedF (col.redF () * 1.25);
60 col = QColor (Qt::red);
71 const QString style = QString (
72 "border-radius: %1; background-color: "
73 "qlineargradient(spread:pad, x1:0.2, y1:0.2, x2:1, y2:1, stop:0 "
75 ).arg (width ()/2).arg (col_light.name ()).arg (col.name ());
led_indicator(led_state initial_state=LED_STATE_INACTIVE, QWidget *parent=0)
QString style_sheet(const QColor &col)
void set_state(led_state state)
static uint32_t state[624]
OCTGUI_API QColor interpolate_color(const QColor &col1, const QColor &col2, double fs, double fv)