#include <ColorPicker.h>
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 |
Definition at line 8 of file ColorPicker.h.
ColorPicker::ColorPicker | ( | QWidget * | parent = 0 |
) |
ColorPicker::~ColorPicker | ( | void | ) |
Definition at line 12 of file ColorPicker.cpp.
QColor ColorPicker::getColor | ( | ) |
Definition at line 16 of file ColorPicker.cpp.
Referenced by TransferFunction::mouseDoubleClickEvent().
void ColorPicker::setColor | ( | QColor | color | ) |
Definition at line 21 of file ColorPicker.cpp.
Referenced by TransferFunction::mouseDoubleClickEvent().
bool ColorPicker::startPicker | ( | ) |
Definition at line 28 of file ColorPicker.cpp.
Referenced by TransferFunction::mouseDoubleClickEvent().
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().