casa
$Rev:20696$
|
#include <Colorbar.qo.h>
Public Slots | |
void | setRange (float min, float max) |
void | setMinimum (float min) |
void | setMaximum (float min) |
void | setNumColors (int nc) |
void | setColormap (const QString &nm) |
void | changeColor (int, float, float, const QString &) |
Public Member Functions | |
Colorbar (QWidget *parent=0) | |
~Colorbar () | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
void | resizeEvent (QResizeEvent *) |
void | paintEvent (QPaintEvent *event) |
void | refreshBar () |
void | setColorTable () |
void | calcLinearMaps () |
void | getLinearColor (Float &r, Float &g, Float &b, Float v) |
void | getTableColor (Float &r, Float &g, Float &b, Float v) |
Protected Attributes | |
int | numColors |
QString | cmapname |
Vector< Float > | rMap |
Vector< Float > | gMap |
Vector< Float > | bMap |
float | min |
float | max |
Definition at line 15 of file Colorbar.qo.h.
casa::Colorbar::Colorbar | ( | QWidget * | parent = 0 | ) |
void casa::Colorbar::calcLinearMaps | ( | ) | [protected] |
void casa::Colorbar::changeColor | ( | int | , |
float | , | ||
float | , | ||
const QString & | |||
) | [slot] |
void casa::Colorbar::getLinearColor | ( | Float & | r, |
Float & | g, | ||
Float & | b, | ||
Float | v | ||
) | [protected] |
void casa::Colorbar::getTableColor | ( | Float & | r, |
Float & | g, | ||
Float & | b, | ||
Float | v | ||
) | [protected] |
QSize casa::Colorbar::minimumSizeHint | ( | ) | const |
void casa::Colorbar::mouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected] |
void casa::Colorbar::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected] |
void casa::Colorbar::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
void casa::Colorbar::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
void casa::Colorbar::refreshBar | ( | ) | [protected] |
void casa::Colorbar::resizeEvent | ( | QResizeEvent * | ) | [protected] |
void casa::Colorbar::setColormap | ( | const QString & | nm | ) | [slot] |
void casa::Colorbar::setColorTable | ( | ) | [protected] |
void casa::Colorbar::setMaximum | ( | float | min | ) | [slot] |
void casa::Colorbar::setMinimum | ( | float | min | ) | [slot] |
void casa::Colorbar::setNumColors | ( | int | nc | ) | [slot] |
void casa::Colorbar::setRange | ( | float | min, |
float | max | ||
) | [slot] |
QSize casa::Colorbar::sizeHint | ( | ) | const |
Vector<Float> casa::Colorbar::bMap [protected] |
Definition at line 49 of file Colorbar.qo.h.
QString casa::Colorbar::cmapname [protected] |
Definition at line 45 of file Colorbar.qo.h.
Vector<Float> casa::Colorbar::gMap [protected] |
Definition at line 48 of file Colorbar.qo.h.
float casa::Colorbar::max [protected] |
Definition at line 57 of file Colorbar.qo.h.
float casa::Colorbar::min [protected] |
Definition at line 56 of file Colorbar.qo.h.
int casa::Colorbar::numColors [protected] |
Definition at line 44 of file Colorbar.qo.h.
Vector<Float> casa::Colorbar::rMap [protected] |
Definition at line 47 of file Colorbar.qo.h.