A widget displaying a color gradient. More...
#include <gradientview.h>
Public Member Functions | |
GradientView (RenderingView *renderingView, QWidget *parent=0) | |
Default constructor. | |
void | paintEvent (QPaintEvent *e) |
Invoked when the widget should redraw itself. Redraws the widget using paint(). | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
A widget displaying a color gradient.
Definition at line 11 of file gradientview.h.
GradientView::GradientView | ( | RenderingView * | renderingView, |
QWidget * | parent = 0 |
||
) | [explicit] |
Default constructor.
renderingView | the view defining the color gradients |
parent | parent widget |
Definition at line 3 of file gradientview.cpp.
QSize GradientView::minimumSizeHint | ( | ) | const |
Definition at line 22 of file gradientview.cpp.
void GradientView::paintEvent | ( | QPaintEvent * | e ) |
Invoked when the widget should redraw itself. Redraws the widget using paint().
e | the event causing the widget to redraw itself |
Definition at line 9 of file gradientview.cpp.
QSize GradientView::sizeHint | ( | ) | const |
Definition at line 27 of file gradientview.cpp.