1 #ifndef VIEW_PROFILE_SCALE_H
2 #define VIEW_PROFILE_SCALE_H
4 #include "ColorFilterMode.h"
28 void paintForeground ();
30 void paintIntensity ();
31 void paintOneSpectrum (
const QColor &colorStart,
32 const QColor &colorStop);
33 void paintSaturation ();
37 ColorFilterMode m_colorFilterMode;
40 #endif // VIEW_PROFILE_SCALE_H
void setBackgroundColor(QRgb rgbBackground)
Save the background color for foreground calculations.
ViewProfileScale(int minimumWidth, QWidget *parent=0)
Single constructor.
Linear horizontal scale, with the spectrum reflecting the active filter parameter.
void setColorFilterMode(ColorFilterMode colorFilterMode)
Change the gradient type.
virtual void paintEvent(QPaintEvent *)
Draw the gradient.