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]
void ColorMapEditor::deleteLevel (  )  [protected, slot]

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

Referenced by ColorMapEditor().

void ColorMapEditor::enableButtons ( int  row,
int  col,
int  = 0,
int  = 0 
) [protected, slot]

References deleteBtn, insertBtn, and table.

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

bool ColorMapEditor::eventFilter ( QObject *  object,
QEvent *  e 
) [protected, slot]

References showColorDialog(), and table.

void ColorMapEditor::insertLevel (  )  [protected, slot]
void ColorMapEditor::setColorMap ( const QwtLinearColorMap &  map  ) 
void ColorMapEditor::setRange ( double  min,
double  max 
)
void ColorMapEditor::setScaledColors ( bool  scale = true  )  [protected, slot]

References color_map.

Referenced by ColorMapEditor(), and updateColorMap().

void ColorMapEditor::showColorDialog ( int  row,
int  col 
) [protected, slot]

References table, and updateColorMap().

Referenced by ColorMapEditor(), and eventFilter().

void ColorMapEditor::updateColorMap (  )  [protected, slot]
void ColorMapEditor::validateLevel ( int  row,
int  col 
) [protected, slot]

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:

Generated on Tue Nov 3 10:48:54 2009 for QtiPlot by  doxygen 1.6.1