#include <ColorBar.h>
Public Member Functions | |
| ColorBar (QWidget *parent=0) | |
| ~ColorBar () | |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *) |
| void | keyReleaseEvent (QKeyEvent *) |
| void | mouseMoveEvent (QMouseEvent *) |
| void | mousePressEvent (QMouseEvent *) |
| void | mouseReleaseEvent (QMouseEvent *) |
| void | paintEvent (QPaintEvent *) |
| void | resizeEvent (QResizeEvent *) |
| void | setColorMsg (const te::color::RGBAColor &color, const double &pos) |
| void | wheelEvent (QWheelEvent *) |
Private Attributes | |
| bool | m_capsLock |
| te::color::RGBAColor | m_color |
| te::color::ColorBar * | m_colorBar |
| QString | m_colorMsg |
| QString | m_colorMsg2 |
| QString | m_colorMsg3 |
| QString | m_colorMsg4 |
| double | m_copypos |
| double | m_editPos |
| int | m_height |
| int | m_hoffset |
| int | m_key |
| QPoint | m_point |
| QPolygon * | m_pol |
| double | m_pos |
| int | m_slices |
| int | m_voffset |
| int | m_width |
Definition at line 6 of file examples/colorbar/ColorBar.h.
| ColorBar::ColorBar | ( | QWidget * | parent = 0 | ) |
Definition at line 40 of file examples/colorbar/ColorBar.cpp.
References m_pol.
| ColorBar::~ColorBar | ( | ) |
Definition at line 66 of file examples/colorbar/ColorBar.cpp.
References m_pol.
|
protected |
Definition at line 322 of file examples/colorbar/ColorBar.cpp.
References te::color::ColorBar::getColorMap(), m_color, m_colorBar, m_colorMsg, m_editPos, and m_key.
|
protected |
Definition at line 378 of file examples/colorbar/ColorBar.cpp.
References m_capsLock.
|
protected |
Definition at line 71 of file examples/colorbar/ColorBar.cpp.
References dx, te::color::ColorBar::getBarSize(), te::color::ColorBar::getColorMap(), m_color, m_colorBar, m_colorMsg, m_colorMsg2, m_colorMsg3, m_colorMsg4, m_copypos, m_editPos, m_height, m_hoffset, m_pol, m_pos, m_slices, m_voffset, m_width, te::color::ColorBar::move(), and setColorMsg().
|
protected |
Definition at line 188 of file examples/colorbar/ColorBar.cpp.
References te::color::ColorBar::addColor(), dx, te::color::ColorBar::getBarSize(), te::color::ColorBar::getColorMap(), m_color, m_colorBar, m_colorMsg, m_colorMsg2, m_colorMsg3, m_colorMsg4, m_editPos, m_height, m_hoffset, m_pol, m_pos, m_voffset, m_width, p, te::color::ColorBar::remove(), and setColorMsg().
|
protected |
Definition at line 316 of file examples/colorbar/ColorBar.cpp.
|
protected |
Definition at line 636 of file examples/colorbar/ColorBar.cpp.
References te::color::RGBAColor::getAlpha(), te::color::ColorBar::getBarSize(), te::color::RGBAColor::getBlue(), te::color::ColorBar::getColorBar(), te::color::ColorBar::getColorMap(), te::color::RGBAColor::getGreen(), te::color::RGBAColor::getRed(), te::color::ColorBar::getSlices(), m_colorBar, m_colorMsg, m_colorMsg2, m_colorMsg3, m_colorMsg4, m_height, m_hoffset, m_pol, m_slices, m_voffset, and m_width.
|
protected |
Definition at line 625 of file examples/colorbar/ColorBar.cpp.
References m_colorBar, m_height, m_hoffset, m_width, and te::color::ColorBar::setBarSize().
|
protected |
Definition at line 724 of file examples/colorbar/ColorBar.cpp.
References b, te::color::RGBAColor::getAlpha(), te::color::RGBAColor::getBlue(), te::color::ColorTransform::getCmyk(), te::color::RGBAColor::getGreen(), te::color::ColorTransform::getHsl(), te::color::ColorTransform::getHsv(), te::color::RGBAColor::getRed(), m_colorMsg, m_colorMsg2, m_colorMsg3, m_colorMsg4, m_key, and te::color::ColorTransform::setRgba().
Referenced by mouseMoveEvent(), mousePressEvent(), and wheelEvent().
|
protected |
Definition at line 389 of file examples/colorbar/ColorBar.cpp.
References b, te::color::ColorBar::changeColor(), d, te::color::RGBAColor::getAlpha(), te::color::ColorBar::getBarSize(), te::color::RGBAColor::getBlue(), te::color::ColorBar::getColorMap(), te::color::RGBAColor::getGreen(), te::color::ColorTransform::getHsl(), te::color::RGBAColor::getRed(), te::color::RGBAColor::getRgba(), m_capsLock, m_color, m_colorBar, m_colorMsg, m_copypos, m_height, m_hoffset, m_key, m_pol, m_slices, m_voffset, m_width, and setColorMsg().
|
private |
Definition at line 35 of file examples/colorbar/ColorBar.h.
Referenced by keyReleaseEvent(), and wheelEvent().
|
private |
Definition at line 26 of file examples/colorbar/ColorBar.h.
Referenced by keyPressEvent(), mouseMoveEvent(), mousePressEvent(), and wheelEvent().
|
private |
Definition at line 25 of file examples/colorbar/ColorBar.h.
Referenced by keyPressEvent(), mouseMoveEvent(), mousePressEvent(), paintEvent(), resizeEvent(), and wheelEvent().
|
private |
Definition at line 40 of file examples/colorbar/ColorBar.h.
Referenced by keyPressEvent(), mouseMoveEvent(), mousePressEvent(), paintEvent(), setColorMsg(), and wheelEvent().
|
private |
Definition at line 41 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), and setColorMsg().
|
private |
Definition at line 42 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), and setColorMsg().
|
private |
Definition at line 43 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), and setColorMsg().
|
private |
Definition at line 38 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mouseReleaseEvent(), and wheelEvent().
|
private |
Definition at line 37 of file examples/colorbar/ColorBar.h.
Referenced by keyPressEvent(), mouseMoveEvent(), and mousePressEvent().
|
private |
Definition at line 31 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), resizeEvent(), and wheelEvent().
|
private |
Definition at line 32 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), resizeEvent(), and wheelEvent().
|
private |
Definition at line 34 of file examples/colorbar/ColorBar.h.
Referenced by keyPressEvent(), setColorMsg(), and wheelEvent().
|
private |
Definition at line 29 of file examples/colorbar/ColorBar.h.
|
private |
Definition at line 39 of file examples/colorbar/ColorBar.h.
Referenced by ColorBar(), mouseMoveEvent(), mousePressEvent(), paintEvent(), wheelEvent(), and ~ColorBar().
|
private |
Definition at line 36 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 28 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), paintEvent(), and wheelEvent().
|
private |
Definition at line 33 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), and wheelEvent().
|
private |
Definition at line 30 of file examples/colorbar/ColorBar.h.
Referenced by mouseMoveEvent(), mousePressEvent(), paintEvent(), resizeEvent(), and wheelEvent().