SciDAVis  1.D4
Public Member Functions | Protected Slots | Private Attributes
ColorMapEditor Class Reference

#include <ColorMapEditor.h>

List of all members.

Public Member Functions

QwtLinearColorMap colorMap ()
 ColorMapEditor (QWidget *parent=0)
void setColorMap (const QwtLinearColorMap &map)
void setRange (double min, double max)

Protected Slots

void deleteLevel ()
void enableButtons (int row, int col, int=0, int=0)
bool eventFilter (QObject *object, QEvent *e)
void insertLevel ()
void setScaledColors (bool scale=true)
void showColorDialog (int row, int col)
void updateColorMap ()
void validateLevel (int row, int col)

Private Attributes

QwtLinearColorMap color_map
 Color map object.
QPushButton * deleteBtn
QPushButton * insertBtn
double max_val
double min_val
 Levels range.
QCheckBox * scaleColorsBox
QTableWidget * table

Constructor & Destructor Documentation

ColorMapEditor::ColorMapEditor ( QWidget *  parent = 0)

Member Function Documentation

QwtLinearColorMap ColorMapEditor::colorMap ( )
inline

References color_map.

Referenced by PlotDialog::acceptParams().

void ColorMapEditor::deleteLevel ( )
protectedslot

References enableButtons(), table, and updateColorMap().

Referenced by ColorMapEditor().

void ColorMapEditor::enableButtons ( int  row,
int  col,
int  = 0,
int  = 0 
)
protectedslot

References deleteBtn, insertBtn, and table.

Referenced by ColorMapEditor(), deleteLevel(), and insertLevel().

bool ColorMapEditor::eventFilter ( QObject *  object,
QEvent *  e 
)
protectedslot

References showColorDialog(), and table.

void ColorMapEditor::insertLevel ( )
protectedslot
void ColorMapEditor::setColorMap ( const QwtLinearColorMap &  map)
void ColorMapEditor::setRange ( double  min,
double  max 
)

References max_val, and min_val.

Referenced by PlotDialog::setActiveCurve().

void ColorMapEditor::setScaledColors ( bool  scale = true)
protectedslot

References color_map.

Referenced by ColorMapEditor(), and updateColorMap().

void ColorMapEditor::showColorDialog ( int  row,
int  col 
)
protectedslot

References table, and updateColorMap().

Referenced by ColorMapEditor(), and eventFilter().

void ColorMapEditor::updateColorMap ( )
protectedslot
void ColorMapEditor::validateLevel ( int  row,
int  col 
)
protectedslot

References color_map, max_val, min_val, and table.

Referenced by ColorMapEditor().


Member Data Documentation

QwtLinearColorMap ColorMapEditor::color_map
private
QPushButton * ColorMapEditor::deleteBtn
private

Referenced by ColorMapEditor(), and enableButtons().

QPushButton* ColorMapEditor::insertBtn
private

Referenced by ColorMapEditor(), and enableButtons().

double ColorMapEditor::max_val
private
double ColorMapEditor::min_val
private
QCheckBox* ColorMapEditor::scaleColorsBox
private
QTableWidget* ColorMapEditor::table
private

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