Engauge Digitizer 2
|
Class that displays the current Segment Filter in a MainWindow toolbar. More...
#include <ViewSegmentFilter.h>
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. |
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.
ViewSegmentFilter::ViewSegmentFilter | ( | QWidget * | parent = 0 | ) |
Single constructor.
Definition at line 19 of file ViewSegmentFilter.cpp.
|
virtual |
Paint with a horizontal linear gradient.
Definition at line 160 of file ViewSegmentFilter.cpp.
void ViewSegmentFilter::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.
Definition at line 186 of file ViewSegmentFilter.cpp.
void ViewSegmentFilter::setEnabled | ( | bool | enabled | ) |
Show the style with semi-transparency or full-transparency to indicate if associated Curve is active or not.
Definition at line 203 of file ViewSegmentFilter.cpp.
void ViewSegmentFilter::unsetColorFilterSettings | ( | ) |
Apply no color filter.
Definition at line 214 of file ViewSegmentFilter.cpp.