Engauge Digitizer  2
Public Member Functions | List of all members
ViewSegmentFilter Class Reference

Class that displays the current Segment Filter in a MainWindow toolbar. More...

#include <ViewSegmentFilter.h>

Inheritance diagram for ViewSegmentFilter:

Public Member Functions

 ViewSegmentFilter (QWidget *parent=0)
 Single constructor.
 
virtual void paintEvent (QPaintEvent *event)
 Paint with a horizontal linear gradient.
 
void setColorFilterSettings (const ColorFilterSettings &colorFilterSettings, const QPixmap &pixmap)
 Apply the color filter of the currently selected curve. The pixmap is included so the background color can be computed.
 
void setEnabled (bool enabled)
 Show the style with semi-transparency or full-transparency to indicate if associated Curve is active or not.
 
void unsetColorFilterSettings ()
 Apply no color filter.
 

Detailed Description

Class that displays the current Segment Filter in a MainWindow toolbar.

A gradient is displayed. No border is drawn so the appearance is consistent with ViewPointStyle which would not work with a border.

Definition at line 18 of file ViewSegmentFilter.h.


The documentation for this class was generated from the following files: