#include <ColorMapEditor.h>
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 |
ColorMapEditor::ColorMapEditor | ( | QWidget * | parent = 0 |
) |
QwtLinearColorMap ColorMapEditor::colorMap | ( | ) | [inline] |
void ColorMapEditor::deleteLevel | ( | ) | [protected, slot] |
void ColorMapEditor::enableButtons | ( | int | row, | |
int | col, | |||
int | = 0 , |
|||
int | = 0 | |||
) | [protected, slot] |
bool ColorMapEditor::eventFilter | ( | QObject * | object, | |
QEvent * | e | |||
) | [protected, slot] |
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] |
void ColorMapEditor::showColorDialog | ( | int | row, | |
int | col | |||
) | [protected, slot] |
void ColorMapEditor::updateColorMap | ( | ) | [protected, slot] |
void ColorMapEditor::validateLevel | ( | int | row, | |
int | col | |||
) | [protected, slot] |
QwtLinearColorMap ColorMapEditor::color_map [private] |
Color map object.
QPushButton * ColorMapEditor::deleteBtn [private] |
QPushButton* ColorMapEditor::insertBtn [private] |
double ColorMapEditor::max_val [private] |
double ColorMapEditor::min_val [private] |
Levels range.
QCheckBox* ColorMapEditor::scaleColorsBox [private] |
QTableWidget* ColorMapEditor::table [private] |