7 #ifndef VIEW_PROFILE_SCALE_H 8 #define VIEW_PROFILE_SCALE_H 10 #include "ColorFilterMode.h" 34 void paintForeground ();
36 void paintIntensity ();
37 void paintOneSpectrum (
const QColor &colorStart,
38 const QColor &colorStop);
39 void paintSaturation ();
43 ColorFilterMode m_colorFilterMode;
46 #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.