ColorBar Class Reference

#include <ColorBar.h>

Inheritance diagram for ColorBar:
QDialog

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::ColorBarm_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
 

Detailed Description

Definition at line 6 of file examples/colorbar/ColorBar.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void ColorBar::keyPressEvent ( QKeyEvent *  e)
protected
void ColorBar::keyReleaseEvent ( QKeyEvent *  e)
protected

Definition at line 378 of file examples/colorbar/ColorBar.cpp.

References m_capsLock.

void ColorBar::mouseReleaseEvent ( QMouseEvent *  )
protected

Definition at line 316 of file examples/colorbar/ColorBar.cpp.

References m_copypos, and m_pos.

void ColorBar::resizeEvent ( QResizeEvent *  e)
protected

Member Data Documentation

bool ColorBar::m_capsLock
private

Definition at line 35 of file examples/colorbar/ColorBar.h.

Referenced by keyReleaseEvent(), and wheelEvent().

te::color::RGBAColor ColorBar::m_color
private
te::color::ColorBar* ColorBar::m_colorBar
private
QString ColorBar::m_colorMsg
private
QString ColorBar::m_colorMsg2
private
QString ColorBar::m_colorMsg3
private
QString ColorBar::m_colorMsg4
private
double ColorBar::m_copypos
private

Definition at line 38 of file examples/colorbar/ColorBar.h.

Referenced by mouseMoveEvent(), mouseReleaseEvent(), and wheelEvent().

double ColorBar::m_editPos
private

Definition at line 37 of file examples/colorbar/ColorBar.h.

Referenced by keyPressEvent(), mouseMoveEvent(), and mousePressEvent().

int ColorBar::m_height
private
int ColorBar::m_hoffset
private
int ColorBar::m_key
private

Definition at line 34 of file examples/colorbar/ColorBar.h.

Referenced by keyPressEvent(), setColorMsg(), and wheelEvent().

QPoint ColorBar::m_point
private

Definition at line 29 of file examples/colorbar/ColorBar.h.

QPolygon* ColorBar::m_pol
private
double ColorBar::m_pos
private

Definition at line 36 of file examples/colorbar/ColorBar.h.

Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

int ColorBar::m_slices
private

Definition at line 28 of file examples/colorbar/ColorBar.h.

Referenced by mouseMoveEvent(), paintEvent(), and wheelEvent().

int ColorBar::m_voffset
private
int ColorBar::m_width
private

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