Public Member Functions

GradientView Class Reference

A widget displaying a color gradient. More...

#include <gradientview.h>

List of all members.

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

Detailed Description

A widget displaying a color gradient.

Definition at line 11 of file gradientview.h.


Constructor & Destructor Documentation

GradientView::GradientView ( RenderingView renderingView,
QWidget *  parent = 0 
) [explicit]

Default constructor.

Parameters:
renderingViewthe view defining the color gradients
parentparent widget

Definition at line 3 of file gradientview.cpp.


Member Function Documentation

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().

Parameters:
ethe 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.


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