#include <qwt_clrfltr.h>
Inherited by QwtFltrDim, QwtFltrGray, and QwtFltrInv.
Inheritance diagram for QwtColorFilter
Public Methods | |
virtual | ~QwtColorFilter () |
virtual QColor | operator() (const QColor& c) const |
A color filter is a class which can be used to modify colors in a specific way. A QwtColorFilter has an @QwtColorFilter::operator()@ which takes a reference to a QColor as its argument and returns the result of the modification. The QwtColorFilter class itself does not modify colors, but is intended as a base class for user-defined color filters. Building a color filter is quite easy: Derive a class from QwtColorFilter and redefine the operator() member. Qwt has several pre-defined color filters (see below).
Color filters are used by QwtPlot::print().
|
Dtor.
|
|
Filter function.
The filter function can be redefined by derived classes.
Reimplemented in QwtFltrDim, QwtFltrGray, and QwtFltrInv. |