7 #ifndef VIEW_SEGMENT_FILTER_H 8 #define VIEW_SEGMENT_FILTER_H 10 #include "ColorFilterSettings.h" 29 const QPixmap &pixmap);
39 QColor colorFromSetting (ColorFilterMode colorFilterMode,
45 QColor colorHigh ()
const;
46 QColor colorLow ()
const;
49 bool m_filterIsDefined;
50 QColor m_rgbBackground;
55 #endif // VIEW_SEGMENT_FILTER_H void setColorFilterSettings(const ColorFilterSettings &colorFilterSettings, const QPixmap &pixmap)
Apply the color filter of the currently selected curve. The pixmap is included so the background colo...
Color filter parameters for one curve. For a class, this is handled the same as LineStyle and PointSt...
Class that displays the current Segment Filter in a MainWindow toolbar.
void setEnabled(bool enabled)
Show the style with semi-transparency or full-transparency to indicate if associated Curve is active ...
ViewSegmentFilter(QWidget *parent=0)
Single constructor.
virtual void paintEvent(QPaintEvent *event)
Paint with a horizontal linear gradient.
void unsetColorFilterSettings()
Apply no color filter.