#include <gradients.h>
Public Types | |
enum | ShadeType { RedShade, GreenShade, BlueShade, ARGBShade } |
Signals | |
void | colorsChanged () |
Public Member Functions | |
ShadeWidget (ShadeType type, QWidget *parent) | |
void | setGradientStops (const QGradientStops &stops) |
void | paintEvent (QPaintEvent *e) |
QSize | sizeHint () const |
QPolygonF | points () const |
HoverPoints * | hoverPoints () const |
uint | colorAt (int x) |
Definition at line 58 of file gradients.h.
ShadeWidget::ShadeWidget | ( | ShadeType | type, | |
QWidget * | parent | |||
) |
Definition at line 85 of file gradients.cpp.
uint ShadeWidget::colorAt | ( | int | x | ) |
Definition at line 132 of file gradients.cpp.
void ShadeWidget::colorsChanged | ( | ) | [signal] |
HoverPoints* ShadeWidget::hoverPoints | ( | ) | const [inline] |
Definition at line 78 of file gradients.h.
void ShadeWidget::paintEvent | ( | QPaintEvent * | e | ) |
Definition at line 195 of file gradients.cpp.
QPolygonF ShadeWidget::points | ( | ) | const |
Definition at line 126 of file gradients.cpp.
void ShadeWidget::setGradientStops | ( | const QGradientStops & | stops | ) |
Definition at line 178 of file gradients.cpp.
QSize ShadeWidget::sizeHint | ( | ) | const [inline] |
Definition at line 75 of file gradients.h.