Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ViewProfileScale Class Reference

Linear horizontal scale, with the spectrum reflecting the active filter parameter. More...

#include <ViewProfileScale.h>

Inheritance diagram for ViewProfileScale:

Public Member Functions

 ViewProfileScale (int minimumWidth, QWidget *parent=0)
 Single constructor.
 
virtual void paintEvent (QPaintEvent *)
 Draw the gradient.
 
void setBackgroundColor (QRgb rgbBackground)
 Save the background color for foreground calculations.
 
void setColorFilterMode (ColorFilterMode colorFilterMode)
 Change the gradient type.
 

Detailed Description

Linear horizontal scale, with the spectrum reflecting the active filter parameter.

Definition at line 16 of file ViewProfileScale.h.

Constructor & Destructor Documentation

◆ ViewProfileScale()

ViewProfileScale::ViewProfileScale ( int  minimumWidth,
QWidget *  parent = 0 
)
explicit

Single constructor.

Definition at line 11 of file ViewProfileScale.cpp.

Member Function Documentation

◆ paintEvent()

void ViewProfileScale::paintEvent ( QPaintEvent *  event)
virtual

Draw the gradient.

Definition at line 19 of file ViewProfileScale.cpp.

◆ setBackgroundColor()

void ViewProfileScale::setBackgroundColor ( QRgb  rgbBackground)

Save the background color for foreground calculations.

Definition at line 123 of file ViewProfileScale.cpp.

◆ setColorFilterMode()

void ViewProfileScale::setColorFilterMode ( ColorFilterMode  colorFilterMode)

Change the gradient type.

Definition at line 128 of file ViewProfileScale.cpp.


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