QwtFltrDim(3)

NAME
QwtFltrDim - This color filter can be used to darken colors.

SYNOPSIS

#include <qwt_clrfltr.h>

Inherits QwtColorFilter.

  Public Methods
QwtFltrDim (int dim=100)
QColor operator() (const QColor &c) const
int dimFactor () const

DETAILED DESCRIPTION

This color filter can be used to darken colors.

CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

  QwtFltrDim::QwtFltrDim (int factor = 100)

ctor.

 QwtFltrDim uses QColor::dark() (See Qt Manual)

Parameters:

factor
    Darkening factor. A factor greater than 100 produces a darker color, a factor smaller than 100 produces a brighter color.

MEMBER FUNCTION DOCUMENTATION

  int QwtFltrDim::dimFactor () const

Returns:
dim factor

  QColor QwtFltrDim::operator() (const QColor & c) const [virtual]

Filter function.

 Darkens or brightens a specified color. The behaviour of the filter is influenced by the constructor argument.

See also:
QwtFltrDim::QwtFltrDim()

Reimplemented from QwtColorFilter.

AUTHOR

Generated automatically by Doxygen for Qwt User's Guide from the source code.