QSint Library  0.2.2
Public Slots | List of all members
QSint::LedWidget Class Reference

Round LED-style widget with gradient fill. More...

#include <ledwidget.h>

Inherits QWidget.

Public Slots

void setColor (const QColor &ledColor)
 setColor Funtion sets color of LED to ledColor. Highlight color is set to Qt::white. More...
 
void setColors (const QColor &ledColor, const QColor &highlightColor)
 setColors Funtion sets color of LED to ledColor and its highlight color to blickColor. More...
 

Detailed Description

Round LED-style widget with gradient fill.

The gradient consists of two colors: led color (main color of the widget) and highlight color at the top-left corner (typically, white).

Since
0.2.2
LedWidget.png
An example of LedWidget

Member Function Documentation

void QSint::LedWidget::setColor ( const QColor &  ledColor)
slot

setColor Funtion sets color of LED to ledColor. Highlight color is set to Qt::white.

Parameters
ledColorColor to set (Qt::gray is the default value).
void QSint::LedWidget::setColors ( const QColor &  ledColor,
const QColor &  highlightColor 
)
slot

setColors Funtion sets color of LED to ledColor and its highlight color to blickColor.

Parameters
ledColor(Qt::gray is the default value).
highlightColor(Qt::white is the default value).

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

© Sintegrial Technologies 2011-2014
http://www.sintegrial.com