class KGradientSelector

The KGradientSelector widget allows the user to choose from a one-dimensional range of colors which is given as a gradient between two colors provided by the programmer. More...

Definition#include <kselect.h>
InheritsKSelector
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

The KGradientSelector widget allows the user to choose from a one-dimensional range of colors which is given as a gradient between two colors provided by the programmer.

 KGradientSelector ( QWidget *parent=0, const char *name=0 )

Constructs a horizontal color selector which contains a gradient between white and black.

 KGradientSelector ( Orientation o, QWidget *parent=0, const char *name=0 )

Constructs a colors selector with orientation o which contains a gradient between white and black.

KGradientSelector ()

Destructs the widget.

void  setColors ( const QColor &col1, const QColor &col2 )

Sets the two colors which span the gradient.

void  drawContents ( QPainter * )

[protected virtual]

@reimplemented

Reimplemented from KSelector


Generated by: ssk@tauon.ph.unimelb.EDU.AU on Wed May 23 04:29:58 2001, using kdoc 2.0a35.