ColorPicker Class Reference

#include <ColorPicker.h>

List of all members.

Public Member Functions

 ColorPicker (QWidget *parent=0)
 ~ColorPicker (void)
QColor getColor ()
bool startPicker ()
void setColor (QColor color)

Private Attributes

int r
int g
int b


Detailed Description

Definition at line 8 of file ColorPicker.h.


Constructor & Destructor Documentation

ColorPicker::ColorPicker ( QWidget *  parent = 0  ) 

Definition at line 3 of file ColorPicker.cpp.

References b, g, and r.

ColorPicker::~ColorPicker ( void   ) 

Definition at line 12 of file ColorPicker.cpp.


Member Function Documentation

QColor ColorPicker::getColor (  ) 

Definition at line 16 of file ColorPicker.cpp.

References b, g, and r.

Referenced by TransferFunction::mouseDoubleClickEvent().

void ColorPicker::setColor ( QColor  color  ) 

Definition at line 21 of file ColorPicker.cpp.

References b, g, and r.

Referenced by TransferFunction::mouseDoubleClickEvent().

bool ColorPicker::startPicker (  ) 

Definition at line 28 of file ColorPicker.cpp.

References b, g, and r.

Referenced by TransferFunction::mouseDoubleClickEvent().


Member Data Documentation

int ColorPicker::b [private]

Definition at line 20 of file ColorPicker.h.

Referenced by ColorPicker(), getColor(), setColor(), and startPicker().

int ColorPicker::g [private]

Definition at line 20 of file ColorPicker.h.

Referenced by ColorPicker(), getColor(), setColor(), and startPicker().

int ColorPicker::r [private]

Definition at line 20 of file ColorPicker.h.

Referenced by ColorPicker(), getColor(), setColor(), and startPicker().


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

Generated on Wed Dec 10 13:50:14 2008 for Tido Visualization by  doxygen 1.5.7.1