|
QSint Library
0.2.2
|
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... | |
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).
|
slot |
setColor Funtion sets color of LED to ledColor. Highlight color is set to Qt::white.
| ledColor | Color to set (Qt::gray is the default value). |
|
slot |
setColors Funtion sets color of LED to ledColor and its highlight color to blickColor.
| ledColor | (Qt::gray is the default value). |
| highlightColor | (Qt::white is the default value). |